issue with applying a color to a line that contains ":[a letter]"
in my SZ configuration I have stated that I want all my texts to be forced into plain white text. and it works well for the most part. the exception is when there is a acronym of some agency or country followed by a ":s" that something weird happens. see the below examples:
from opensubtitles Salt (2010):
652
01:28:26,018 --> 01:28:29,174
Jag vill ha henne ensam i ett rum.
Ifall det finns fler KGB:are-
gets converted into:
652
01:28:26,018 --> 01:28:29,174
<font color="#FFFFFF">Jag vill ha henne ensam i ett rum.</font>
are-</font>
from opensubtitles Bridge of spies (2015)
622
00:43:42,246 --> 00:43:48,418
Jag tror att det ligger i USA:s intresse -
gets converted into:
622
00:43:42,246 --> 00:43:48,418
s intresse -</font>
the bridge of spies have plenty of examples since they refer to USA a few times. they also refer to the KGB once. interestingly the bridge of spies movie also have one instance where it isn't converted erroneously:
1747
02:10:34,828 --> 02:10:38,248
<i>Nyligen har USA:s regering</i> -
into
1747
02:10:34,828 --> 02:10:38,248
<i>Nyligen har USA:s regering</i> -
but here SZ didn't put it into white because it was already in some kind of html tag.
I've spotted these issues across plenty of movies but haven't realized what the issue have been. I've though it have been random until I saw bridge of spies last night.
I'm not sure if it matters but this is in Swedish. I'm not sure if this is an issue in other languages. also there isn't an issue with following numbers. I'm certain of that ":a" and ":s" is converted wrongly, but there could be other combination that causes this behavior.
Hmm, I think this may be related to hearing impaired stuff. Do you have the HI mod active?
yupp.
Can you give me the original, unmodified subtitle file so I can debug this? Just remove all mods using the modify menu, then attach the subtitle file here.
Edit: Which SZ version are you on?
I think I found the issue. Do you have the means to install develop-2.0?
Edit: I've just pushed a fix to develop-2.0.
I think so, will I have to reconfigure SZ?
Nope, just follow the instructions here: https://github.com/pannal/Sub-Zero.bundle/wiki/Developers-Corner#manualdevelopmenttesting-installation
Instead of downloading a release you download https://github.com/pannal/Sub-Zero.bundle/archive/develop-2.0.zip
The dev mode flag is already set.
Edit: Then re-apply the mods for one of the files where the problem exists (remove one mod, then re-add it, will re-apply all mods). If the problem is fixed, you can go to the advanced menu and re-apply all applied mods to your subtitles. Depending on your library size, this can take a couple of minutes.
aright, done. what now?
See my edit above.
I can't find the sub-zero channel. I can access the settings through agents in the settings but nothing under channels.
Woot, did you restart your PMS?
yepp, service plexmediaserver stop and then start when i was finished
and i just restarted again, still nothing.
Humm. The folder is named as "Sub-Zero.bundle" and not "Sub-Zero.bundle-develop-2.0"?
Sub-Zero.bundle with plex:plex 755 permissions
/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Plug-ins/Sub-Zero.bundle
is the exact copy pasta
Hmm. You can access the agent settings but not the channel itself? Can you attach the newest SZ log files?
Sub-Zero Subtitles (Movies, 2.0.33.1871) inställning is the settings info i get.
where do i find those specifically ?
/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Logs/PMS Plugin Logs/com.plexapp.agents.subzero.log and the .log.* files