Flim;153116 Wrote: 
> 
> But the solution is no option for me. It's to difficult first to
> download the file as mp3 and then upload it to the slimserver (I'm
> using a NAS).

..unless you do that automatically. I have a script that downloads my
favourite podcasts, drops them to a folder using a clever filename,
keeps an archive of older ones and deletes ancient ones. Then I used
"Browse Music Folder" to listen to the podcasts, the most recent one is
always the last one in the list. This is run on boot of my diskstation
and every couple of hours from a cron job. It works beautifully and
wastes a lot of bandwith and diskspace :-)

Btw, there are countless such scripts/programs out there. For windoze,
apple, etc. in perl, in python, with gui or without.

What NAS do you have? If it's a Diskstation with SSODS, then you can
use that script too. It's called podcast.sh (and it's included in
SSODS) and there's even some documentation. If your NAS is based on
Linux and has a bash and a few other standard binaries, it will run on
it as well.

It's available on my page (see signature).

flip

Example run of podcast.sh:

Code:
--------------------
    
  *** flipflip's podcast.sh ***
  
  Configuration file: podcast-drs.conf
  
  Podcast folder:  /tmp/Podcasts/DRS
  Podcast archive: /tmp/Podcasts/ZZ_archive/DRS
  
  Starting... (2006-11-07 16.39)
  
  Input (keep 12, archive 104) ... OK, 1 URLs.
  No new podcasts found.
  
  Peter_Schneider (keep 12, archive 12) ... OK, 5 URLs.
  No new podcasts found.
  
  Echo_der_Zeit (keep 30, archive 30) ... OK, 5 URLs.
  No new podcasts found.
  
  Rendez-Vous (keep 30, archive 30) ... OK, 5 URLs.
  No new podcasts found.
  
  Tagesgespräch (keep 30, archive 30) ... OK, 5 URLs.
  No new podcasts found.
  
  Kontext (keep 30, archive 30) ... OK, 5 URLs.
  No new podcasts found.
  
  Reflexe (keep 30, archive 30) ... OK, 5 URLs.
  No new podcasts found.
  
  Focus (keep 12, archive 12) ... OK, 2 URLs.
  Focus_2006-10-30.mp3: downloading .. FAILED!
  
  Digital_Plus (keep 12, archive 12) ... OK, 5 URLs.
  No new podcasts found.
  
  Heutemorgen (keep 12, archive 12) ... OK, 5 URLs.
  No new podcasts found.
  
  International (keep 12, archive 12) ... OK, 5 URLs.
  No new podcasts found.
  
  Samstagsrundschau (keep 12, archive 12) ... OK, 5 URLs.
  No new podcasts found.
  
  Trend (keep 12, archive 12) ... OK, 5 URLs.
  Trend_2006-10-21.mp3: downloading .. OK, 16 MB (8491 kb/s), tagging .. OK.
  Trend_2006-10-27.mp3: downloading .. OK, 17 MB (3496 kb/s), tagging .. OK.
  Trend_2006-11-03.mp3: downloading .. OK, 16 MB (2425 kb/s), tagging .. OK.
  
  [some output deleted..]
  
  Hörpunkt (keep 12, archive 12) ... OK, 5 URLs.
  Hörpunkt_2006-09-24.mp3: downloading .. OK, 24 MB (830 kb/s), tagging .. OK.
  Hörpunkt_2006-10-01.mp3: downloading .. FAILED!
  Hörpunkt_2006-10-08.mp3: downloading .. OK, 24 MB (758 kb/s), tagging .. OK.
  Hörpunkt_2006-10-15.mp3: downloading .. OK, 24 MB (697 kb/s), tagging .. OK.
  Hörpunkt_2006-10-29.mp3: downloading .. OK, 24 MB (646 kb/s), tagging .. OK.
  
  Stats: 17 podcasts in 39 seconds, 301 MB at 920 kb/s.
  
  All done :-)
  
--------------------


After that there is a folder hierarchy that looks something like this:


Code:
--------------------
    
  [EMAIL PROTECTED] ~/tmp/podcast $ cd /tmp/Podcasts/
  [EMAIL PROTECTED] /tmp/Podcasts $ ls -lR
  .:
  insgesamt 8
  drwxr-x---  18 flip ggl 4096 2006-11-07 16:39 DRS/
  drwxr-x---   3 flip ggl 4096 2006-11-07 16:31 ZZ_archive/
  
  ./DRS:
  insgesamt 7376
  drwxr-x---  2 flip ggl    4096 2006-11-07 16:39 Atlas/
  drwxr-x---  2 flip ggl    4096 2006-11-07 16:38 Digital_Plus/
  drwxr-x---  2 flip ggl    4096 2006-11-07 16:37 Echo_der_Zeit/
  drwxr-x---  2 flip ggl    4096 2006-11-07 16:39 Focus/
  drwxr-x---  2 flip ggl    4096 2006-11-07 16:38 Heutemorgen/
  drwxr-x---  2 flip ggl    4096 2006-11-07 16:40 Hörpunkt/
  drwxr-x---  2 flip ggl    4096 2006-11-07 16:37 Input/
  drwxr-x---  2 flip ggl    4096 2006-11-07 16:39 International/
  drwxr-x---  2 flip ggl    4096 2006-11-07 16:38 Kontext/
  drwxr-x---  2 flip ggl    4096 2006-11-07 16:39 Perspektiven/
  drwxr-x---  2 flip ggl    4096 2006-11-07 16:37 Peter_Schneider/
  drwxr-x---  2 flip ggl    4096 2006-11-07 16:38 Reflexe/
  drwxr-x---  2 flip ggl    4096 2006-11-07 16:37 Rendez-Vous/
  drwxr-x---  2 flip ggl    4096 2006-11-07 16:39 Samstagsrundschau/
  drwxr-x---  2 flip ggl    4096 2006-11-07 16:38 Tagesgespräch/
  drwxr-x---  2 flip ggl    4096 2006-11-07 16:39 Trend/
  
  ./DRS/Atlas:
  insgesamt 89760
  -rw-r-----  1 flip ggl 20132947 2006-11-07 16:39 Atlas_2006-10-07.mp3
  -rw-r-----  1 flip ggl 18951376 2006-11-07 16:39 Atlas_2006-10-14.mp3
  -rw-r-----  1 flip ggl 17222906 2006-11-07 16:39 Atlas_2006-10-21.mp3
  -rw-r-----  1 flip ggl 17032735 2006-11-07 16:39 Atlas_2006-10-28.mp3
  -rw-r-----  1 flip ggl 18442560 2006-11-07 16:39 Atlas_2006-11-04.mp3
  
  [etc. etc. etc.]
  
  ./DRS/Peter_Schneider:
  insgesamt 18236
  -rw-r-----  1 flip ggl 3922358 2006-11-07 16:37 Peter_Schneider_2006-10-06.mp3
  -rw-r-----  1 flip ggl 3694571 2006-11-07 16:37 Peter_Schneider_2006-10-13.mp3
  -rw-r-----  1 flip ggl 3863844 2006-11-07 16:37 Peter_Schneider_2006-10-20.mp3
  -rw-r-----  1 flip ggl 3535746 2006-11-07 16:37 Peter_Schneider_2006-10-27.mp3
  -rw-r-----  1 flip ggl 3626861 2006-11-07 16:37 Peter_Schneider_2006-11-03.mp3
  
--------------------


-- 
flipflip

Check out flipflip's 'SlimServer On DiskStation (SSODS)'
(http://oinkzwurgl.org/software/ssods/)!
------------------------------------------------------------------------
flipflip's Profile: http://forums.slimdevices.com/member.php?userid=5223
View this thread: http://forums.slimdevices.com/showthread.php?t=29480

_______________________________________________
squeezenetwork mailing list
[email protected]
http://lists.slimdevices.com/lists/listinfo/squeezenetwork

Reply via email to