Gpodder wont download4/17/2023 ![]() ![]() You can see more about the above settings on the Rockbox website on the page titled: 8 General Settings. NOTE: the "Sort files" can also be set to "By Newest Date". Sort Directories - set to *Alphabetical".Rockbox -> Settings -> General Settings -> File View These settings are under the menu hierarchy: You can also sort directories based on their name. An alternative - Sorting in RockboxĪn alternative to renaming the files with a date prefixed is to configure Rockbox so that it sorts files based on their date. Once we've calculated the YYMMDD we use a simple mv command to rename the file. This is a SQLite database file and can be edited with any appropriate software (I use SQLite Browser). date "%Y%m%d" -date The sign is important, it tells the date command that we're giving it seconds. gPodder stores podcast-feeds info in a file named Database. This number of seconds is then used by the date command to determine the YYNNDD time for those seconds. %Z Time of last change as seconds since Epoch The above technique is using the stat command to get the files' time of the last change in seconds since Epoch. Now the files are named like so: $ ls | paste. Run the above command as a one liner: $ for i in *.mp4 do dateString=$(date "%Y%m%d" \ If you simply want to rename the files so that they include the YYMMDD_Podcast_Name.mp4 you can do so using this Bash script: $ for i in *.mp4 doĭateString=$(date "%Y%m%d" -date -c %Z "$i")) It would be nice if this could be the episode's release date instead, but I'm already happy with just adding the current date. How can I get this done? Note that in my example, the only thing that gets added to the title is the current date. Line 45: new_filename = str(().strftime("%Y%b%d_")) os.path.join(dirname, new_basename) The idea of stepping out into nature to enhance health and healing dates back. I tried to modify this extension in /usr/share/gpodder/extensions/rename_download.py: He adds that getting away from ubiquitous electronic devices cant hurt. ![]() How can I get this done? I know that there is a plugin called rename_downlad.py, which will convert the podcast name to. That way, even when sorting alphabetically, the podcasts would be in the right order. To overcome this, I'd like to change the podcast name right after downloading to something like:Ģ0130828_Easy_Linux_Remote_Desktop_LAS_s28e03.mp4 The thing is, the podcasts don't get sorted nicely on my iPod: everything will be sorted alphabetically. To listen to my podcasts, I'm using Rockbox on my iPod Classic. ![]()
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |