You are here: Home » Topic » Creating a smart playlist externally

Creating a smart playlist externally

This topic contains 10 replies, has 2 voices, and was last updated by  EVILRipper 10 years ago.

Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #2594

    Anonymous

    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.

    #17582

    EVILRipper
    Participant

    You’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://)

    #17583

    Anonymous

    Hmm, 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.

    #17584

    EVILRipper
    Participant

    Which 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.

    #17585

    Anonymous

    It’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

    #17586

    Anonymous

    Oh yeah, airmon stopped working in Ubuntu 8.04. Gah!

    #17587

    Anonymous

    I 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 πŸ™

    #17588

    Anonymous

    Turns 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.

    #17589

    EVILRipper
    Participant

    Heh. That is not DAAP, that’s RSP.
    But in the end it doesn’t matter whether you use DAAP or RSP URL’s. πŸ™‚

    #17590

    Anonymous

    Well, whatever works πŸ˜›

    Is that URL still going to update my play_count column in the database?

    #17591

    EVILRipper
    Participant

    If 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.

Viewing 11 posts - 1 through 11 (of 11 total)

The forum ‘General Discussion’ is closed to new topics and replies.