[Solved] UMS 14.10.1 Issue with scan of the folders

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
Capiray
Posts: 34
Joined: Sun Jan 08, 2017 1:33 pm
Location: Canada

[Solved] UMS 14.10.1 Issue with scan of the folders

Post by Capiray »

Hi,

I Have notice that the scan of the files don't complete itself. Seem to freeze the process.This only started with this version of the UMS, as It is working fine with version 14.10.0.

2025-02-19 16-35-24.png
2025-02-19 16-35-24.png (57.86 KiB) Viewed 6141 times
Attachments
ums_dbg_2025-02-19-17-02.zip
(988.96 KiB) Downloaded 468 times
User avatar
mik_s
Moderator
Posts: 1436
Joined: Wed Aug 23, 2017 11:03 pm
Location: UK

Re: UMS 14.10.1 Issue with scan of the folders

Post by mik_s »

There are a few warnings that have started to appear in the logs for people recently but are not important to UMS functioning so they can probably be ignored. This was mentioned on Github recently.

The only other error is a scanning a file with "CC1" subtitles

Code: Select all

TRACE 2025-02-19 16:32:00.696 [Media Scanner] net.pms.store.MediaInfoStore Store does not yet contain MediaInfo for I:\Séries\Magnum P I\Saison 5\Magnum P I 2018 S05E01 WEBRip x264-ION10.mp4
ERROR 2025-02-19 16:32:00.871 [Media Scanner] net.pms.store.MediaScanner Unhandled exception during media scan: For input string: "CC1"
TRACE 2025-02-19 16:32:00.872 [Media Scanner] net.pms.store.MediaScanner 
java.lang.NumberFormatException: For input string: "CC1"
	at java.base/java.lang.NumberFormatException.forInputString(Unknown Source)
	at java.base/java.lang.Long.parseLong(Unknown Source)
	at java.base/java.lang.Long.valueOf(Unknown Source)
	at net.pms.parsers.MediaInfoParser.getSpecificID(MediaInfoParser.java:1090)
	at net.pms.parsers.MediaInfoParser.parse(MediaInfoParser.java:505)
	at net.pms.parsers.Parser.parse(Parser.java:79)
	at net.pms.store.MediaInfoStore.getMediaInfo(MediaInfoStore.java:152)
	at net.pms.store.item.RealFile.resolve(RealFile.java:254)
	at net.pms.store.StoreContainer.addChild(StoreContainer.java:122)
	at net.pms.store.container.VirtualFolder.manageFile(VirtualFolder.java:115)
	at net.pms.store.container.VirtualFolder.analyzeChildren(VirtualFolder.java:198)
	at net.pms.store.container.VirtualFolder.discoverChildren(VirtualFolder.java:323)
	at net.pms.store.MediaScanner.scan(MediaScanner.java:141)
	at net.pms.store.MediaScanner.scan(MediaScanner.java:147)
	at net.pms.store.MediaScanner.scan(MediaScanner.java:147)
	at net.pms.store.MediaScanner.startScan(MediaScanner.java:98)
	at net.pms.store.MediaScanner.lambda$startMediaScan$0(MediaScanner.java:198)
	at java.base/java.lang.Thread.run(Unknown Source)
I have seen this several times but as that format of sub is uncommon it would help if the devs had this file to test with and fix this error.
Any chance you could upload it somewhere so we can get a copy? You can use something like google drive or mega.nz and send the link but probably better to send in a PM.

Besides that there is nothing else wrong in your logs so should be working fine (not counting that 1 video) and scanning is finishing I think unless this has stopped it.
Logs are important for us to help, Please follow This Link before asking for support. Just a forum cleaner, Will help if I can but no expert.
Capiray
Posts: 34
Joined: Sun Jan 08, 2017 1:33 pm
Location: Canada

Re: UMS 14.10.1 Issue with scan of the folders

Post by Capiray »

@mik_s

I have send to you personally the Mega link. Tks!
User avatar
mik_s
Moderator
Posts: 1436
Joined: Wed Aug 23, 2017 11:03 pm
Location: UK

Re: UMS 14.10.1 Issue with scan of the folders

Post by mik_s »

Thanks I got it.

I'll do some testing with this later when I get time to confirm this and if somehow it stops media scanning.
If it does I'll send the link to the devs so they can trace the bug.

In the meantime if you think scanning is not completing then move this video to another folder that is not shared and the scanning should finish.
Logs are important for us to help, Please follow This Link before asking for support. Just a forum cleaner, Will help if I can but no expert.
User avatar
mik_s
Moderator
Posts: 1436
Joined: Wed Aug 23, 2017 11:03 pm
Location: UK

Re: UMS 14.10.1 Issue with scan of the folders

Post by mik_s »

I think this is a much more serious issue than I thought.
I assumed this file was just ignored and the scanning would continue but when I had that video in my shared folder it would appear empty. Removing it restored the contents.
Scanning appears to stop too once it reaches this video so anything else won't be scanned.

I have mentioned this on Github so hopefully it will be a priority to fix.

For now just move that to another folder that is not shared and restart UMS and it should complete scanning.
It might be possible that you have multiple videos with this so keep an eye on the logs for errors and move any videos that show up.
Logs are important for us to help, Please follow This Link before asking for support. Just a forum cleaner, Will help if I can but no expert.
User avatar
mik_s
Moderator
Posts: 1436
Joined: Wed Aug 23, 2017 11:03 pm
Location: UK

Re: UMS 14.10.1 Issue with scan of the folders

Post by mik_s »

This has just been fixed and is waiting for code review before being merged. It should be in the next release.
Subjunk may be able to do a test build for you to try.
Logs are important for us to help, Please follow This Link before asking for support. Just a forum cleaner, Will help if I can but no expert.
User avatar
SubJunk
Lead Developer
Posts: 3797
Joined: Sun May 27, 2012 4:12 pm

Re: UMS 14.10.1 Issue with scan of the folders

Post by SubJunk »

I can make the test build for you if you want, please let me know if you are willing to try it :)
Capiray
Posts: 34
Joined: Sun Jan 08, 2017 1:33 pm
Location: Canada

Re: UMS 14.10.1 Issue with scan of the folders

Post by Capiray »

Hey, Sure! Send it to me!

Let keep moving on!

Love your Application! This change the way we watch (T.V.) Today! At my Age... at 60 year old :D

Also thanks to mik_s to lesson to us, even if we have some problem to explain the issues that we have. :lol:

Regards,

Capiray
Capiray
Posts: 34
Joined: Sun Jan 08, 2017 1:33 pm
Location: Canada

Re: UMS 14.10.1 Issue with scan of the folders

Post by Capiray »

Hi,

The fix work, the scan when until the end.

Please see attach log if need be for reviewing.

Regard,

Capiray.
Attachments
ums_dbg_2025-02-26-14-28.zip
(3.54 MiB) Downloaded 446 times
User avatar
SubJunk
Lead Developer
Posts: 3797
Joined: Sun May 27, 2012 4:12 pm

Re: [Solved] UMS 14.10.1 Issue with scan of the folders

Post by SubJunk »

Thanks for your kind words and testing, I'm glad we could fix it! That fix will be in the next release
Post Reply