GPP musicplayer problem

Discover FAST, a records keeping server control script with a public records system called Dedimania, which will show records from the server on tm-exchange.com

Moderators: Slig, TM-Patrol

Post Reply
Xeno
pedestrian
pedestrian
Posts: 11
Joined: 14 Mar 2009 19:14
Owned TM-games: TMU TMO TMS TMUF

GPP musicplayer problem

Post by Xeno » 20 May 2009 02:51

Ok, only the first 6 songs in my .txt file work while the rest dont appear.
also after the 6th file there is a song listed as Array but I didn't put anything by that name
HELLLPPP

Code: Select all

<?xml version="1.0" encoding="UTF-8" ?>
<gpp_mb>
       <url>http://www.fileden.com/files/2008/12/27/2------/Music/</url>
   <song>
      <file>BWDW.ogg</file>
      <artist>Big Wednesday</artist>
      <album>TMS</album>
      <tracknumber>01</tracknumber>
      <title>Don't Worry</title>
   </song>
   <song>
      <file>21BT.ogg</file>
      <artist>21st Century Beatnik</artist>
      <album>TMS</album>
      <tracknumber>02</tracknumber>
      <title>One T</title>
   </song>
   <song>
      <file>Dan%20 Money.ogg</file>
      <artist>Dan Money</artist>
      <album>TMS</album>
      <tracknumber>03</tracknumber>
      <title>Dan Money</title>
   </song>
   <song>
      <file>HJ.ogg</file>
      <artist>Hi-Jera</artist>
      <album>TMS</album>
      <tracknumber>04</tracknumber>
      <title>Track 1</title>
   </song>
   <song>
      <file>JALT.ogg</file>
      <artist>Jason Alner</artist>
      <album>TMS</album>
      <tracknumber>05</tracknumber>
      <title>Latin Trick</title>
   </song>
   <song>
      <file>MABT4.ogg</file>
      <artist>Mattie & Ben</artist>
      <album>TMS</album>
      <tracknumber>06</tracknumber>
      <title>Track 4</title>
   </song>
   <song>
      <file>MM.ogg</file>
      <artist>Mike Myler</artist>
      <album>TMS</album>
      <tracknumber>07</tracknumber>
      <title>Unknown</title>
   </song>
   <song>
      <file>NBFTB.ogg</file>
      <artist>NBF</artist>
      <album>TMS</album>
      <tracknumber>08</tracknumber>
      <title>Take Back</title>
   </song>
   <song>
      <file>SM.ogg</file>
      <artist>Silvermkaer</artist>
      <album>TMS</album>
      <tracknumber>09</tracknumber>
      <title>Unknown</title>
   </song>
   <song>
      <file>TBH.ogg</file>
      <artist>The Brit Hoolas</artist>
      <album>TMS</album>
      <tracknumber>10</tracknumber>
      <title>Unknown</title>
   </song>
   <song>
      <file>ZMB1.ogg</file>
      <artist>Zsolt Marx</artist>
      <album>TMS</album>
      <tracknumber>11</tracknumber>
      <title>Breathe 1</title>
   </song>
   <song>
      <file>ZMFYP.ogg</file>
      <artist>Zsolt Marx</artist>
      <album>TMS</album>
      <tracknumber>12</tracknumber>
      <title>Fill Your Pages</title>
   </song>
   <song>
      <file>EB.ogg</file>
      <artist>Loop Control</artist>
      <album>TMS</album>
      <tracknumber>13</tracknumber>
      <title>Exceptionally Beautiful</title>
   </song>
   <song>
      <file>SC7BS.ogg</file>
      <artist>n/a</artist>
      <album>TMS</album>
      <tracknumber>14</tracknumber>
      <title>Silk Cuts 7 Side B (Born Slippy)</title>
   </song>
   <song>
      <file>EDEOT.ogg</file>
      <artist>Entity & Darwin</artist>
      <album>TMS</album>
      <tracknumber>15</tracknumber>
      <title>End Of Time (HU Mix)</title>
   </song>
   <song>
      <file>JMWCW.ogg</file>
      <artist>J Majik & Wickaman</artist>
      <album>TMS</album>
      <tracknumber>16</tracknumber>
      <title>Crazy World</title>
   </song>
   <song>
      <file>RDJT.ogg</file>
      <artist>DJ Tatana</artist>
      <album>TMS</album>
      <tracknumber>17</tracknumber>
      <title>Runaway</title>
   </song>
   <song>
      <file>FSS.ogg</file>
      <artist>Fracus</artist>
      <album>TMS</album>
      <tracknumber>18</tracknumber>
      <title>Snowstorm</title>
   </song>
   <song>
      <file>YMA.ogg</file>
      <artist>Scott Brown</artist>
      <album>TMS</album>
      <tracknumber>19</tracknumber>
      <title>You're My Angel</title>
   </song>

</gpp_mb>




User avatar
Slig
Pit Crew
Pit Crew
Posts: 2124
Joined: 05 Sep 2005 17:51
Owned TM-games: ALL
Location: TraxicoLand (Fr)
Contact:

Re: GPP musicplayer problem

Post by Slig » 20 May 2009 05:27

Xeno wrote:Ok, only the first 6 songs in my .txt file work while the rest dont appear.
also after the 6th file there is a song listed as Array but I didn't put anything by that name

Code: Select all

<artist>Mattie & Ben</artist>
'&' is not supposed to be xml compliant : try with 'Mattie & Ben'

Xeno
pedestrian
pedestrian
Posts: 11
Joined: 14 Mar 2009 19:14
Owned TM-games: TMU TMO TMS TMUF

Re: GPP musicplayer problem

Post by Xeno » 20 May 2009 10:29

Thank you it worked like a charm!

User avatar
AstroGlider
smooth traffic navigator
smooth traffic navigator
Posts: 237
Joined: 13 Aug 2005 01:10
Owned TM-games: TMF, TMU, TMS, TMI?
Location: Tampa, Florida, USA

Re: GPP musicplayer problem

Post by AstroGlider » 20 May 2009 14:22

Xeno wrote:Ok, only the first 6 songs in my .txt file work while the rest dont appear.
also after the 6th file there is a song listed as Array but I didn't put anything by that name
HELLLPPP
Not a big problem, just remove the &'s from the tags, I saw at least two of them in your songlist: Entity & Darwin, and Majik & Wickaman for example. Simply change it to 'and' is all you need to do to make it work ok ;)
Image
Image

Alesh
cyclist
cyclist
Posts: 31
Joined: 19 Feb 2009 19:37
Owned TM-games: TMUF
Location: Brasil
Contact:

Re: GPP musicplayer problem

Post by Alesh » 15 Dec 2009 20:01

Oi gente ...
I have my server with Fast 3.2.2c, but I got a problem with my musicbox.default.xml.

I put 113 musics there and the GPP only recognized 23 songs in chat panel... ... Where's my mistake?
See next, one example of strings and tags:


<gpp_mb> <gpp_mb>
<url></url> <url> </ url>
<song> <song>
<file>http://www.fileden.com/files/2009/9/12/ ... .ogg</file> <file> http://www.fileden.com/files/2009/9/12/ *******/ Falling% 20In% 20Love% 20%% 28Aerosmith 29.ogg </ file>
<artist>GRX Team Brasil Server</artist> <artist> GRX Brasil Team Server </ artist>
<album>Album</album> <Album> Album </ album>
<tracknumber>01</tracknumber> <tracknumber> 01 <trackNumber />
<title>Nome Musica</title> <title> Nome da musica </ title>
</song> <canção />
<song> <song>
<file>http://www.fileden.com/files/2009/9/12/ ... .mux</file> <file> http://www.fileden.com/files/2009/9/12/ *******/ Enjoy% 20The% 20Silence% 20% 28Depeche%% 20Mode 29.mux </ file>
<artist>GRX Team Brasil Server</artist> <artist> GRX Brasil Team Server </ artist>
<album>Album</album> <Album> Album </ album>
<tracknumber>02</tracknumber> <tracknumber> 02 <trackNumber />
<title>Nome Música</title> <title> Nome da musica </ title>
</song> <canção />
<song> <song>
<file>http://www.fileden.com/files/2009/9/12/ ... .ogg</file> <file> http://www.fileden.com/files/2009/9/12/ *******/% Breed 20%% 28Nirvana 29.ogg </ file>
<artist>GRX Team Brasil Server</artist> <artist> GRX Brasil Team Server </ artist>
<album>Album</album> <Album> Album </ album>
<tracknumber>03</tracknumber> <tracknumber> 03 <trackNumber />
<title>Nome Música</title> <title> Nome da musica </ title>
</song> <canção />
<song> <song>
<file>http://www.fileden.com/files/2009/9/12/ ... .mux</file> <file> http://www.fileden.com/files/2009/9/12/ *******/% Você% 20really 20Got% 20Me% 20% 28Van% 20Halen% 29.mux </ file>
<artist>GRX Team Brasil Server</artist> <artist> GRX Brasil Team Server </ artist>
<album>Album</album> <Album> Album </ album>
<tracknumber>04</tracknumber> <tracknumber> 04 <trackNumber />
<title>Nome Música</title> <title> Nome da musica </ title>
</song> <canção />
<song> <song>
<file>http://www.fileden.com/files/2009/9/12/ ... .mux</file> <file> http://www.fileden.com/files/2009/9/12/ *******/ Yesterdays.mux </ file>
<artist>GRX Team Brasil Server</artist> <artist> GRX Brasil Team Server </ artist>
<album>Album</album> <Album> Album </ album>
<tracknumber>05</tracknumber> <tracknumber> 05 <trackNumber />
<title>Nome Música</title> <title> Nome da musica </ title>
</song> <canção />
<song> <song>
<file>http://www.fileden.com/files/2009/9/12/ ... .mux</file> <file> http://www.fileden.com/files/2009/9/12/ *******/% O 20Do% 20You% 20Want%% 20From 20Me% 20% 28Monaco 29.mux% </ arquivo>
<artist>GRX Team Brasil Server</artist> <artist> GRX Brasil Team Server </ artist>
<album>Album</album> <Album> Album </ album>
<tracknumber>06</tracknumber> <tracknumber> 06 <trackNumber />
<title>Nome Música</title> <title> Nome da musica </ title>
</song> <canção />
<song> <song>
<file>http://www.fileden.com/files/2009/9/12/ ... .mux</file> <file> http://www.fileden.com/files/2009/9/12/ *******/ Welcome_To_The_Jungle.mux </ file>
<artist>GRX Team Brasil Server</artist> <artist> GRX Brasil Team Server </ artist>
<album>Album</album> <Album> Album </ album>
<tracknumber>07</tracknumber> <tracknumber> 07 <trackNumber />
<title>Nome Música</title> <title> Nome da musica </ title>
</song> <canção />
<song> <song>
<file>http://www.fileden.com/files/2009/9/12/ ... .mux</file> <file> http://www.fileden.com/files/2009/9/12/ *******/% Vertigo 20% 28U2% 29.mux </ file>
<artist>GRX Team Brasil Server</artist> <artist> GRX Brasil Team Server </ artist>
<album>Album</album> <Album> Album </ album>
<tracknumber>08</tracknumber> <tracknumber> 08 <trackNumber />
<title>Nome Música</title> <title> Nome da musica </ title>
</song> <canção />
<song> <song>
<file>http://www.fileden.com/files/2009/9/12/ ... .mux</file> <file> http://www.fileden.com/files/2009/9/12/ *******/ A% 20fight% 20Song% 20% 28Marylin%% 20Manson 29.mux </ file>
<artist>GRX Team Brasil Server</artist> <artist> GRX Brasil Team Server </ artist>
<album>Album</album> <Album> Album </ album>
<tracknumber>09</tracknumber> <tracknumber> 09 <trackNumber />
<title>Nome Música</title> <title> Nome da musica </ title>
</song> <canção />
<song> <song>
<file>http://www.fileden.com/files/2009/9/12/ ... .mux</file> <file> http://www.fileden.com/files/2009/9/12/ *******/ Sweet_Child_O_Mine.mux </ file>
<artist>GRX Team Brasil Server</artist> <artist> GRX Brasil Team Server </ artist>
<album>Album</album> <Album> Album </ album>
<tracknumber>10</tracknumber> <tracknumber> 10 <trackNumber />
<title>Nome Música</title> <title> Nome da musica </ title>
</song> <canção />
<song> <song>
<file>http://www.fileden.com/files/2009/9/12/ ... .mux</file> <file> http://www.fileden.com/files/2009/9/12/ *******/% Chizuru 20% 28IDN% 29.mux </ file>
<artist>GRX Team Brasil Server</artist> <artist> GRX Brasil Team Server </ artist>
<album>Album</album> <Album> Album </ album>
<tracknumber>11</tracknumber> <tracknumber> 11 <trackNumber />
<title>Nome Música</title> <title> Nome da musica </ title>
</song> <canção />




Please, tell me: where my mistake here. I follow your example literally, but, the musicbox don't work with the full setup... I'm wait for reply, ok?
Thanx!!! Thanx!

Happy 2010 for all!!!

Mort
smooth traffic navigator
smooth traffic navigator
Posts: 275
Joined: 16 Jan 2009 10:57
Owned TM-games: TMUF, TMNF
Location: Australia
Contact:

Re: GPP musicplayer problem

Post by Mort » 18 Dec 2009 14:28

Can you reduce your file to show us one song entry that works and one that doesn't? That might make it a bit easier to troubleshoot and compare.

You seem to have lots of duplicate tag entries, so maybe that is the problem?

<gpp_mb> <gpp_mb>
<url></url> <url> </ url>
<song> <song>
<file>http://www.fileden.com/files/2009/9/12/ ... .ogg</file> <file> http://www.fileden.com/files/2009/9/12/ *******/ Falling% 20In% 20Love% 20%% 28Aerosmith 29.ogg </ file>
<artist>GRX Team Brasil Server</artist> <artist> GRX Brasil Team Server </ artist> [/color]<album>Album</album> <Album> Album </ album>

Post Reply