Jump to content

New Plugin - Subscene subtitle


nRafinia
Go to solution Solved by nRafinia,

Recommended Posts

nRafinia

@@ntfox Sorry to sound impatient, but any idea about this one? This plugin is so much faster and more accurate than Addic7ed or Podnapisi... I'd love to ditch these two for series as well  :)

 

 

Thank you for creating this plugin!!

 

Quick question: After installing it, when I go to Library settings, select a library and go into its options, "Subscene" appears as a tickable option only on one library (Movies) but not the other (TV Series). Why would that happen?

 

Hi

Please download latest release. in this version Added subtitle search capability for TV series

 

https://github.com/nRafinia/Emby.Subtitle.Subscene/releases

  • Like 1
Link to post
Share on other sites

Thanks for this plugin. :)

 

I have a request for a change in the handling of Norwegian subtitles.

 

In Emby we have these options for searching Norwegian subtitles:

 

Norwegian Nynorsk

Bokmål, Norwegian

Norwegian

 

Right now, this plugin only returns searches for "Norwegian Nynorsk". This is a variant of our language

that's spoken by very few people, and pretty much none subtitles are released with this variant.

"Bokmål, Norwegian" is our main written language, and is essential the same as the "Norwegian" option.

If you could change it so subtitle searches are returned for "Norwegian", that would be great. This is

what all other subtitle plugins I've tested do.

 

Cheers! :)

Link to post
Share on other sites
nRafinia

Thanks for this plugin. :)

 

I have a request for a change in the handling of Norwegian subtitles.

 

In Emby we have these options for searching Norwegian subtitles:

 

Norwegian Nynorsk

Bokmål, Norwegian

Norwegian

 

Right now, this plugin only returns searches for "Norwegian Nynorsk". This is a variant of our language

that's spoken by very few people, and pretty much none subtitles are released with this variant.

"Bokmål, Norwegian" is our main written language, and is essential the same as the "Norwegian" option.

If you could change it so subtitle searches are returned for "Norwegian", that would be great. This is

what all other subtitle plugins I've tested do.

 

Cheers! :)

Hi

Can you send me a page that has subtitles list in Norwegian, Norwegian?

Link to post
Share on other sites
nRafinia

Thanks for this plugin. :)

 

I have a request for a change in the handling of Norwegian subtitles.

 

In Emby we have these options for searching Norwegian subtitles:

 

Norwegian Nynorsk

Bokmål, Norwegian

Norwegian

 

Right now, this plugin only returns searches for "Norwegian Nynorsk". This is a variant of our language

that's spoken by very few people, and pretty much none subtitles are released with this variant.

"Bokmål, Norwegian" is our main written language, and is essential the same as the "Norwegian" option.

If you could change it so subtitle searches are returned for "Norwegian", that would be great. This is

what all other subtitle plugins I've tested do.

 

Cheers! :)

 

I made some changes to optimize output for Norwegian, please download the latest version and try again

 

https://github.com/nRafinia/Emby.Subtitle.Subscene/releases/

Link to post
Share on other sites
nRafinia

Alot of errors poping in latest version "End of Central Directory record could not...."

Hi

Please send the full text of the error with the details of that for me

Link to post
Share on other sites

Hi

Please send the full text of the error with the details of that for me

 

2020-03-18 08:19:56.164 Info App: Subscene= Request subtitle for 'Ice Age', language=hrv, year=2002, movie Id=tt0268380, Season=0, Episode=0
2020-03-18 08:19:56.164 Info HttpClient: GET https://api.themoviedb.org/3/movie/tt0268380?api_key=d9d7bb04fb2c52c2b594c5e30065c23c
2020-03-18 08:19:56.270 Info App: Subscene= Original movie title="Ice Age", year=2002
2020-03-18 08:19:56.270 Debug App: Subscene= Searching for site search "Ice Age"
2020-03-18 08:19:56.559 Info App: Subscene= Request for subtitle= /subtitles/ice-age/croatian/148017
2020-03-18 08:19:56.625 Debug App: Subscene= Downloading subtitle= subtitles/croatian-text/YyY1wj5vb46A_t3XNXbYnduyinW3dtWPYiIkUgpKjIvxn7nacpN3F7zXtiUW_JuSWrAmA_Yne6CoBnnwcNf5LF22CR4e9pASFdEEzcD223FeqiZwnhgichn2JuTnc8Ds0
2020-03-18 08:19:56.625 Info HttpClient: GET https://subscene.com/subtitles/croatian-text/YyY1wj5vb46A_t3XNXbYnduyinW3dtWPYiIkUgpKjIvxn7nacpN3F7zXtiUW_JuSWrAmA_Yne6CoBnnwcNf5LF22CR4e9pASFdEEzcD223FeqiZwnhgichn2JuTnc8Ds0
2020-03-18 08:19:56.700 Error App: Error downloading subtitles
        *** Error Report ***
        Version: 4.4.0.27
        Command line: /opt/emby-server/system/EmbyServer.dll -programdata /var/lib/emby -ffdetect /opt/emby-server/bin/ffdetect -ffmpeg /opt/emby-server/bin/ffmpeg -ffprobe /opt/emby-server/bin/ffprobe -restartexitcode 3 -updatepackage emby-server-deb_{version}_amd64.deb
        Operating system: Unix 4.15.0.88
        64-Bit OS: True
        64-Bit Process: True
        User Interactive: True
        Runtime: file:///opt/emby-server/system/System.Private.CoreLib.dll
        System.Environment.Version: 3.1.2
        Processor count: 12
        Program data path: /var/lib/emby
        Application directory: /opt/emby-server/system
        System.IO.InvalidDataException: System.IO.InvalidDataException: End of Central Directory record could not be found.
           at System.IO.Compression.ZipArchive.ReadEndOfCentralDirectory()
           at System.IO.Compression.ZipArchive.Init(Stream stream, ZipArchiveMode mode, Boolean leaveOpen)
           at System.IO.Compression.ZipArchive..ctor(Stream stream)
           at Emby.Subtitle.Subscene.Providers.SubsceneSubtitleProvider.GetSubtitles(String id, CancellationToken cancellationToken)
           at MediaBrowser.Providers.Subtitles.SubtitleManager.DownloadSubtitles(Video video, String subtitleId, LibraryOptions libraryOptions, CancellationToken cancellationToken)
           at MediaBrowser.Providers.MediaInfo.SubtitleDownloader.DownloadSubtitles(Video video, LibraryOptions libraryOptions, List`1 mediaStreams, Boolean skipIfEmbeddedSubtitlesPresent, Boolean skipIfAudioTrackMatches, Boolean isHashMatch, Nullable`1 isForcedSubtitle, CultureDto language, String[] disabledSubtitleFetchers, String[] subtitleFetcherOrder, VideoContentType mediaType, CancellationToken cancellationToken)
        Source: System.IO.Compression
        TargetSite: Void ReadEndOfCentralDirectory()

 

Link to post
Share on other sites
Nitro_Zeus

i'm getting same error on some movies, you can sole a little of the problem by manually go to the movie and search for subtitles and download, maybe it will download, maybe it will not 

5e71dfe5e1dc7_EmbySUbtitles.png

Link to post
Share on other sites
nRafinia
2020-03-18 08:19:56.164 Info App: Subscene= Request subtitle for 'Ice Age', language=hrv, year=2002, movie Id=tt0268380, Season=0, Episode=0
2020-03-18 08:19:56.164 Info HttpClient: GET https://api.themoviedb.org/3/movie/tt0268380?api_key=d9d7bb04fb2c52c2b594c5e30065c23c
2020-03-18 08:19:56.270 Info App: Subscene= Original movie title="Ice Age", year=2002
2020-03-18 08:19:56.270 Debug App: Subscene= Searching for site search "Ice Age"
2020-03-18 08:19:56.559 Info App: Subscene= Request for subtitle= /subtitles/ice-age/croatian/148017
2020-03-18 08:19:56.625 Debug App: Subscene= Downloading subtitle= subtitles/croatian-text/YyY1wj5vb46A_t3XNXbYnduyinW3dtWPYiIkUgpKjIvxn7nacpN3F7zXtiUW_JuSWrAmA_Yne6CoBnnwcNf5LF22CR4e9pASFdEEzcD223FeqiZwnhgichn2JuTnc8Ds0
2020-03-18 08:19:56.625 Info HttpClient: GET https://subscene.com/subtitles/croatian-text/YyY1wj5vb46A_t3XNXbYnduyinW3dtWPYiIkUgpKjIvxn7nacpN3F7zXtiUW_JuSWrAmA_Yne6CoBnnwcNf5LF22CR4e9pASFdEEzcD223FeqiZwnhgichn2JuTnc8Ds0
2020-03-18 08:19:56.700 Error App: Error downloading subtitles
        *** Error Report ***
        Version: 4.4.0.27
        Command line: /opt/emby-server/system/EmbyServer.dll -programdata /var/lib/emby -ffdetect /opt/emby-server/bin/ffdetect -ffmpeg /opt/emby-server/bin/ffmpeg -ffprobe /opt/emby-server/bin/ffprobe -restartexitcode 3 -updatepackage emby-server-deb_{version}_amd64.deb
        Operating system: Unix 4.15.0.88
        64-Bit OS: True
        64-Bit Process: True
        User Interactive: True
        Runtime: file:///opt/emby-server/system/System.Private.CoreLib.dll
        System.Environment.Version: 3.1.2
        Processor count: 12
        Program data path: /var/lib/emby
        Application directory: /opt/emby-server/system
        System.IO.InvalidDataException: System.IO.InvalidDataException: End of Central Directory record could not be found.
           at System.IO.Compression.ZipArchive.ReadEndOfCentralDirectory()
           at System.IO.Compression.ZipArchive.Init(Stream stream, ZipArchiveMode mode, Boolean leaveOpen)
           at System.IO.Compression.ZipArchive..ctor(Stream stream)
           at Emby.Subtitle.Subscene.Providers.SubsceneSubtitleProvider.GetSubtitles(String id, CancellationToken cancellationToken)
           at MediaBrowser.Providers.Subtitles.SubtitleManager.DownloadSubtitles(Video video, String subtitleId, LibraryOptions libraryOptions, CancellationToken cancellationToken)
           at MediaBrowser.Providers.MediaInfo.SubtitleDownloader.DownloadSubtitles(Video video, LibraryOptions libraryOptions, List`1 mediaStreams, Boolean skipIfEmbeddedSubtitlesPresent, Boolean skipIfAudioTrackMatches, Boolean isHashMatch, Nullable`1 isForcedSubtitle, CultureDto language, String[] disabledSubtitleFetchers, String[] subtitleFetcherOrder, VideoContentType mediaType, CancellationToken cancellationToken)
        Source: System.IO.Compression
        TargetSite: Void ReadEndOfCentralDirectory()

 

The selected subtitle file is of RAR type. I will make the necessary checks to support this file type. But if I can't use a suffix, I will leave it with no errors.

Link to post
Share on other sites
Michelangelo1338

Hi,

 

thank you for the great plugin. Can you please guide me on how to install it since I have no idea how to install a plugin to emby manuelly.
I have emby installed on a seedbox. I have a ssh access and have full root access.

 

Best regards.

Link to post
Share on other sites
Nitro_Zeus

Hi,

 

thank you for the great plugin. Can you please guide me on how to install it since I have no idea how to install a plugin to emby manuelly.

I have emby installed on a seedbox. I have a ssh access and have full root access.

 

Best regards.

Which Linux are you running? Debian, CentoS, Fedora etc. 

i know it's Win10 but it gives the understanding of what to do, and search for ;)

 

- u need to download the "Emby.Subtitle.Subscene.dll" file (finger rule don't change the name of the file) 

- then u need to locate the path to the plugin folder, i dont know where you're folder to Emby is placed on your Linux machine. 

- then u just need to place the file "Emby.Subtitle.Subscene.dll" in there aswell. restart your Emby server and add the Subscene function on your Movie Library folder 

- The path can look like this user@PlexServer:/var/lib/emby-server/plugins$ ls 

- you have to find that out as part one. 

Somone already explained something about this look here: https://emby.media/community/index.php?/topic/54549-manually-install-plugin/

- more info here: https://unix.stackexchange.com/questions/106480/how-to-copy-files-from-one-machine-to-another-using-ssh

- locate to your 5e784e80eb020_Subscene.png5e784e8d18ec4_Pluginsfolder.png

Edited by Nitro_Zeus
  • Like 1
Link to post
Share on other sites
  • 2 weeks later...
Lightkeeper

Thank you for a great plugin. Automatic mode works very well, however, can you add a manual mode where you can manually search for and download subtitles like there is for Opensubtitles and Addic7ted?

And to Emby developers. Why don't you just add Subscene to the standard library like you have Opensubtitles? Opensubtitles lacks a lot of subtitles, because everyone uploads to Subscene today. I saw a post where the developers said that Opensubtitles and Subscene uses the same database, however that's far from the truth. An example:

 

Subscene

 

THU14VTl.png

 

Opensubtitles:

 

exC3Rw7l.png

 

Subscene is hands-down the best. Please add it! Thank you

  • Like 1
Link to post
Share on other sites
nRafinia

Hi

Due to the rules of the subscene site, it is not possible to provide the plugin officially. I would be happy if anyone could help.

Must limit this plugin to community distribution only based on their terms of use:

 

https://subscene.com/site/legal-information

 

4. Grant of License to You to use Contributions for Personal, Non-Commercial Purposes

4.1 License. We grant you a non-exclusive license to use and copy other users’ Contributions solely for personal, non-commercial purposes subject to the restrictions set forth herein.

4.2 License Restrictions.

4.2.1 Retention of IP Notices. If you download, copy or print a copy of the Materials (as defined in Section 6 below) for your own personal use, you must retain all trademark, copyright and other proprietary notices contained in and on the materials.

4.2.2 No Circumvention of IP Protection Mechanisms. You shall not either directly or through the use of any device, software, internet site, web-based service or other means remove, alter, bypass, avoid, interfere with, or circumvent any copyright, trademark, or other proprietary notices marked on Contributions or any digital rights management mechanism, device, or other content protection or access control measure associated with Contributions or the Site.

4.2.3 No Unauthorized Copying, Broadcasting or Screen Scraping. You shall not either directly or through the use of any device, software, internet site, web-based service or other means copy, download, reproduce, duplicate, archive, distribute, upload, publish, modify, translate, broadcast, perform, display, sell, transfer, rent, sub-license, transmit or retransmit Contributions except as permitted in Section 4.1.

Link to post
Share on other sites
nRafinia

Thank you for a great plugin. Automatic mode works very well, however, can you add a manual mode where you can manually search for and download subtitles like there is for Opensubtitles and Addic7ted?

 

And to Emby developers. Why don't you just add Subscene to the standard library like you have Opensubtitles? Opensubtitles lacks a lot of subtitles, because everyone uploads to Subscene today. I saw a post where the developers said that Opensubtitles and Subscene uses the same database, however that's far from the truth. An example:

 

Subscene

 

THU14VTl.png

 

Opensubtitles:

 

exC3Rw7l.png

 

Subscene is hands-down the best. Please add it! Thank you

Hi

You can search manually from the Edit Subtitle menu and select the subtitle you want.

Link to post
Share on other sites
Lightkeeper

Hi

You can search manually from the Edit Subtitle menu and select the subtitle you want.

 

It doesn't work... only find results from Opensubtitles

Link to post
Share on other sites
Nitro_Zeus

It doesn't work... only find results from Opensubtitles

 

Hi make sure you have these options enabled in Emby on your Movie Library. and try to disable Open subtitle for a better test 

- also make sure the Emby.Subtitle.subscene.dll is placed in your Plugin folder!  

- can you go to a random movie, press "more" -> "Edit Subtitles" and search for your current language. try first with Hash Match, if it does not find anything try without. 

- i would also enable the "Reports" plugin for more details about any report, and activity on my server. 

 

5e8ab506cead3_LibraryOptions.png5e8ab50fc8a23_Reports.png

Edited by Nitro_Zeus
  • Like 1
Link to post
Share on other sites
mk.mustafa

Hello,

 

How can I install it on Emby for DSM (Synology NAS)?

 

 

Hi,

I created the subtitle plugin for Subscene. Please install and let me know if there is a problem

 

 
5e667600ab806_Annotation20200309172638.p
 
Version 2.0.0 is released, Add subtitle search capability for TV series
Version 1.2.3 is released, More efficient search output

 

Link to post
Share on other sites
Nitro_Zeus

see picture, when i search manually for Subtitles, it gives me this. i tried restarting Emby server and the Client that it's running on. same error. is this a common for others as well? 5e98627469cc5_20200416_154751.jpg

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...