FireFly Media Server › Firefly Media Server Forums › Firefly Media Server › Setup Issues › Static playlist not picked up
- This topic has 5 replies, 3 voices, and was last updated 18 years, 2 months ago by fizze.
-
AuthorPosts
-
20/09/2006 at 8:20 PM #606zakGuest
Hi,
I’ve got an /etc/mt-daapd.playlist and it’s mentioned in my config file as:
playlist = /etc/mt-daapd.playlist
which used to work fine. But none of the “smart” playlists contained within appear when I browse the share these days (probably since I upgraded to nightlies). If I strace the server from startup, I can see it never even stats the file.
Does mt-daapd no longer do file-based smart playlists? If not, why not? If it still does, what am I missing here?
Cheers in advance,
Zak
20/09/2006 at 8:34 PM #6490zakGuest/me finds:
Biggest thing, though, is the return of the smart playlists. Smart playlists are now done with a hand-rolled rd parser rather than a lex/yacc parser. The playlist criteria are also now stored in the database so that updates can be made while the daemon is running, without requiring a restart. Yee-ha.
Presumably that means no, no more file-based smart playlists ๐
20/09/2006 at 11:31 PM #6491rpeddeParticipant@zak wrote:
/me finds:
Biggest thing, though, is the return of the smart playlists. Smart playlists are now done with a hand-rolled rd parser rather than a lex/yacc parser. The playlist criteria are also now stored in the database so that updates can be made while the daemon is running, without requiring a restart. Yee-ha.
Presumably that means no, no more file-based smart playlists ๐
Correct — the playlists are edited through the web interface on the “smart” tab.
They will probably go back into a file again, though, as I’ve had something of a change of heart.
— Ron
20/09/2006 at 11:35 PM #6492zakGuestFWIW, I preferred them in a file, because they feel like configuration. And because I occasionally (well, twice) wipe out my DB and start over, then curse under my breath when I realise I’ve got to recreate them through the web interface, which prompts me to ask stupid questions on the forum ๐
20/09/2006 at 11:37 PM #6493rpeddeParticipant@zak wrote:
FWIW, I preferred them in a file, because they feel like configuration. And because I occasionally (well, twice) wipe out my DB and start over, then curse under my breath when I realise I’ve got to recreate them through the web interface, which prompts me to ask stupid questions on the forum ๐
/nods. The very reason I’m going to put them back in a file. FWIW, a -r, or a “full rescan” from the web interface drops all tables (except the playlists) and rebuilds the tables from scratch, which solves everything except corrupt database without losing the playlists. :/
21/09/2006 at 2:06 PM #6494fizzeParticipantyeah. a imho “clean” solution would be to export the playlists table to a file (which would be specified via a config value), or even to a directory, and the ability to import these, and to delete them all.
So one could have a few sets of smart playlists defined, and nicely manage them (for testing) and/or for real use.
-
AuthorPosts
- The forum ‘Setup Issues’ is closed to new topics and replies.