Bugzilla – Bug 2940
Editing names of items in a playlist does not save the amendments to disk
Last modified: 2006-02-07 18:12:44 UTC
I had an m3u playlist file on disk that was loaded into SlimServer DB. This playlist file only had a list of urls (radio stations), so within SlimServer each entry in the playlist had a name that was the same as the url. I edited the name for each entry to be something more appropriate, but the edits are not automatically stored back to disk. Hence when rescanning the library, the names are lost. As a workaround, I rename the playlist and then rename it back to the original name - this flushes the edits back to disk (however, bug <a href="https://bugs-archive.lyrion.org/show_bug.cgi?id=2939">2939</a> causes a duplicate file to be created).
Okay, so <a> tags don't work - how do people put hyperlinks to other bugs into these comments?
just say "bug xxxx" and bugzilla does it automatically.
Created attachment 1129 [details] add titles when using writeList to save an edited playlist This uses the addTitles flag to addd the EXTINF comments to an edited playlist. this works for m3u. pls files seem to add titles when writing out regardless, so those should already be working.
Looks good.
Not sure if you intended me to try this patch... I have tried to apply it, but I'm only on 6.2.2 and Tortoise SVN believes the file has changed since the patch was made. I'm assuming the patch will be applied to 6.5 and then possibly merged to 6.2.2?
it was a patch against 6.5, and simple enough to apply manually in any case (only 2 characters) I pasted here becuase it was too late for the nightly, and if there was some reason NOT to be writing the EXTINF, I didn't want to jump in a bugger things up where I wasn't sure. You know, more users bitching that developers don't think and test, etc :) I'll patch both tonight.
I understand ;) Thanks for the quick fix, and for informing me about the "bug xxxx" trick!
committed to trunk at change 6123 6.2.2 branch at change 6124