Illegal characters/lookup metadata
Forum rules
Please make sure you follow the Problem Reporting Guidelines before posting if you want a reply
Please make sure you follow the Problem Reporting Guidelines before posting if you want a reply
Illegal characters/lookup metadata
Why do I get a lot of these sorts of things:
The titles on the filesystem don't seem to include strange characters. I'm guessing there's something inside the files that is being parsed. is it the '&' character inside the files somewhere?
I can I fix these?
Code: Select all
INFO 21:44:49.888 [Lookup Metadata background worker 15] Exception in thread "Lookup Metadata background worker 15" java.lang.IllegalArgumentException: Illegal character in query at index 64: /api/media/video/v2?title=Nurarihyon+no+Mago&season=1&episode=12 5
INFO 21:44:49.888 [Lookup Metadata background worker 15] at java.base/java.net.URI.create(Unknown Source)
INFO 21:44:49.888 [Lookup Metadata background worker 15] at java.base/java.net.URI.resolve(Unknown Source)
INFO 21:44:49.888 [Lookup Metadata background worker 15] at net.pms.util.FileUtil.urlFrom(FileUtil.java:291)
INFO 21:44:49.888 [Lookup Metadata background worker 15] at net.pms.external.umsapi.APIUtils.getInfoFromAllExtractedData(APIUtils.java:950)
INFO 21:44:49.888 [Lookup Metadata background worker 15] at net.pms.external.umsapi.APIUtils.getAPIMetadata(APIUtils.java:848)
INFO 21:44:49.888 [Lookup Metadata background worker 15] at net.pms.external.umsapi.APIUtils.lambda$backgroundLookupAndAddMetadata$0(APIUtils.java:355)
INFO 21:44:49.888 [Lookup Metadata background worker 15] at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
INFO 21:44:49.888 [Lookup Metadata background worker 15] at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
INFO 21:44:49.888 [Lookup Metadata background worker 15] at java.base/java.lang.Thread.run(Unknown Source)
INFO 21:44:49.888 [Lookup Metadata background worker 15] Caused by: java.net.URISyntaxException: Illegal character in query at index 64: /api/media/video/v2?title=Nurarihyon+no+Mago&season=1&episode=12 5
INFO 21:44:49.888 [Lookup Metadata background worker 15] at java.base/java.net.URI$Parser.fail(Unknown Source)
INFO 21:44:49.888 [Lookup Metadata background worker 15] at java.base/java.net.URI$Parser.checkChars(Unknown Source)
INFO 21:44:49.888 [Lookup Metadata background worker 15] at java.base/java.net.URI$Parser.parseHierarchical(Unknown Source)
INFO 21:44:49.888 [Lookup Metadata background worker 15] at java.base/java.net.URI$Parser.parse(Unknown Source)
INFO 21:44:49.888 [Lookup Metadata background worker 15] at java.base/java.net.URI.<init>(Unknown Source)
INFO 21:44:49.888 [Lookup Metadata background worker 15] ... 9 more
I can I fix these?
Re: Illegal characters/lookup metadata
Could you post your logs so I can see what is happening? see the section in red above.
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.
Re: Illegal characters/lookup metadata
Sure, I think... my .conf/UMS/debug.log has things like this...
Code: Select all
DEBUG 2024-10-08 00:46:58.948 [Lookup Metadata background worker 17] API status was 404 for {"error":"Metadata not found."}
, https://api.universalmediaserver.com/api/media/video/v2?title=Perry.Mason.717.The.Bountiful.Beauty.%28Tvrip%29
DEBUG 2024-10-08 00:46:59.064 [Lookup Metadata background worker 17] API status was 404 for {"error":"Metadata not found."}
, https://api.universalmediaserver.com/api/media/video/v2?title=Perry.Mason.718.The.Nervous.Neighbor.%28Tvrip%29
DEBUG 2024-10-08 00:46:59.185 [Lookup Metadata background worker 17] API status was 404 for {"error":"Metadata not found."}
, https://api.universalmediaserver.com/api/media/video/v2?title=Perry.Mason.719.The.Fifty-Millionth.Frenchman.%28Tvrip%29
DEBUG 2024-10-08 00:46:59.296 [Lookup Metadata background worker 17] API status was 404 for {"error":"Metadata not found."}
, https://api.universalmediaserver.com/api/media/video/v2?title=Perry.Mason.720.The.Frightened.Fisherman.%28Tvrip%29
DEBUG 2024-10-08 00:46:59.348 [Lookup Metadata background worker 17] API status was 404 for {"error":"Metadata not found."}
, https://api.universalmediaserver.com/api/media/video/v2?title=Perry.Mason.721.The.Arrogant.Arsonist.%28Tvrip%29
DEBUG 2024-10-08 00:46:59.456 [Lookup Metadata background worker 17] API status was 404 for {"error":"Metadata not found."}
, https://api.universalmediaserver.com/api/media/video/v2?title=Perry.Mason.722.The.Garrulous.Go-Between.%28Tvrip%29
DEBUG 2024-10-08 00:46:59.585 [Lookup Metadata background worker 17] API status was 404 for {"error":"Metadata not found."}
, https://api.universalmediaserver.com/api/media/video/v2?title=Perry.Mason.723.The.Woeful.Widower.%28Tvrip%29
DEBUG 2024-10-08 00:46:59.692 [Lookup Metadata background worker 17] API status was 404 for {"error":"Metadata not found."}
, https://api.universalmediaserver.com/api/media/video/v2?title=Perry.Mason.724.The.Simple.Simon.%28Tvrip%29
DEBUG 2024-10-08 00:46:59.811 [Lookup Metadata background worker 17] API status was 404 for {"error":"Metadata not found."}
, https://api.universalmediaserver.com/api/media/video/v2?title=Perry.Mason.725.The.Illicit.Illusion.%28Tvrip%29
Re: Illegal characters/lookup metadata
This might be more appropriate to the illegal character issues:
Code: Select all
DEBUG 2024-10-08 00:44:15.103 [main] Added file watch at /mnt/Torrents/Video/N/Nurarihyon no Mago: /mnt/Torrents/Video/**
DEBUG 2024-10-08 00:44:47.560 [Media Scanner] Scanning folder: Nurarihyon no Mago
INFO 2024-10-08 00:45:09.952 [Lookup Metadata background worker 15] Exception in thread "Lookup Metadata background worker 15" java.lang.IllegalArgumentException: Illegal character in query at index 64: /api/media/video/v2?title=Nurarihyon+no+Mago&season=1&episode=12 5
INFO 2024-10-08 00:45:09.953 [Lookup Metadata background worker 15] Caused by: java.net.URISyntaxException: Illegal character in query at index 64: /api/media/video/v2?title=Nurarihyon+no+Mago&season=1&episode=12 5
Re: Illegal characters/lookup metadata
That is not much help with no context and most of the info hidden.
I will need to see your full trace logs to be of any help.
I will need to see your full trace logs to be of any help.
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.