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. The dual-pane interface consists of the podcast feeds towards the left and episode details on the right. The built-in service keeps your subscriptions and playback progress in sync. With it, you can play audio and video files from RSS, YouTube, and SoundCloud. Once we've calculated the YYMMDD we use a simple mv command to rename the file. gPodder is an open-source podcast client for Windows 10. date "%Y%m%d" -date The sign is important, it tells the date command that we're giving it seconds. 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) I tried to modify this extension in /usr/share/gpodder/extensions/rename_download.py: 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. No Link Aggregators - If there's an article within an aggregation of links/stories or a newsletter, link to the actual story or article.To listen to my podcasts, I'm using Rockbox on my iPod Classic. Drive-by posts from accounts where there is obviously no intention of engaging in the following discussion may be removed. No Drive-By Posting / Karma Farming - Karma farm accounts are not going to be welcome here, regardless of the validity of the posted content. You're more than welcome to post a comment in the thread that states your opinion of said article. 0:43:34 what podcasts are you listening to via mashstartup. 0:22:20 the revolution must be an inside job 0:27:09 what is a black owned business 0:37:44 the crazy world of influencers. No Sensationalized Titles - If your post is a link to an article, please keep your post title as close to, if not the same as, the linked article's title. 0:06:14 the cost living black taxi fare hike not justifiable. Please keep those kinds of posts in those subs.īe On-Topic - Posts should be of direct relevance to the open source community. There are literally hundreds of other subs dedicated to memes and shitposting. No Memes/Low-Effort posts - This sub is a place for discussion and news regarding the world of open source projects. "It's perfectly fine to be a redditor with a website, it's not okay to be a website with a reddit account." We're a little more forgiving, but don't take advantage of it. Reddit recommends that <10% of your posts promote your content. We encourage you to be proud of/promote your work to a degree, but we also don't want users using this sub as a link farm to promote their project/website/YouTube channel. No Spam / Excessive self-promotion - Reddit has clear rules about self promotion. For a refresher, please see Reddit's entry on Reddiquette as a general guideline. Hate speech of any kind will not be tolerated. Please refrain from talking down to people, being overly patronizing, name-calling, personal insults, etc. We'd much appreciate it if this wasn't a place where that happens. People can unnecessarily be jerks sometimes. WTF with Marc Maron is a weekly podcast and radio show hosted by stand-up comedian Marc Maron. Looking to contribute? Try Up For Grabs Rulesīe Respectful - This shouldn't need to be a rule, but this is the internet. A subreddit for everything open source related.
0 Comments
Leave a Reply. |