Closed GoogleCodeExporter closed 9 years ago
I just updated to Cyanogen 4.2.3.1, I can't reproduce this problem. Can you
still
verify this?
Original comment by stefan.a...@gmail.com
on 2 Nov 2009 at 7:26
I'm running on 4.2.3.1 now too, so I will try it tommorow (have different mpd
at home)
and let you know.
Original comment by kep...@gmail.com
on 2 Nov 2009 at 7:34
I had this issue, the problem was any playlists on the server result in
org.a0z.mpd.Music being instantiated with a null filename. I modified
Music.getFilename() to return an empty string if Music.filename is null, but it
might
be better to just ignore playlist entries in MPD.getDir(), at least until
playlist
support is added.
Original comment by gregory....@gmail.com
on 18 Nov 2009 at 5:01
Sorry for lack of updates from my side. I tried it today with latest cyan
4.2.5, error
is still same. On this location, I have bigger music collection here than home
(no
problem with this at home).
Original comment by kep...@gmail.com
on 18 Nov 2009 at 8:16
I can confirm the crash on my google g1 with android 1.5 crc37 with root rights.
I installed 0.4beta3 with adb install. I use mpd version 0.14.
Same crash. Anything I can help with?
Original comment by waldemar...@googlemail.com
on 23 Nov 2009 at 7:40
I got a very similar crash also, found out it was because I had a bunch of
playlists,
debugged it, and if a playlist is found, in MPD.java:
if (... || line.startsWith("playlist: ") ...
...
result.add(new Music(file));
A playlist doesn't have a "file:" entry, so fullpath ends up as null in the
Music
constructor (which is bound to cause trouble, you should put an assert in there
or
something to ensure Music has a fullpath, or else it crashes on
Music.getFileName(),
as it counts on fullpath not being null.
This patch fixes my problem at least...
Original comment by magn...@gmail.com
on 2 Dec 2009 at 11:47
Attachments:
I have the same problem. I'll try your diff and see if this fixes my problem.
Might
take a while because I will have to install the whole SDK...
regards
K
Original comment by kasper.j...@gmail.com
on 3 Dec 2009 at 3:10
Hello,
Thanks for the patch... I will have a look at this next week, stay tuned...
Original comment by stefan.a...@gmail.com
on 4 Dec 2009 at 5:47
Original comment by stefan.a...@gmail.com
on 4 Dec 2009 at 5:49
Hello,
I fixed the bug which happens when there is a playlist in the directory (as
magnepz
mentioned). I'm not sure if the original backtrace posted also suffers this
problem.
Please try again 0.4-beta4 (will be published tonight), and reopen this bug it
still
happen to you...
Thanks
Stefan
Original comment by stefan.a...@gmail.com
on 10 Dec 2009 at 7:30
Original issue reported on code.google.com by
kep...@gmail.com
on 2 Nov 2009 at 9:08Attachments: