Menu

Add a podcast

Help
2006-12-17
2013-04-07
  • marc_in_lux

    marc_in_lux - 2006-12-17

    Hello --

    Please help me understand what the smart way is to add a podcast to podget. I've been adding the link to my serverlist and thought calling podget.sh -r 1 would do the trick: download the latest podcast and discard all the old ones in the xml file.

    However -r 1 seems to do a different thing, it goes on downloading old files. Some xml files seem to show all podcasts of the series, and this can lead to a multi-hour long download session, with tons of old and unwanted files.

    So, how are you getting around that?

    Regards,
    Marc

     
    • Dave Vehrs

      Dave Vehrs - 2006-12-24

      Overall what you're doing is correct and you're right many RSS feeds include ALL old episodes which can be difficult to manage. 

      The -r or --recent option will download only the first [NUM] enclosure listed and then marks every enclosure after that as already downloaded.  OR thats how it should work and appears to here.  If you've found a podcast that it does not work this way on, please let me know which one it is and I'll take a look at it. 

      NOTE:  The -r / --recent option assumes the first enclosure listed is the most recent.  That is not always true.  Some people place the oldest first so that is what you will get, but it should still only download [NUM] enclosures and mark the rest as downloaded.

      You may also want to look at the $POD_LIBRARY_DIR/.LOG/done file to be sure that the old downloads are being marked as done.  Thats what controls what has been and what will be downloaded.

      Thanks for the continued interest in Podget and have a Merry Christmas!

       
    • marc_in_lux

      marc_in_lux - 2006-12-24

      Dave --

      The podcast I originally had trouble with is at http://wissenschaft.wanhoff.de/podcast.xml - another one I tried that doesn't work is http://www.infotainment-podcast.de/erfindungen/?feed=rss2

      Thanks

       
      • Dave Vehrs

        Dave Vehrs - 2006-12-26

        Marc,

        OK, I added these two feeds to my serverlist as follows:

        http://wissenschaft.wanhoff.de/podcast.xml testing marc1
        http://www.infotainment-podcast.de/erfindungen/?feed=rss2 testing marc2

        So that the two podcasts were in category "testing" and named "marc1" and "marc2".

        I then ran:  podget.sh -r 1

        Which produced the following output for the two:

        -------------------------------------------------
        Category: testing               Name: marc1
        Downloading feed index from http://wissenschaft.wanhoff.de/podcast.xml
        09:46:39 URL:http://wissenschaft.wanhoff.de/podcast.xml [40040] -> "-" [1]

        Downloading wwww-2006-12-24.mp3 from http://www.audioads.de/files/2074/
        09:47:34 URL:http://www.audioads.de/files/2074/wwww-2006-12-24.mp3 [8148096/8148096] -> "/mnt/data/POD/testing/marc1/wwww-2006-12-24.mp3" [1]
        Marking as already dowloaded wwww-2006-12-17.mp3.
        Marking as already dowloaded wwww-2006-12-8.mp3.
        Marking as already dowloaded wwww-2006-12-03.mp3.
        Marking as already dowloaded wwww-2006-11-25.mp3.
        Marking as already dowloaded wwww-2006-11-19.mp3.
        Marking as already dowloaded wwww-2006-11-11.mp3.
        Marking as already dowloaded wwww-2006-11-04.mp3.
        Marking as already dowloaded WWWW-2006-10-29.mp3.
        Marking as already dowloaded wwww-2006-10-22.m4v.
        Marking as already dowloaded wwww-2006-10-15.mp3.
        Marking as already dowloaded wwww-2006-10-08.mp3.
        Marking as already dowloaded wwww-2006-10-01.mp3.
        Marking as already dowloaded wwww-2006-06-24.mp3.
        Marking as already dowloaded wwww-2006-09-17.mp3.
        Marking as already dowloaded wwww-2006-09-10.mp3.
        Marking as already dowloaded wwww-2006-09-03.mp3.
        Marking as already dowloaded wwww-2006-08-27.mp3.
        Marking as already dowloaded wwww-2006-08-20.mp3.
        Marking as already dowloaded wwww-2006-08-13.mp3.

        -------------------------------------------------
        Category: testing               Name: marc2
        Downloading feed index from http://www.infotainment-podcast.de/erfindungen/?feed=rss2
        09:47:36 URL:http://www.infotainment-podcast.de/erfindungen/?feed=rss2 [14950] -> "-" [1]

        Downloading Infotainment Podcast X-Mas.mp3 from http://www.infotainment-podcast.de/erfindungen/wp-content/uploads/
        09:48:32 URL:http://www.infotainment-podcast.de/erfindungen/wp-content/uploads/Infotainment%20Podcast%20X-Mas.mp3 [8641931/8641931] -> "/mnt/data/POD/testing/marc2/Infotainment Podcast X-Mas.mp3" [1]
        Marking as already dowloaded Infotainment Podcast 004.mp3.
        Marking as already dowloaded Infotainment Podcast 003.mp3.
        Marking as already dowloaded Infotainment Podcast 002.mp3.
        Marking as already dowloaded Infotainment Podcast 001.mp3.

        Which except for the misspelled "dowloaded" is exactly how it should work.  Are you getting something different?  Are you sure you're using the latest version of podget?

         
    • marc_in_lux

      marc_in_lux - 2006-12-26

      Dave --

      My proceeding was exactly the same, with the difference that I tried to download the 2 most recent files.

      It always tries to download all files in the feed (which I usually CTRL-C out of)

      My podget.sh does not have a version number, however it says the latest change is May 22nd.

      Here's my podgetrc without the #comment lines:

      config_serverlist=serverlist
      dir_library=/mnt/music/
      dir_log=/root/POD/LOG
      log_fail=errors
      log_comp=done
      date_format=+%m-%d-%Y
      wget_baseopts=-c -nH --limit-rate=50k
      most_recent=0
      force=0
      cleanup=0
      cleanup_days=15
      filename_replacechar=_

       

Log in to post a comment.