Results 1 to 10 of 10

Thread: how does CUSTOMPL vary from audio playlists and xm playlists?

  1. #1
    Mo' Programming Mo' Problems
    Auto Apps:loading...
    Sonicxtacy02's Avatar
    Join Date
    Sep 2004
    Location
    Woodbridge, VA
    Posts
    8,169
    Blog Entries
    53

    how does CUSTOMPL vary from audio playlists and xm playlists?

    I'm having a bit of trouble flash skinning for XM. I basically used the code from my audio playlist on my xm playlist and it shows weird behavior. First and foremost the channel number do not show in the list. Now i'm not sure why this is.. but perhaps it has something to do with the audio's parsing of CUSTOMPL. in the audio playlist the first 3 characters are stripped because the indicate the file type (SNG). Is the file type present in the XM CUSTOMPL? if not, i guess that would explain why i'm not seeing channel numbers.

    Next up is selecting a channel from the list. I do this with the SETLIST command and when pressing on an item in the list it turns to the appropriate station. However the playlist goes out of sync and the current song playing is no longer at the top of the playlist. Its sort of like i press the station i want to tune to, it tunes, then someone hits a PGDOWN command.

    I've done alot of searching on this stuff and i'm not even sure that ANYONE has used flash with an XM skin. Alot of my questions could probably be solved in the coding process but being that i dont have xm in my office or at my home i cant really see the results of the coding until its in the car.
    mp3Car.com Senior Tech Blogger (Want a product reviewed? Contact me.)
    Find my plugins on the MP3Car App Store!
    Follow Me on Twitter or Facebook
    Live mp3Car Facebook Chat

  2. #2
    Mo' Programming Mo' Problems
    Auto Apps:loading...
    Sonicxtacy02's Avatar
    Join Date
    Sep 2004
    Location
    Woodbridge, VA
    Posts
    8,169
    Blog Entries
    53
    ok.. actually answered some of my own questions thru trial and error

    1.XM's CUSTOMPL maintains the "SNG" file type

    2.Found the channel numbers in the list, it was a parsing issue


    i still havent figured out why the list jumps like it does though. Its not EXACTLY a PGDOWN command, because if i push PGUP it performs 2 PGUP's, then another PGDOWN puts me on the currently playing song.

    but all in all its working well.. gotta get track art in there somehow (which of course means converting the .gifs to .jpgs)

    mp3Car.com Senior Tech Blogger (Want a product reviewed? Contact me.)
    Find my plugins on the MP3Car App Store!
    Follow Me on Twitter or Facebook
    Live mp3Car Facebook Chat

  3. #3
    Mo' Programming Mo' Problems
    Auto Apps:loading...
    Sonicxtacy02's Avatar
    Join Date
    Sep 2004
    Location
    Woodbridge, VA
    Posts
    8,169
    Blog Entries
    53
    enhanced it a little further.. now to add the track art!
    mp3Car.com Senior Tech Blogger (Want a product reviewed? Contact me.)
    Find my plugins on the MP3Car App Store!
    Follow Me on Twitter or Facebook
    Live mp3Car Facebook Chat

  4. #4
    FLAC Machinehead's Avatar
    Join Date
    Jun 2007
    Location
    hijacks small portable city
    Posts
    1,381
    Looking good, can't wait for the skin update.

  5. #5
    RoadRunner Mastermind
    Auto Apps:loading...
    guino's Avatar
    Join Date
    Nov 2004
    Location
    Toronto, Canada
    Posts
    9,817
    You should not need to use setlist to tune XM... you can simply execute:

    "XMCHAN;<CHANNEL>" -- Tunes directly regardless of the playlist.

    This may help with your setlist issue.
    Ride Runner RR's Myspace

    "Being happy is not about having what you want, it's about wanting what you have."
    "The best things in life are always free - but that doesn't mean money can't buy you good things."

  6. #6
    The Last Good Gremlin GizmoQ's Avatar
    Join Date
    Nov 2004
    Location
    St Louis
    Posts
    2,348
    Quote Originally Posted by Machinehead View Post
    Looking good, can't wait for the skin update.
    HARDWARE: Fujitsu Stylistic ST5111w/WiFi and dock, internal Hitachi 500G HD, external 1TB HD, Sierra Wireless Aircard 550, DVD-RW, BoomzBox HD radio, XM Commander, Delorme GPS, Saitek X-52 Pro joystick, BluSoleil Bluetooth, TPMS, FB, Elm327

  7. #7
    Mo' Programming Mo' Problems
    Auto Apps:loading...
    Sonicxtacy02's Avatar
    Join Date
    Sep 2004
    Location
    Woodbridge, VA
    Posts
    8,169
    Blog Entries
    53
    Quote Originally Posted by guino View Post
    You should not need to use setlist to tune XM... you can simply execute:

    "XMCHAN;<CHANNEL>" -- Tunes directly regardless of the playlist.

    This may help with your setlist issue.
    that did the trick.. thanks


    Something else i've noticed while skinning for xm is the definition for XMADD1 appears to be wrong in the skin commands.txt . the .txt file reads

    ' "XMADD1" - Shows NUM-OSK and asks for channel number to add to current favorites list'

    but when running the command it seems to be looking for xmfavlist.skin. Notta real problem for me but it just might wanna be corrected for accuracy.

    My skin now pretty much has everything working xm wise, i added the track art and added the direct tuning options. We're almost done!


    EDIT.. nevermind on the XMADD1.. in the car the numosk comes up like its supposed to.
    mp3Car.com Senior Tech Blogger (Want a product reviewed? Contact me.)
    Find my plugins on the MP3Car App Store!
    Follow Me on Twitter or Facebook
    Live mp3Car Facebook Chat

  8. #8
    Mo' Programming Mo' Problems
    Auto Apps:loading...
    Sonicxtacy02's Avatar
    Join Date
    Sep 2004
    Location
    Woodbridge, VA
    Posts
    8,169
    Blog Entries
    53
    ok i seem to have found my problem with the list and it makes sense to me now.. what isnt clear is how i'm going to solve the issue. The reason the list would bounce to the wrong channel listing is because the list's order is based on TRACKNUMBER. On a normal audio playlist the tracknumber is always in order starting with 1.. but on the XM list the tracknumber is the channel number and because the channel numbers are non-sequential it throws off the list when its pressed.

    Hopefully i'll come up with something that will work here... the quest continues~!
    mp3Car.com Senior Tech Blogger (Want a product reviewed? Contact me.)
    Find my plugins on the MP3Car App Store!
    Follow Me on Twitter or Facebook
    Live mp3Car Facebook Chat

  9. #9
    RoadRunner Mastermind
    Auto Apps:loading...
    guino's Avatar
    Join Date
    Nov 2004
    Location
    Toronto, Canada
    Posts
    9,817
    on the xmadd1 thing... If you're in the main channel list (instead of viewing a favorites list), it will call XMFAvlist.skin -- to show you a list of favorites list that you can add the currently selected channel onto (without actually viewing the list). If you are viewing a favorites list, then it will ask for the channel number you wish to add to the currently viewed favorites list. Those are 2 different features of the same command.
    Ride Runner RR's Myspace

    "Being happy is not about having what you want, it's about wanting what you have."
    "The best things in life are always free - but that doesn't mean money can't buy you good things."

  10. #10
    Mo' Programming Mo' Problems
    Auto Apps:loading...
    Sonicxtacy02's Avatar
    Join Date
    Sep 2004
    Location
    Woodbridge, VA
    Posts
    8,169
    Blog Entries
    53
    Quote Originally Posted by guino View Post
    on the xmadd1 thing... If you're in the main channel list (instead of viewing a favorites list), it will call XMFAvlist.skin -- to show you a list of favorites list that you can add the currently selected channel onto (without actually viewing the list). If you are viewing a favorites list, then it will ask for the channel number you wish to add to the currently viewed favorites list. Those are 2 different features of the same command.
    thats pretty sweet and explains the confusion on my part. I have also found a fix for the list issue... the problem was a combination of my track number issue and the fact that my code checked to see if CUSTOMPL changed.. if it did it would effectively reload the list.. being that CUSTOMPL on the xm screen changes everytime a track title or artist changed this didnt work. The last thing i need to do is figure a way to make the list move when i direct tune to a channel. So so close!
    mp3Car.com Senior Tech Blogger (Want a product reviewed? Contact me.)
    Find my plugins on the MP3Car App Store!
    Follow Me on Twitter or Facebook
    Live mp3Car Facebook Chat

Similar Threads

  1. Centrafuse 1.46 Update
    By veetid in forum Centrafuse
    Replies: 94
    Last Post: 02-11-2008, 07:53 PM
  2. Editing XM playlists in RR
    By mbayers in forum Road Runner
    Replies: 3
    Last Post: 08-30-2005, 04:44 PM

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
  •