INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: Bugs and feature Requests for Remote Server  (Read 1751 times)

Messiahs

  • Galactic Citizen
  • ****
  • Posts: 432
Bugs and feature Requests for Remote Server
« on: July 29, 2007, 04:18:03 pm »

a few days ago i found out, that our remote server has an XML-Feature.
You can open a Socket (e.g. Port 8080) and send XML Requests to the Remote Server. Remote Server responds with an XML-Response (not very well formatted).
e.g. it's possible to request the current playlist or track infos or you can send a stop and or play command.

here is a little example:
Request:
Code: [Select]
<?xml version="1.0" encoding="ISO-8859-1"?>
<REQUEST command="getCurrentPlaylist" value="" />

Response:
Code: [Select]
<?xml version="1.0" encoding="ISO-8859-1"?><RESPONSE><PLAYLIST><TRACK name='(Do You Want To) Make A Memory' /><TRACK name='(don&apos;t Worry) If There&apos;s A Hell Below, We&apos;re All Gonna Go' /></RESPONSE></PLAYLIST>
My Dreams come true to control MC12 from everywhere (pda, mobile phone, touchscreen, ...) and i'm started my Web2.0/AJAX-projekt... I'm dreamed about something like this: http://www.kavasoft.com/iTunesCatalog/example/index.php?lang=de

with MC12 as Library Server and Java (with DWR) as bridge between html-Frontend and MC12.

... but Days later i'm a little bit disappointed.

Remote Server delivers not all information who i need and often crashes at several points.

So RS stops sending a playlist, when 100042 characters are reached... and crashes after a while. 
When a song-title or artist has special characters like 'ä','ö','ß'... MC12 crashes too (see log)(command="getTrackInfo").
 
Code: [Select]
0006859: 3608: SDK: CMJAutomation::CMJAutomation: Global Count: 3, Main 0, 2f27d18
0006859: 3608: Playback: CDisplayPlugin::LoadPlugin: Start
0006859: 3608: Playback: CDisplayPlugin::LoadPlugin: Plugin: Cover Art
0006859: 3608: Playback: CDisplayPlugin::LoadPlugin: Finish (0 ms)
0006922: 3608: Playback: CPlayerZone::CreatePlaybackEngine: Finish (78 ms)
0006922: 3608: General: CLoaderThread::PerformAction: Waiting... (0 ms)
0006922: 3608: General: CLoaderThread::PerformAction: Finish (78 ms)
0006938: 3608: SDK: CMJCurPlaylistAutomation::CMJCurPlaylistAutomation: Global Count: 1
0006938: 3608: Reader: CLocalReader::OpenInternal: Opening: C:\Dokumente und Einstellungen\Messiahs\Anwendungsdaten\J River\Media Center 12\Connected Library\field (file size).jmd
0006938: 3608: Reader: CLocalReader::Close: Closing: C:\Dokumente und Einstellungen\Messiahs\Anwendungsdaten\J River\Media Center 12\Connected Library\field (file size).jmd
0006953: 3608: Reader: CLocalReader::OpenInternal: Opening: C:\Dokumente und Einstellungen\Messiahs\Anwendungsdaten\J River\Media Center 12\Connected Library\field (duration).jmd
0006953: 3608: Reader: CLocalReader::Close: Closing: C:\Dokumente und Einstellungen\Messiahs\Anwendungsdaten\J River\Media Center 12\Connected Library\field (duration).jmd
0006953: 3608: Reader: CLocalReader::OpenInternal: Opening: C:\Dokumente und Einstellungen\Messiahs\Anwendungsdaten\J River\Media Center 12\Connected Library\field (date).jmd
0006953: 3608: Reader: CLocalReader::Close: Closing: C:\Dokumente und Einstellungen\Messiahs\Anwendungsdaten\J River\Media Center 12\Connected Library\field (date).jmd
0006953: 3608: Reader: CLocalReader::OpenInternal: Opening: C:\Dokumente und Einstellungen\Messiahs\Anwendungsdaten\J River\Media Center 12\Connected Library\field (bitrate).jmd
0006953: 3608: Reader: CLocalReader::Close: Closing: C:\Dokumente und Einstellungen\Messiahs\Anwendungsdaten\J River\Media Center 12\Connected Library\field (bitrate).jmd
0006953: 3608: Reader: CLocalReader::OpenInternal: Opening: C:\Dokumente und Einstellungen\Messiahs\Anwendungsdaten\J River\Media Center 12\Connected Library\field (track #).jmd
0006953: 3608: Reader: CLocalReader::Close: Closing: C:\Dokumente und Einstellungen\Messiahs\Anwendungsdaten\J River\Media Center 12\Connected Library\field (track #).jmd
0006953: 3608: Reader: CLocalReader::OpenInternal: Opening: C:\Dokumente und Einstellungen\Messiahs\Anwendungsdaten\J River\Media Center 12\Connected Library\field (date created).jmd
0006953: 3608: Reader: CLocalReader::Close: Closing: C:\Dokumente und Einstellungen\Messiahs\Anwendungsdaten\J River\Media Center 12\Connected Library\field (date created).jmd
0006953: 3608: Reader: CLocalReader::OpenInternal: Opening: C:\Dokumente und Einstellungen\Messiahs\Anwendungsdaten\J River\Media Center 12\Connected Library\field (number plays).jmd
0006953: 3608: Reader: CLocalReader::Close: Closing: C:\Dokumente und Einstellungen\Messiahs\Anwendungsdaten\J River\Media Center 12\Connected Library\field (number plays).jmd
0006953: 3608: Reader: CLocalReader::OpenInternal: Opening: C:\Dokumente und Einstellungen\Messiahs\Anwendungsdaten\J River\Media Center 12\Connected Library\field (last played).jmd
0006953: 3608: Reader: CLocalReader::Close: Closing: C:\Dokumente und Einstellungen\Messiahs\Anwendungsdaten\J River\Media Center 12\Connected Library\field (last played).jmd
0006953: 3608: Reader: CLocalReader::OpenInternal: Opening: C:\Dokumente und Einstellungen\Messiahs\Anwendungsdaten\J River\Media Center 12\Connected Library\field (rating).jmd
0006953: 3608: Reader: CLocalReader::Close: Closing: C:\Dokumente und Einstellungen\Messiahs\Anwendungsdaten\J River\Media Center 12\Connected Library\field (rating).jmd
0006953: 3608: Reader: CLocalReader::OpenInternal: Opening: C:\Dokumente und Einstellungen\Messiahs\Anwendungsdaten\J River\Media Center 12\Connected Library\field (artist).jmd
0006953: 3608: Reader: CLocalReader::Close: Closing: C:\Dokumente und Einstellungen\Messiahs\Anwendungsdaten\J River\Media Center 12\Connected Library\field (artist).jmd
0006953: 3608: Reader: CLocalReader::OpenInternal: Opening: C:\Dokumente und Einstellungen\Messiahs\Anwendungsdaten\J River\Media Center 12\Connected Library\field (album).jmd
0006953: 3608: Reader: CLocalReader::Close: Closing: C:\Dokumente und Einstellungen\Messiahs\Anwendungsdaten\J River\Media Center 12\Connected Library\field (album).jmd
0006953: 3608: Reader: CLocalReader::OpenInternal: Opening: C:\Dokumente und Einstellungen\Messiahs\Anwendungsdaten\J River\Media Center 12\Connected Library\field (name).jmd
0006953: 3608: Reader: CLocalReader::Close: Closing: C:\Dokumente und Einstellungen\Messiahs\Anwendungsdaten\J River\Media Center 12\Connected Library\field (name).jmd
0006953: 2680: General: TopLevelExceptionFilter: Unhandled exception -- program crashing

Perhaps a JR-Member can fix this problems and can extend the xml-response with needed elements.

I don't have the skill and time to write my own xml-socket-server-plugin... so i hope these bugs will be fixed in the near future.

cherrs!,
Messiahs

JimH

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 72438
  • Where did I put my teeth?
Re: Bugs and feature Requests to Remote Server
« Reply #1 on: July 29, 2007, 06:44:23 pm »

Thanks for the details.  That helps.  We'll take a look at this in the next few days.
Logged
Pages: [1]   Go Up