Thanks for the script! I've made a few changes to it as I have outlined. The one I'm sending you is called rsspodder to save you renaming it. New additions and usage of rsspodder ==================================== *Use as you would bashpodder.shell, and it needs the same extra file - bp.conf -> Without any extra flags, rsspodder works identically to bashpodder.shell *bp.conf can now have # commented out urls that will be ignored. (If this was an implicit behaviour before, I've coded it explicitly for my own piece of mind) *For a list of possible flags, use -h ---------------------------------------------------------------- [user@localhost] $ rsspodder -h Podding tool. Can download and stream rss pocasts Usage: -stream (-s) Create m3u list and pass it to xmms. (Doesnt log which files.) -keepurls (-k) Compact the url and use this as the filename instead. Useful for keeping tabs on which 'cast came from where without having to listen to it or checking its id3 tag -logstream (-ls) Create m3u list and pass it to xmms. Does log which files. -log (-l) Update log at end of operation. -continuelog (-c) Continue with temp log if bashpodder was halted midway -ignorelog Ignores the log and downloads all files that do not exist in target directory -verbose (-v) Echo which feeds are being checked and downloaded -help (-h) Shows this dialog --------- /place/my/feeds/here Pass a directory to have the feeds downloaded there. Useful with -ignorelog to create a snapshot of the feeds [user@localhost] $ ---------------------------------------------------------------- -v, -verbose - Does what it says on the tin. -s, -stream - At the moment configured to pass a m3u containing just the latest podcasts to xmms. -ls, -logstream (or -s -l) - As for -s but add the url's to the podcast.log. (They won't be downloaded later) -continuelog (-c) - Kinda redundant now, so I'll be chopping it out soon. -k, -keepurls - If you have just signed up to a number of podcasts, and your not sure if they follow a good filename convention, then this will take the entire url, strip out the :punct: junk, and use it as a filename to save it. Useful for keeping tabs on which 'cast came from where. *Look at the top of the script for a useful variable, $datadirs. This holds a list of paths that will be checked for existence, and the first to test positive gets used as the base dir to save the podcasts to. Over-ridden by adding /place/my/feeds/here to the command. Why? -> It enables this functionality: Portable player (USB drive type - iRiver H320 etc.) plugged in -> saves to portable player No portable player plugged in -> saves to ~/podcasts for example ============================================================================================= TODO - (Well, planned anyway) *Add the functionality of a rssfeed script I wrote (Get's rss news feeds, strips out the XML. End result -> text file with the rss feed name, the headline and the accompanying text.) -> For my little iRiver H320's text screen when I'm on the move and want to catch up with what's going on. *Add streaming support for other players (From amarok, mplayer, Noatun and totem to mpg321 and even to `wget -O- | splay` ) *Add torrent support via btdownload or similar, working out some kind of 'fair play' use of the torrent. (i.e. Upload half of what is downloaded, etc) *Add 'fill my pipe' functionality. ie spawn a wget of the next file if the current one is slow/stalling (If I can just work out how to even approach this in script. Anyway you know of interrogating wget for it's current download speed or something similar?) Ben O'Steen ben@maysubdivide.org