Description:

Podget is a simple bash script to automate the downloading and organizing of podcasts content.

A l’installation du deb on a quelques erreurs…mais..

Lancer le script une fois.. il créé les fichiers..on les modifie comme il faut..

vi .podget/serverlist  
vi .podget/podgetrc

Exemple au 1er lancement:

podget.sh  

podget  

Category: DidierPorte Name:  
 Downloading feed index from http://www.ouifm.fr/podcast/didierporte.rss  
 14:04:03 URL:http://www.ouifm.fr/podcast/didierporte.rss [8810/8810] -> "-" [1]  
 Dowloading DIDIERPORTE060106.mp3 from http://www.ouifm.fr/podfile/  
 14:04:06 URL:http://www.ouifm.fr/podfile/DIDIERPORTE060106.mp3 [4566768/4566768] -> "/home/yannick/POD/DidierPorte/DIDIERPORTE060106.mp3" [1]  
 [...]  

Puis les fois suivantes, si rien de nouveau, il ne retélécharge pas:

podget.sh  

podget  

Category: DidierPorte Name:  
 Downloading feed index from http://www.ouifm.fr/podcast/didierporte.rss  
 14:04:42 URL:http://www.ouifm.fr/podcast/didierporte.rss [8810/8810] -> "-" [1]  
 Already downloaded DIDIERPORTE060106.mp3.  
 Already downloaded DIDIERPORTE050106.mp3.  
 [...]  

Tout est bien arrivé:

$ ls  
DIDIERPORTE030106.mp3 DIDIERPORTE050106.mp3 DIDIERPORTE191205.mp3 DIDIERPORTE211205.mp3 DIDIERPORTE231205.mp3 DIDIERPORTE040106.mp3 DIDIERPORTE060106.mp3 DIDIERPORTE201205.mp3 DIDIERPORTE221205.mp3

Puis le tout en cron avec l’option :

-s --silent Run silently (for cron jobs).

Par contre le deb mettait un peu le souk dans Apt car pour lui les versions ne sont pas à jour blahhblahh.. donc j’ai backupé le script, désinstallé podget, puis remis le script à sa place.. maintenant, tout a l’air ok (au moins pour mon utilisation..)