mirror of
https://github.com/nzbgetcom/nzbget.git
synced 2026-03-02 22:57:10 -05:00
Videosort not reading special characters #102
Labels
No labels
bug
documentation
enhancement
extension
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/nzbget#102
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @sdburrows on GitHub (Apr 11, 2024).
Originally assigned to: @dnzbk on GitHub.
Is there already an issue for this request?
Describe your issue
NZBGET version 23.1-testing-20240313
VideoSort version 10.1
There might be an issue with special character support i.e. the show Shōgun has been renamed as "Sh Gun".
@sdburrows commented on GitHub (Apr 16, 2024):
Additional log details:
Video Sort: 'charmap' codec can't encode character '\u014d' in position 26: character maps to <undefined>@dnzbk commented on GitHub (Apr 17, 2024):
Thanks for the report, but I wasn't able to reproduce the problem completely.
I got the exact error described in your logs which is not difficult to fix, but not the problem with the final file name after the processing.
Could you provide more info about your system, Python version, VideoSort settings?
Getting the NZB file you used would also be very helpful.
@sdburrows commented on GitHub (Apr 17, 2024):
@dnzbk, I am on python v3.12.3, Videosort v10.2. The settings for series is:
%sn\Season %0s\%sn - S%0sE%0e - %en [%qss][%qf][%qrg]NZB: https://www.transfernow.net/dl/20240417hL3xLYHS
Final folder output is:
Sh Gun 2024\Season 01\Sh Gun 2024 - S01E01 - Anjin [2160p][Web][playWEB]@dnzbk commented on GitHub (Apr 18, 2024):
@sdburrows
Сouldn't confirm. This is what I got:
\complete\series\Shogun 2024\Season 01\Shogun 2024 - S01E01 - Anjin [2160p][Web][playWEB].mkvI tested on Windows 11/macOS Ventura with NZBGet v23.1 and VideoSort 10.2.
I also added a new test case to check the spec. chars.
Is that the same NZB you used previously? I don't see any special chars like
ōin the name.I prepared a new version of VideoSort, in which I updated the guessit library to version 3.8 and fixed the bug you described in your logs. If you would be able to test it on your system that would be really great.
VideoSort 10.3.zip
@sdburrows commented on GitHub (Apr 23, 2024):
@dnzbk
I have updated VideoSort to v10.3.
This is the latest error:
The final file was not renamed nor moved to its final destination. Also looks like there is a problem with Fake Detector too.
I am sharing two more NZBs that may be problematic. Apologies, I cant test it myself as v10.3 of Videosort is broken for me.
https://www.transfernow.net/dl/20240423Pm1BSvf2
@dnzbk commented on GitHub (Apr 25, 2024):
@sdburrows
I released new versions of VideoSort and FakeDetector. Feel free to update to the new versions via Extension Manager.
At least the
UnicodeEncodeErrorerror should go away. I hope the file name problem is gone too.But again, I was unable to reproduce it, unfortunately.
@sdburrows commented on GitHub (Apr 25, 2024):
@dnzbk, thanks for the update. I just tried it. Still the same, The special character is replaced with a space. But at least the errors are gone.
The file I used for testing was: https://www.transfernow.net/dl/20240425ZbbLKCBd
@sdburrows commented on GitHub (Sep 12, 2024):
I seem to be having issues with videosort not renaming files properly. Please find link to two NZBs. NZBget managed to download them but it does not rename the files nor move them to their final location but just get dumped within the Completed folder. I believe this issue may be related to special characters - one file has ":" and the other may have "'" in the filename.
There was no errors within the log.
Please take a look for me: Link
@dnzbk commented on GitHub (Sep 12, 2024):
I tested both NZBs and they worked fine for me. The results names didn't have any special symbols at all.
I used the default VideoSort settings. Could you tell me what your settings are so I can try them?
It seems like the problem might be related to your OS's locale settings.
What locale are you using? If it’s not
English (United States)could you try usingUnicode UTF-8?@sdburrows commented on GitHub (Sep 13, 2024):
@dnzbk, I have sent you an email to Denis [@] nzbget [.] com
@liv-mrr commented on GitHub (Oct 16, 2024):
NZBGET version 24.4-testing-20241009
VideoSort version 10.3
OS Windows 10
I have probably relative issue with special characters and OS's locale settings
Files are downloaded but aren't moved to final destination