FireFly Media Server (formerly mt-daapd) › Firefly Media Server Forums › Firefly Media Server › General Discussion › Creating a smart playlist externally
- This topic has 10 replies, 2 voices, and was last updated 12 years, 6 months ago by
EVILRipper.
-
AuthorPosts
-
11th August 2008 at 9:53 pm #2594
Anonymous
InactiveI have a script which I’ve put together to give me a list of all recent tracks I’ve added to my server which I haven’t listened to, in album order, grouped by album and it outputs this all as an m3u playlist.
I can request this playlist directly and it’ll run in Amarok and I have it set up as a preset on my Soundbridge but it doesn’t seem to take.
The playlist content basically boils down to daap:// urls, e.g.
#EXTM3U
#EXTINF:253066,Tracy Chapman - Crossroads
daap://192.168.0.80:3689/1/19318.mp3
#EXTINF:262560,Tracy Chapman - Bang Bang Bang
daap://192.168.0.80:3689/1/19319.mp3
#EXTINF:238840,Tracy Chapman - Telling Stories
daap://192.168.0.80:3689/1/19320.mp3
Am I over simplifying how daap and the presets work with the Soundbridge? How can I get this to work?
Also asked this question on the Soundbridge forums yesterday but it’s all quiet on there.
12th August 2008 at 7:26 am #17582EVILRipper
ParticipantYou’re nearly there.
Try this URL:
daap://192.168.0.80:3689/databases/1/items/19318.mp3(Not sure if the daap:// prefix works. I use http://)
12th August 2008 at 12:44 pm #17583Anonymous
InactiveHmm, didn’t seem to make much difference. I think it must be something to do with how the SB takes streams. The track URL was one I took from Amarok after enqueing the song through a DAAP session. If I queue up this playlist then it plays in Amarok OK.
Playing it through my SB just ends up in it sitting there retrying.
12th August 2008 at 1:56 pm #17584EVILRipper
ParticipantWhich brand is your SB? Pinnacle or Roku?
Pinnacle’s SB is not licensed to use DAAP, so it can’t.
Roku’s SB does support DAAP.Not that the SB needs to process any DAAP as you’re feeding it complete URL’s…
Not sure what could be causing the trouble.
12th August 2008 at 4:37 pm #17585Anonymous
InactiveIt’s a Roku M1001. DAAP works fine – I can browse my library no worries.
Checking with /databases/1/items in there the URLs don’t work in Amarok whereas they do with the other URLs I had, so I’m sure that part is right.
There isn’t some kind of authentication that has to be done before you can go in and request a URL is there?
I guess I’ll try and do a packet trace to see if I can make out what the SB is trying to do
12th August 2008 at 5:01 pm #17586Anonymous
InactiveOh yeah, airmon stopped working in Ubuntu 8.04. Gah!
12th August 2008 at 5:33 pm #17587Anonymous
InactiveI think it’s the playlist format. Trying a known, unambiguous URL (http://aolradio.podcast.aol.com/twit/TWiT0155H.mp3) in there as well fails too. It just keeps retrying the “station” URL.
How am I supposed to format it? Or maybe I need to put new info in the preset setting.
I’m sure the SB forums would know all this if only someone would reply to my thread 🙁
13th August 2008 at 10:44 am #17588Anonymous
InactiveTurns out the MP3 URLs were wrong. I can queue a single file off DAAP by using the URL pattern http://192.168.0.80:3689/rsp/stream/16764 in radio mode.
I just need to be able to get the URLs into a playlist if possible.
13th August 2008 at 1:57 pm #17589EVILRipper
ParticipantHeh. That is not DAAP, that’s RSP.
But in the end it doesn’t matter whether you use DAAP or RSP URL’s. 🙂13th August 2008 at 7:53 pm #17590Anonymous
InactiveWell, whatever works 😛
Is that URL still going to update my play_count column in the database?
14th August 2008 at 7:09 am #17591EVILRipper
ParticipantIf it normally does, it does now too.
You’re simply streaming.
By that URL, you request a song, just like any other client.
So firefly-wise, there is no difference. -
AuthorPosts
- The forum ‘General Discussion’ is closed to new topics and replies.