Bugzilla – Bug 721
Shoutcast plugin writing directly into /
Last modified: 2008-12-18 11:53:19 UTC
Hi, A small bug in the Shoutcast plugin: when the "playlistdir" preference is not set (for instance on first run), it creates its ShoutcastBrowser_Recently_Played directory on the root of the file system (if run as root sure). Actually there is no check for this case around line 156: my $recent_dir = catdir(Slim::Utils::Prefs::get('playlistdir'), $recent_dirname);
Created attachment 226 [details] dont write if no playlistdir hoepfully this works. I'm not able to test or commit since both ultraEdit and BBEdit, despite both being utf-8 aware, see only able to totally mess up the files beyond usability :(
The patch didn't apply because of different indentation and because i was not using the cvs version (rev 1.16) but the 5.4.0 one (rev 1.15), but i've applied it by hand and it works just very fine. Thanks.
KDF: can you ressurct this patch?
committed to r2433
Routine bug db maintenance; removing old versions which cause confusion. I apologize for the inconvenience.