Results 1 to 3 of 3

Thread: Best way to edit .zpl files? help!

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Jan 2013
    Posts
    16

    Best way to edit .zpl files? help!

    Hello! I have a Windows phone, and the playlist extension is .zpl, what I want to do is to make a new playlist and add my own files to it.

    This is what it looks like:

    <?zpl version="2.0"?>
    <smil>
    <head>
    <guid>{0205EBCA-12CF-458D-BCD5-B1AF6A421940}</guid>
    <meta name="autoRefreshInterval" content="5" />
    <meta name="autoRefresh" content="FALSE" />
    <meta name="creatorId" content="{E9F04267-F937-1EBC-615D-64DD6C3CD144}" />
    <meta name="averageRating" content="9" />
    <meta name="totalDuration" content="49548 (In seconds)" />
    <meta name="itemCount" content="" />
    <meta name="generator" content="Zune -- 4.8.2345.0" />
    <title>SummerNstuff</title>
    </head>
    <body>
    <seq>
    <media src="Searchway" serviceId="{FBDE3507-0100-11DB-89CA-0019B92A3933(what is this?)}" albumTitle="Albumtitle" albumArtist="Artist" trackTitle="Trackname" trackArtist="TrackArtist" duration="In Millisecond" />
    </seq>
    </body>
    </smil>



    What should I use? An XML writer or some sort of writer?
    And, how should I do it? Thanks in advance!!

    -tokfrans

  2. #2
    PowerPoster dunfiddlin's Avatar
    Join Date
    Jun 2012
    Posts
    8,245

    Re: Best way to edit .zpl files? help!

    It's plain text when all's said and done so you can use any text editing method to produce it. Your problem is going to be ensuring that you have all the information, some of which looks like it is obtained online (rating etc.), some calculated. The principal difficulty would be in obtaining the correct GUIDs. If you do not know where and how these are obtained, it's a bit of a non-starter.
    As the 6-dimensional mathematics professor said to the brain surgeon, "It ain't Rocket Science!"

    Reviews: "dunfiddlin likes his DataTables" - jmcilhinney

    Please be aware that whilst I will read private messages (one day!) I am unlikely to reply to anything that does not contain offers of cash, fame or marriage!

  3. #3

    Thread Starter
    Junior Member
    Join Date
    Jan 2013
    Posts
    16

    Re: Best way to edit .zpl files? help!

    Quote Originally Posted by dunfiddlin View Post
    It's plain text when all's said and done so you can use any text editing method to produce it. Your problem is going to be ensuring that you have all the information, some of which looks like it is obtained online (rating etc.), some calculated. The principal difficulty would be in obtaining the correct GUIDs. If you do not know where and how these are obtained, it's a bit of a non-starter.
    The rating is something private, not on the internet (I miss clicked and rated a song by accident which is in the playlist, thus making the rating 9)

    And the for the GUID's, can't I just create an empty playlist in Zune and just copy the information in it, and add/del songs from it? Cause when I update a playlist in Zune, the GUID doesn't change. Seems to be an 'one time thing'

    But thanks for the help. I know that it's going to be quite hard to obtain the artist info and stuff, but I found a library that reads ID3 & ID3v2 tags so I think I'll manage!

    Thanks again

    -Tokfrans


    EDIT: didn't see that there was a GUID on the song too, I'll ask on MDSN for further help with that, see if anyone of them can figure it out!

Posting Permissions

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



Click Here to Expand Forum to Full Width