-
Notifications
You must be signed in to change notification settings - Fork 120
Audio stream language exception list #756
Comments
Good idea. Not too hard to implement. Expect this soon. |
One more thing, its not actually that important but it would provide an easier way how to check for SZ version. Currently I have to navigate to SZ plugin directory and check Info.plist file for version (I haven't found it elsewhere). Could there be a version number mentioned in Settings interface in Plex? |
Am I missing something or is that already supported?
How are you installing SZ? It's listed in the official plugin repository, thus, when SZ is installed without DEV mode, it will get auto updated. |
I tried that feature and it didn't work as expected. Lets say Subtitle (1) is set to English as I want to download only English subtitles and I don't want subtitles for audio in Czech, Slovak and Undefined (titles without audio; btw, there is no code for that in ISO-639-1 but is in ISO-639-2 as ZXX) which are configured in "Additional Subtitle Languages" for option "Download subtitles" to work. As all my titles have only one audio (and that's a rule) I set "Download subtitles" to "When main audio stream is not any configured language", this also exclude English which I want it to download. Now, I tried to remove English and set lets say Czech in its place, but instead of English subtitles it downloaded subtitles in Czech and Slovak because main audio was English. It worked correctly for titles in Czech and Slovak but was not working correctly for 99% of other titles that are in English. Options you mentioned mix title audio language with subtitle language together and they are two separate entities. Therefore I was proposing an field for dedicated audio language exclusion not subtitle language inclusion/exclusion which is in place.
It is installed as per instructions here and I believe it is updating correctly, what I miss is some reference point in UI to be able to say "Ah, version changed from X to Y there are some changes let me see if change log contains feature that I expect it to be there". |
Should be fixed in the latest dev 2.6 version. Please test it, afterwards I'll release the latest version. |
Keep in mind: The implementation was of the simpler sort, meaning: a force refresh will still ignore this setting. I might change that sometime. |
Hi, sorry for the delay. I installed Dev branch and have removed subtitles for three titles that all had subtitles downloaded via SubZero. One title has English audio, the second has Slovak audio and last one is mute movie only with some music so audio is marked as Not Applicable (ISO-639-2 code zxx). I don't have any title without audio stream so I am unable to test NULL option. Configuration was adjusted for English subtitles to be downloaded for any language except Czech, Slovak, Not Applicable (zxx) and NULL (as per picture below). I also configured DEBUG output so I can verify actions in log. After refreshing metadata for title with Slovak audio I noticed a debug message in log (see below) and no subtitles were downloaded. This behaviour is as expected. Same goes for title with Not Applicable (zxx) audio.
After refreshing metadata for title with English audio, there are no subtitles downloaded and that seems to be wrong. Log messages are below. Just to be sure, I manually checked only two places that this title can have subtitles stored in and there are none. EDIT: I tested this also on different title than with English audio that should have subtitles downloaded and result is the same.
|
Also some log messages are a bit weird, but that might not be important:
Title is called The Line or Čiara, GuessIt found "title": "The", and that is being used later in "Skipping subtitle search for <Movie ['The', 2017]>". Also log line "subliminal_patch.core: external subs: scanning path" is scanning a path but the log contains path to a file not a folder. |
So the feature works as expected? |
As I mentioned before, I don't think so. The new feature works fine but I think subtitle downloading for rest got somehow broken:
|
This doesn't necessarily mean it doesn't work. Can you refresh the item in question, then post the logs again? |
As I said, these are the logs for title that I refreshed metadata for after removing subtitles manually, for SubZero to download them again and SubZero didn't download anything and in log could be found those three lines. SubZero now says that there is everything in place "We have at least one external subtitle for any configured language." but there are not subtitles for this title at all (as per screenshot attached). When I tested SubZero before on this very same title, this steps resulted in SubZero re-downloading this subtitles. That's not happening now. |
Please refresh the item in question via Plex UI, then post the logs again. |
|
Is this a new option? After changing it, it started to work but I don't remember changing that when I was using master branch, value that I had there was 'Any'. Right now everything seems to be working as expected. |
Great. No the option is relatively old, and its default is "loose". |
Thank you for your time and dedication! There is some beer on the way to you. ;) |
Cheers! |
Hi, any idea when will next version be released? Last release seems to be almost a year ago. |
You're right, I could release the current changes. Will do, soon! |
Hi,
adding a field where you could provide comma-separated ISO-639-1 codes for main or any audio stream languages, that subtitles would not be downloaded, could be a great addition to this awesome tool. I am having a multiple titles in language that subtitles are not needed, yet sub-zero downloads them anyway and usually they are incorrect. I know there is possibility to exclude this title with ".sz" file but mentioned feature would be much easier to use in case I have quite a lot of such titles.
Also option to switch and support to ISO 639-2 would be awesome as well.
Thank you.
The text was updated successfully, but these errors were encountered: