FireFly Media Server › 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 15 years, 8 months ago by EVILRipper.
-
AuthorPosts
-
11/08/2008 at 9:53 PM #2594AnonymousInactive
I 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.
12/08/2008 at 7:26 AM #17582EVILRipperParticipantYou’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://)
12/08/2008 at 12:44 PM #17583AnonymousInactiveHmm, 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.
12/08/2008 at 1:56 PM #17584EVILRipperParticipantWhich 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.
12/08/2008 at 4:37 PM #17585AnonymousInactiveIt’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
12/08/2008 at 5:01 PM #17586AnonymousInactiveOh yeah, airmon stopped working in Ubuntu 8.04. Gah!
12/08/2008 at 5:33 PM #17587AnonymousInactiveI 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 ๐
13/08/2008 at 10:44 AM #17588AnonymousInactiveTurns 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.
13/08/2008 at 1:57 PM #17589EVILRipperParticipantHeh. That is not DAAP, that’s RSP.
But in the end it doesn’t matter whether you use DAAP or RSP URL’s. ๐13/08/2008 at 7:53 PM #17590AnonymousInactiveWell, whatever works ๐
Is that URL still going to update my play_count column in the database?
-
AuthorPosts
- The forum ‘General Discussion’ is closed to new topics and replies.