GithubHelp home page GithubHelp logo

azam / jellyfin-plugin-localsubs Goto Github PK

View Code? Open in Web Editor NEW
6.0 6.0 0.0 203 KB

Subtitle provider plugin for local subtitle files on Jellyfin

License: GNU General Public License v3.0

C# 69.54% HTML 9.86% JavaScript 19.16% PowerShell 1.45%

jellyfin-plugin-localsubs's People

Contributors

azam avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

jellyfin-plugin-localsubs's Issues

Cant get it working Dut

I have added :
Subs/%fn%/%n%%l%.srt
Subs/%fn%.%l%.srt
Subs/%n%%l%.srt
Subs/%l%.srt
Subs/%fn%.srt
Subs/%any%.srt

I followed the install instruction without any problem
I want to use it for tv shows. I also have the srt next to the video, and I made a folder with Subs on my raspberrypi usb with the folder Subs.
for my raspberrypy (Linux). but the subtitle never sync with my video, the subtitle is the good one because its ofset a little around 1/6 seconds.

Does this plugin work. because If i use subsync on windows it just works without any plugin just subsync.exe only. But I dont want to let it work without converting the video in windows,

Naamloos
Subs/%any%.srt
Video file and srt name are:

The.test.S01E01.epname.720p.mkv
The.test.S01E01.epname.720p.dut.srt
The.test.S01E01.epname.720p.srt

Using Local Subs0.1.1.0

Not working on windows or raspberrypi

Culture not found for 'en'

Hello,

LocalSubs can't find my subtitle files on a library scan.

For example, my subtitle is in Subs/3_English.srt

The templates are:
Subs/%fn%/%n%%l%.srt
Subs/%fn%.%l%.srt
Subs/%n%
%l%.srt
Subs/%l%.srt
Subs/%fn%.srt

The log shows this:


[2024-01-09 22:18:12.285 +00:00] [ERR] [34] Jellyfin.Plugin.LocalSubs.LocalSubsProvider: Culture not found for "nl"
System.Globalization.CultureNotFoundException: Only the invariant culture is supported in globalization-invariant mode. See https://aka.ms/GlobalizationInvariantMode for more information. (Parameter 'name')
nl is an invalid culture identifier.
   at System.Globalization.CultureInfo.GetCultureInfo(String name)
   at Jellyfin.Plugin.LocalSubs.LocalSubsProvider.Search(SubtitleSearchRequest request, CancellationToken cancellationToken)
[2024-01-09 22:18:12.311 +00:00] [ERR] [34] Jellyfin.Plugin.LocalSubs.LocalSubsProvider: Culture not found for "en"
System.Globalization.CultureNotFoundException: Only the invariant culture is supported in globalization-invariant mode. See https://aka.ms/GlobalizationInvariantMode for more information. (Parameter 'name')
en is an invalid culture identifier.
   at System.Globalization.CultureInfo.GetCultureInfo(String name)
   at Jellyfin.Plugin.LocalSubs.LocalSubsProvider.Search(SubtitleSearchRequest request, CancellationToken cancellationToken)

Subtitles not Added due to "Culture not found" Error

My Jellyfin (latest), ran it's scans as usual last night and the Subtitle scan took much longer than normal - good sign I think!

However, there seem to not have been any subtitles added, and my log is full errors like this one:

[2023-06-12 01:21:50.446 +00:00] [ERR] [44] Jellyfin.Plugin.LocalSubs.LocalSubsProvider: Culture not found for "en"
System.Globalization.CultureNotFoundException: Only the invariant culture is supported in globalization-invariant mode. See https://aka.ms/GlobalizationInvariantMode for more information. (Parameter 'name')
en is an invalid culture identifier.
   at System.Globalization.CultureInfo.GetCultureInfo(String name)

It seems to me the plugin found the subtitles, but could not add them because it's trying to add them with a localization tag that's not supported? I'm not sure.

Hope this can be fixed - the plugin would make a big difference for my collection!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.