pavkout / android-vlc-remote

Automatically exported from code.google.com/p/android-vlc-remote
GNU General Public License v3.0
0 stars 0 forks source link

XML parsing errors #74

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Install a recent version of VLC (1.1.3 for me)
2. Enable http external control from phone (LAN config & 
/usr/share/vlc/http/.hosts)
3. Lunch android-vlc-remote, try to control vlc, you'll get empty messages and 
some XML parsing errors like «not well formed (invalid token)»

What version of VLC Remote are you using?
0.4.3

What version of VLC are you using?
1.1.3

What version of Android are you using?
2.2.1

Which Android device are you using?
HTC Wildfire

Please provide any additional information below.
I like that soft very much, and I'd love to help making it better.
I could help on coding using a external XML parser if you're not actually 
working on that. 

Original issue reported on code.google.com by brunet...@gmail.com on 24 Mar 2011 at 1:53

GoogleCodeExporter commented 8 years ago
For info, the status.xml content : 
<?xml version="1.0" encoding="utf-8" standalone="yes" ?><root> 
  <volume>148</volume> 
  <length>5322</length> 
  <time>441</time> 
  <state>playing</state> 
  <position>0,082911893725395</position> 
  <fullscreen></fullscreen> 
  <random>false</random> 
  <loop>false</loop> 
  <repeat>false</repeat> 
  <information> 
    <category name="meta"> 
    <info name='setting'> HAS_INDEX TRUST_CKTYPE</info><info name='filename'>Le pere Noel est une ordure.avi</info>    </category> 
  <category name='Flux 0'><info name='Type '>Vidéo</info><info name='Débit d'images '>25</info><info name='Résolution '>672x448</info><info name='Codec '>MS MPEG-4 Video v3 (DIV3)</info></category><category name='Flux 1'><info name='Canaux '>Stéréo</info><info name='Fréquence d'échantillonnage'>48000 Hz</info><info name='Type '>Audio</info><info name='Débit '>96 kb/s</info><info name='Codec '>MPEG Audio layer 1/2/3 (mpga)</info></category>  </information> 
  <stats> 
  <lostabuffers>9</lostabuffers> 
<readpackets>553</readpackets> 
<lostpictures>2</lostpictures> 
<demuxreadbytes>1549252</demuxreadbytes> 
<demuxbitrate>0,12277332693338</demuxbitrate> 
<playedabuffers>485</playedabuffers> 
<demuxcorrupted>0</demuxcorrupted> 
<sendbitrate>0</sendbitrate> 
<sentbytes>0</sentbytes> 
<displayedpictures>304</displayedpictures> 
<demuxreadpackets>0</demuxreadpackets> 
<sentpackets>0</sentpackets> 
<inputbitrate>0,12381422519684</inputbitrate> 
<demuxdiscontinuity>0</demuxdiscontinuity> 
<averagedemuxbitrate>0</averagedemuxbitrate> 
<decodedvideo>294</decodedvideo> 
<averageinputbitrate>0</averageinputbitrate> 
<readbytes>3834664</readbytes> 
<decodedaudio>485</decodedaudio> 
  </stats> 
</root> 

Original comment by brunet...@gmail.com on 24 Mar 2011 at 1:58

GoogleCodeExporter commented 8 years ago
Is this 100% reproducible or does it just happen sometimes?

Original comment by mr.bald...@gmail.com on 11 Jun 2011 at 3:52

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
Can you also provide your vlc host platform?

Does the error happens when you select the host from your phone or when you try 
to play something?

Original comment by Benoit.J...@gmail.com on 12 Jun 2011 at 8:48

GoogleCodeExporter commented 8 years ago
I installed VLC 1.1.3
But i wasn't able to reproduce that issue.

Original comment by Benoit.J...@gmail.com on 12 Jun 2011 at 3:22

GoogleCodeExporter commented 8 years ago
Here is the error:
<info name='Débit d'images '>
This is not valid XML because the 'images' attribute does not have a value.

Please file a bug against VLC.

Original comment by mr.bald...@gmail.com on 18 Jul 2011 at 5:38

GoogleCodeExporter commented 8 years ago
please , can you explain me the containt of the tag stats. I do the same thing 
with J2ME but i don't reach to do the evolution of the media

Original comment by Fosso.Ma...@gmail.com on 26 Sep 2011 at 11:37

GoogleCodeExporter commented 8 years ago
Hi, I do not use android-vlc-remote for the moment so I'm not able to give you 
details :s Sorry. 
I think you can close the ticket. Apparently I'm the only one to have that 
problem. 

Original comment by brunet...@gmail.com on 26 Sep 2011 at 6:22