![]() Firstly, VLC mangled the order completely, even after sorting out the filenames, goodness knows why. When I tried to export everything from one podcast directly from gpodder to play and queue up nicely in a player, all my players were messing up. I have also solved the other thing that was bugging me. Ha ha ha! All working fine now :~)īy the way, in case this is something you ever get asked about. My decision whether to use gpodder probably depends on getting this to work!ĭ'oh, there was me going all the way to look at the source code while missing the first button. So I put them back to False, as you can see in the picture below. ![]() I didn't crash the program, but that didn't work. I don't know python, but just as an experiment I tried setting those DefaultConfig bits to True rather than False. ![]() I've even been rummaging around in the program files, and found this rename_download.py, which I assume is where this stuff is supposed to happen. I restarted the program, even restarted the computer (for whatever difference that might make - none, I assume), but none of that was any good. Well, I thought that would work, but it doesn't. So, I went onto the preferences, and found this screen, and ticked these boxes (as shown in this image): But one thing that I really do want it to be able to do is to rename files by date, for obvious enough reasons to do with continuity of listening (and whyyyyyy don't broadcasters think of this? but that's not our issue here.) It's not so ambitious, not trying to do everything, which is fair enough, and which I understand. So that is clearly out of the game for me. I tried Media Monkey, but that seems like it's trying to do too much, and the worst thing was that it was systematically downloading podcasts more than once, without any apparent checking for duplicates. I used to use Miro, which was great it its peak, but is clearly in ruins now. ![]() New_basename = prefix + util.sanitize_encoding(title) + extįor filename in util.Hi, I'm a bit of a podcast addict, and am surprised - no, dismayed - at how few reliable options there are out there. Prefix = time.strftime("%y%m%d-", time.localtime()) New_filename = os.path.join(dirname, new_basename)įor filename in util.generate_names(new_filename): New_basename = util.sanitize_filename(new_basename, # On Windows, force ASCII encoding for filenames (bug 1724) New_basename = util.sanitize_encoding(title) + ext Util.rename_episode_file(episode, new_filename)ĭef make_filename(self, current_filename, title):ĭirname = os.path.dirname(current_filename)įilename = os.path.basename(current_filename)īasename, ext = os.path.splitext(filename) Os.rename(current_filename, new_filename) ('Renaming: %s -> %s', current_filename, new_filename) New_filename = self.make_filename(current_filename, episode.title) _authors_ = 'Bernd Schlapsi, Thomas Perl 'ĭef on_episode_downloaded(self, episode):Ĭurrent_filename = episode.local_filename(create=False) _description_ = _('Rename episodes to "." on download') _title_ = _('Rename episodes after download') # Licensed under the same terms as gPodder itself # Rename files after download based on the episode title usr/share/gpodder/extensions/rename_download.py Is it possible to prefix "." with "date +%y%m%d-". Gpodder has an extension () in python to rename episodes to "." on download. I use gpodder to download and transfer podcasts to my sansa clip sport. Firstly let me say I know little coding besides basic shell scripts.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |