Last.fm - personalized radio streams in MediaPortal! (2 Viewers)

mparting

Portal Member
June 14, 2006
11
0
Stockholm
Home Country
Sweden Sweden

rtv

Retired Team Member
  • Premium Supporter
  • April 7, 2005
    3,622
    301
    Osnabruck
    Home Country
    Germany Germany
    Thanks very much ;-)

    I've put another few hours into it. Now e.g. the initial handshake is done in a background thread when MP starts. This will further reduce the load time.
     

    mparting

    Portal Member
    June 14, 2006
    11
    0
    Stockholm
    Home Country
    Sweden Sweden
    Thanks for fixing the bug for nonsubscribers :)

    I see that you have some code for "Discovery Mode". You thinking of adding it to the gui, or do you want me to have a go?
     

    rtv

    Retired Team Member
  • Premium Supporter
  • April 7, 2005
    3,622
    301
    Osnabruck
    Home Country
    Germany Germany
    please do not investigate that plugin too much right now - many things could change at that time.

    If you want to help - I'm still struggling for a way to have:
    1. the streamreader get that mp3-http-stream
    2. parse the stream for "SYNC" and fire an event
    (now the ugly part)
    3. pass that stream to g_player.

    The best solution would be to proxy / host that stream and let the player connect to the loopback device. Maybe it's possible to simply copy a reference of that stream and hand that copy to the player.

    CHli already started to investigate - would be cool if you could team up with him!
     

    CHli

    Portal Pro
    July 5, 2005
    1,251
    14
    Switzerland
    Home Country
    Switzerland Switzerland
    I'm still on the boat despite the fact that I had only 10 minutes / day for MP during the last weeks :-|

    If I could work on this problem in the train it would be much easier, but I don't have internet in the train :(
     

    mparting

    Portal Member
    June 14, 2006
    11
    0
    Stockholm
    Home Country
    Sweden Sweden
    please do not investigate that plugin too much right now - many things could change at that time.

    If you want to help - I'm still struggling for a way to have:
    1. the streamreader get that mp3-http-stream
    2. parse the stream for "SYNC" and fire an event
    (now the ugly part)
    3. pass that stream to g_player.

    The best solution would be to proxy / host that stream and let the player connect to the loopback device. Maybe it's possible to simply copy a reference of that stream and hand that copy to the player.

    CHli already started to investigate - would be cool if you could team up with him!

    How is this approach different/better then the current implementation?
     

    rtv

    Retired Team Member
  • Premium Supporter
  • April 7, 2005
    3,622
    301
    Osnabruck
    Home Country
    Germany Germany
    It's in svn, and also in v.0.2.1.0 I think.
    Nope, not in 0.2.1 ;-)

    How is this approach different/better then the current implementation?
    Sometimes the "SYNC" is played via the BASS mp3 engine which sounds like an encoding glitch. In addition we'd have a 100% reliable event for song changes. If the given track length doesn't match the current stream exactly, or buffer underruns happen you'll run out of sync until you skip the next time.
     

    Users who are viewing this thread

    Top Bottom