Results 1 to 2 of 2

Thread: XM support

  1. #1
    Join Date
    Oct 2010
    Posts
    4

    Default Passing url parameters to the player in my XM app.

    I've been working on a plugin for xmradio and have a question about passing the url with parameters. I can pass the user and password and receive the url that opens the stream. If I open the link with an empty mc.ListItem:

    channel = mc.ListItem(mc.ListItem.MEDIA_AUDIO_RADIO)
    #channel.SetLabel = label
    #channel.SetContentType( "audio/x-mpegurl" )
    channel.SetPath(str(link))
    mc.Player().Play( channel )

    The player will show error in the log but will play the stream.
    20:14:49 T:2845281136 M:1712857088 INFO: about to play url http://******@.com&campaign=default&...x&MSWMExt=.asf
    20:14:49 T:2845281136 M:1711968256 ERROR: [ActionType=PLAY] - Item [label=][IsInternetStream=1] is going to be reported to the server although its MSG_KEY_NAME is EMPTY. [dont-report=0=]. Obj parameters are [type=stream][name=][url=http://******@.com&campaign=default&bitrate=high&wmcache= 0&mswmext=.asx&MSWMExt=.asf
    ][content_type=text/html][stream_type=][thumb=][show_name=][episode=][season=][provider=][app_id=xmradio][adult=][country=][country_allow=][genre=][release_date=][boxee_id=][show_id=][show_name=][imdb_id=][release_year=][run_time=][hasDesc=0][activate_from=][func_ref=new] (rts)

    If I try to pass the same link with the label and content the player will error no data retrieved from the stream.
    20:32:20 T:2887773040 M:1679138816 ERROR: CFileCurl::CReadState::Open, didn't get any data from stream. HTTP CODE: 456
    20:32:20 T:2887773040 M:1679138816 ERROR: Open - failed to open source <http://******@com&campaign=default&bitrate=high&wmcache=0 &mswmext=.asx&MSWMExt=.as

    Could some one help me understand whats going on? This works on linux. I haven't tested it on any other os.
    Last edited by pspeights; October 29th, 2010 at 08:55 PM. Reason: Change Title

  2. #2
    Join Date
    Oct 2010
    Posts
    4

    Default

    Nevermind I was trying to set the title incorrectly. Don't know what I was thinking.

    mc.SetLabel = label

    should be:

    mc.SetLabel(label)

Similar Threads

  1. Better Music Support
    By searayman in forum feature requests
    Replies: 4
    Last Post: December 27th, 2010, 04:58 PM
  2. Support for support
    By MoonshineSG in forum general boxee help
    Replies: 5
    Last Post: November 10th, 2010, 09:21 PM
  3. No VIA support
    By rootxploit in forum boxee for linux help
    Replies: 9
    Last Post: January 28th, 2009, 03:34 PM
  4. FM support
    By DGMurdockIII in forum feature requests
    Replies: 2
    Last Post: November 10th, 2008, 04:53 PM
  5. daap client support and live TV support
    By tdondich in forum feature requests
    Replies: 9
    Last Post: October 21st, 2008, 02:11 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •