Duplicate Track Listings/m3u files?

For help and support with Universal Media Server
Forum rules
Please make sure you follow the Problem Reporting Guidelines before posting if you want a reply
Post Reply
whyterhyno
Posts: 2
Joined: Sun Jan 13, 2013 4:15 pm

Duplicate Track Listings/m3u files?

Post by whyterhyno »

Hi -- I am having an issue where if there is an m3u file in any given directory, the audio files will display twice on the renderer device when browsing or queueing for playback. I do see in the server logs where it appears that the server first scans the directory for files, adds them, then loads the m3u file and loads them. This seems to happen with a variety of renderers ( wdtv live, bubbleupnp on android, etc.). They do not seem to appear twice on the playstation so I think it may have something to do with the renderer configuration, but looking at the renderer conf files I am unable to see anything that is obviously relevant.

I have searched around this forum, and googled in general, but haven't found anything definitive, and was wondering if there was a way I could 'disable' the m3u scanning/loading as needed, either as a server setting or a renderer setting? I would just delete the files, however some of these files are part of torrents I would like to continue to seed and removing the m3u files breaks seeding.

I"m running the latest stable UMS 2.2.1 on Win 7 using JDK 7 (1.70_09). I've been using pms for years before switching to UMS, and have seen this issue previously on Android, but it also appears to have just started happening recently on the WDTV live box. Anyone have any ideas?

Finally, thanks in advance for any help, and also thanks to the devs for a spectacularly great media server!
whyterhyno
Posts: 2
Joined: Sun Jan 13, 2013 4:15 pm

Re: Duplicate Track Listings/m3u files?

Post by whyterhyno »

Actually, looking at it a bit more, it appears that it actually may be the .cue file that is included in the directories with the FLAC's that is causing the issue, or the interaction between the m3u and the cue. On the renderer the .cue file looks like a directory.

1-13 00:07:25 Exception in thread "pool-15-thread-1" java.lang.NullPointerException
01-13 00:07:25 at net.pms.dlna.CueFolder.resolve(CueFolder.java:169)
01-13 00:07:25 at net.pms.dlna.DLNAResource.run(DLNAResource.java:828)
01-13 00:07:25 at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
01-13 00:07:25 at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
01-13 00:07:25 at java.lang.Thread.run(Unknown Source)

Anyway, sorry for the noob posts, but still would love to see if anyone has any solution for my FLAC's showing twice in the listings. I have attached a debug zip created with the 'autopack' feature. In there you can see the exception, as well as the server indicating adding extra entries for m3u.
Attachments
ums_dbg.zip
(15.38 KiB) Downloaded 499 times
User avatar
SubJunk
Lead Developer
Posts: 3797
Joined: Sun May 27, 2012 4:12 pm

Re: Duplicate Track Listings/m3u files?

Post by SubJunk »

I've put a possible fix in the upcoming version which should be released within the next day or so
starterz
Posts: 23
Joined: Sun Jan 13, 2013 7:40 am

Re: Duplicate Track Listings/m3u files?

Post by starterz »

SubJunk wrote:I've put a possible fix in the upcoming version which should be released within the next day or so
Super-duper, I wrote about the same problem yesterday in a separate thread. It is the .cue file that is the cause, since I don't have any .m3u in my folders.

I posted my debug files too, please contact me if any additional information/testing is needed.

All best.
User avatar
SubJunk
Lead Developer
Posts: 3797
Joined: Sun May 27, 2012 4:12 pm

Re: Duplicate Track Listings/m3u files?

Post by SubJunk »

Feel free to post new debug logs if it isn't fixed in 2.3.0
TronixA8271
Posts: 2
Joined: Fri May 10, 2013 3:44 am

Re: Duplicate Track Listings/m3u files?

Post by TronixA8271 »

Hi,
I am using version 3.0.0 a1 and I am having the same issue when I am playing shows. The show basically just stops in the middle of playing and if I play the show, it will start from the beginning. Here is a copy of the log:

Code: Select all

05-18 17:06:55  Started playing S02E18 - Volcanalis.mkv on your PlayStation 3
05-18 17:07:22  Exception in thread "Thread-3310" java.lang.NullPointerException
05-18 17:07:40  Exception in thread "Thread-3530" java.lang.NullPointerException
05-18 17:07:40  	at net.pms.io.BufferedOutputFileImpl.shiftVideo(BufferedOutputFileImpl.java:586)
05-18 17:07:40  	at net.pms.io.BufferedOutputFileImpl.write(BufferedOutputFileImpl.java:384)
05-18 17:07:40  	at net.pms.io.OutputBufferConsumer.run(OutputBufferConsumer.java:57)

Post Reply