INTERACT FORUM

Windows => Third Party Plug-ins, Programs, and Skins => Topic started by: pahunt on November 26, 2012, 03:57:43 pm

Title: Subtitle Downloader plug-in
Post by: pahunt on November 26, 2012, 03:57:43 pm
11/11/2014 - IMPORTANT! - All existing users will need to upgrade to version 1.0.2 or later as older versions will no longer retrieve subtitles from Open Subtitles.

This plug-in will attempt to download subtitles for a movie or a TV show as soon as playback begins. I wrote this purely for myself to begin with primarily because I got bored of manually downloading subtitles, naming the file correctly and putting it in the correct folder but I realised other people might find this useful too. Here are some important disclaimers:

1. You need to have Microsoft .NET Framework version 4 installed for this plug-in to work.
2. It will attempt to download subtitles for the following types of video file:

   Movies: Any video file with a Media Sub Type of "Movie" that has a value in the IMDB ID field.
   TV Shows: Any video file with a Media Sub Type of "TV Show" that has values in the Series, Season and Episode fields.

3. It will not attempt to download subtitles for DVD or Blu-ray discs that have been imported.
4. It will not attempt to download subtitles for any files that have not been imported.
5. In the plug-in options you can select from a list of languages.

---------------------------------------------------------------------------
Version History

1.0.2: Now uses correct user agent for Open Subtitles API.

1.0.1: Video files that are in the library but do not exist on disk are ignored.
         Errors returned from subtitle providers (e.g. the site is down) are now ignored rather than crashing the plug-in.

1.0.0: Installer now defaults to the plug-in folder for version 20.
          Installer is now called SubtitleDownloader.VersionNumber.exe.
          Added an "include language in filename" option to allow control of how the subtitle filename is generated.

0.5.1: Fixed issue where subtitle files would be put into the wrong folder if the video file was not in the root of the drive.      

0.5.0: Downloaded subtitle files are now given a name that identifies the language they are for (e.g. Dexter - s01e01.eng.srt)
         "Get Missing Subtitles" option renamed to "Get Subtitles" and now displays more information about the video files including the list of subtitles that currently exist.  
         Installer now defaults to the plug-in folder for version 19 (but to the best of my knowledge it should still work with 18 as well).

0.4.0: Added secondary language option which will be used if subtitles aren't found for the primary language (select "None" to only use the primary language)
         Added option on the missing subtitles page to include files which already have subtitles so that new ones can be downloaded (which will overwrite any existing external subtitles for the selected files without warning).

0.3.3: Fixed problem that meant subtitles for a movie would be downloaded every time it was played even if it already had suitable subtitles.
         List of videos without subtitles is now restricted to movies and TV shows.

0.3.2: Fixed "The given path's format is not supported" error when playing a YouTube video.
         Fixed obscure problem which meant source list changes would not be saved under certain circumstances.

0.3.1: Fixed the error "Object reference not set to an instance of an object" that would occur when attempting to download subtitles for a movie.

0.3.0: Added SubDB (http://thesubdb.com/ (http://thesubdb.com/)) as optional subtitle source.
         On the settings page you can now control which subtitle sources are used and in which order they are tried.

0.2.2: Fixed the error "Interface plug-in "Subtitle Downloader Plugin" could not be found or created." that would occur if the settings file was missing.

0.2.1: Fixed "The given path's format is not supported" error when playing an ISO image.
         Fixed behaviour of the "Get subtitles for selected files" button when no videos have been selected.

0.2.0: Added option that finds all files in the library without subtitles and allows subtitles for them to be downloaded with one-click.

0.1.2: Improved checking of existing subtitles. Now doesn't download subtitles if there is a valid external subtitle file or if the video file contains embedded subtitles in the selected language.

0.1.1: Fixed "index and count must refer to a location within the string" error when playing a movie that did not have an IMDB ID value.
         Changing the language option now takes effect immediately rather than after Media Center was restarted as happened previously.

0.1.0: First public release.

---------------------------------------------------------------------------

Download (https://www.dropbox.com/s/dr88anb3c83qpim/SubtitleDownloader.1.0.2.134.exe?dl=0)
Title: Re: Subtitle Downloader: New interface plug-in - Beta release
Post by: struct on November 26, 2012, 08:43:52 pm


wow, can't wait to try it out.  the renaming, moving etc is tedious.   thanks very much for sharing.

craig
Title: Re: Subtitle Downloader: New interface plug-in - Beta release
Post by: Matt on November 26, 2012, 10:15:16 pm
Neat!

What's the source of the subtitles?

I'm asking because we've considered adding official support for subtitle downloading to the subtitle engine in JRiver in v18 (mentioned here (https://yabb.jriver.com/interact/index.php?topic=73876.msg501830#msg501830)).  Maybe there'd be a way to work together on this?
Title: Re: Subtitle Downloader: New interface plug-in - Beta release
Post by: struct on November 26, 2012, 11:39:59 pm
Neat!

What's the source of the subtitles?
 
I'm asking because we've considered adding official support for subtitle downloading to the subtitle engine in JRiver in v18 (mentioned here (https://yabb.jriver.com/interact/index.php?topic=73876.msg501830#msg501830)).  Maybe there'd be a way to work together on this?

Even more exciting!!!!  Would be great if this was the start of video getting a little more love this cycle (darn mac people wanting a mac version and distracting you all from what is important) :) :) :)
Title: Re: Subtitle Downloader: New interface plug-in - Beta release
Post by: fitbrit on November 27, 2012, 01:46:32 am
Works very well so far! Thanks. :)
Title: Re: Subtitle Downloader: New interface plug-in - Beta release
Post by: pahunt on November 27, 2012, 02:19:10 am
Neat!

What's the source of the subtitles?

I'm asking because we've considered adding official support for subtitle downloading to the subtitle engine in JRiver in v18 (mentioned here (https://yabb.jriver.com/interact/index.php?topic=73876.msg501830#msg501830)).  Maybe there'd be a way to work together on this?

The source for the subtitles is http://www.opensubtitles.org (http://www.opensubtitles.org) as they have a nice API that is easy to consume using C#. I think it would be great if this functionality could be incorporated into the app directly as there is a limitation I have come across that I guess could be resolved. The issue is that the subtitles don't always appear in the OSD without stopping and restarting playback which I did ask about in the thread I linked to in the first post. I think this must be to do with how quickly the subtitles are downloaded and unpacked as it works on my quick new HTPC but not on my old slower laptop.

I'm not sure how much help I can be if you do decide to include this functionality but I would be happy to help in any way I can.
Title: Re: Subtitle Downloader: New interface plug-in - Beta release
Post by: InflatableMouse on November 27, 2012, 03:51:03 am
I'll test it tonight, I've wanted something like this for a long time, so thanks a lot!

Do you think it would be possible to include podnapisi.net as a source for subs as well? Especially for series they seem to always have what I need.

Is there any control over what it downloads? What if it downloaded a sub that is not synced correctly, can I force it to choose another one?
Title: Re: Subtitle Downloader: New interface plug-in - Beta release
Post by: pahunt on November 27, 2012, 04:03:56 am
Do you think it would be possible to include podnapisi.net as a source for subs as well? Especially for series they seem to always have what I need.

That looks like a possibility, they have an API that looks pretty similar to Open Subtitles.

Is there any control over what it downloads? What if it downloaded a sub that is not synced correctly, can I force it to choose another one?

Not currently, no. It uses the info it has on the video file in combination with the information provided by Open Subtitles to make an educated guess as to which is the best subtitle file to download so it should get it right most of the time. Also, there is the subtitle timing options in the OSD that can be tweaked to help synchronisation if required.
Title: Re: Subtitle Downloader: New interface plug-in - Beta release
Post by: InflatableMouse on November 27, 2012, 04:30:36 am
That looks like a possibility, they have an API that looks pretty similar to Open Subtitles.

Not currently, no. It uses the info it has on the video file in combination with the information provided by Open Subtitles to make an educated guess as to which is the best subtitle file to download so it should get it right most of the time. Also, there is the subtitle timing options in the OSD that can be tweaked to help synchronisation if required.

Thanks.

The +/- timings via the OSD only works if the subtitles can be corrected with a fixed offset. Often though this is not the case due to fps mismatches or cut commercials.

For a future improvement, maybe you would consider using a remote button to pause playback and popup a window with a list of subtitles to choose from. Selection downloads it to the proper folder and renames it. Don't get me wrong though, I'm happy to see we have something already for which I am grateful!
Title: Re: Subtitle Downloader: New interface plug-in - Beta release
Post by: struct on November 27, 2012, 05:08:53 am

only tried it on a few files.  just like magic.  thanks

Title: Re: Subtitle Downloader: New interface plug-in - Beta release
Post by: InflatableMouse on November 27, 2012, 03:21:22 pm
Apart from some obscure mini series that no one seems to know about, it works fine for the few things I watched tonight.

Thanks again for sharing this.
Title: Re: Subtitle Downloader: New interface plug-in - Beta release
Post by: Arbiter on November 27, 2012, 03:37:00 pm
This is great news! I downloaded it right away!

However, i only got English subtitles on the files i've tested (which are perfectly synchronized i have to admit!) even if i set Greek as a subtitle preference in the plugin's menu.

I wonder what sources does it use ? Could it use other subtitles sites like for example tvsubtitles.gr (which is more or less THE subtitle go to place for greek tv show subs)

i'm up for testing!


Title: Re: Subtitle Downloader: New interface plug-in - Beta release
Post by: pahunt on November 27, 2012, 03:43:27 pm
This is great news! I downloaded it right away!

However, i only got English subtitles on the files i've tested (which are perfectly synchronized i have to admit!) even if i set Greek as a subtitle preference in the plugin's menu.

I wonder what sources does it use ? Could it use other subtitles sites like for example tvsubtitles.gr (which is more or less THE subtitle go to place for greek tv show subs)

i'm up for testing!

So just to be clear, even though you've set the language to Greek, it's downloading English subtitles? I'll take a look at the code and see if I can work out what's going wrong with that.

I am looking at supporting other sources apart from Open Subtitles so I'll add tvsubtitles.gr to the list of ones to look at.
Title: Re: Subtitle Downloader: New interface plug-in - Beta release
Post by: Arbiter on November 27, 2012, 03:50:26 pm
So just to be clear, even though you've set the language to Greek, it's downloading English subtitles? I'll take a look at the code and see if I can work out what's going wrong with that.

I am looking at supporting other sources apart from Open Subtitles so I'll add tvsubtitles.gr to the list of ones to look at.

Yes although it's more or less hit and miss, which makes me think it might be opensubtitles.com related... It failed to get Greek subs on every Big Bang theory episode i opened, but I just tested it again by using Disney's Brave movie and it picked the right subs.

Also i'm getting this error on some files (it appears to happen on files that have subtitles already either external or inside file containers)
(https://dl.dropbox.com/u/119213/error.jpg)
Title: Re: Subtitle Downloader: New interface plug-in - Beta release
Post by: pahunt on November 27, 2012, 03:53:09 pm
Also i'm getting this error on some files (it appears to happen on files that have subtitles already either external or inside file containers)
(https://dl.dropbox.com/u/119213/error.jpg)

I've fixed that particular issue and will be releasing a new version either later today or tomorrow to resolve it.
Title: Re: Subtitle Downloader: New interface plug-in - Beta release
Post by: Arbiter on November 27, 2012, 03:59:16 pm
Ok i figured out the cause of why it wasn't getting Greek subs. The plugin doesn't take any changes to the language prefence into account unless i restart MC. I just tested it by switching languages and trying to redownload subtitles for the same movies!

And oh my god, this plugin is a time saver.
Title: Re: Subtitle Downloader: New interface plug-in - Beta release
Post by: pahunt on November 27, 2012, 04:02:25 pm
Ok i figured out the cause of why it wasn't getting Greek subs. The plugin doesn't take any changes to the language prefence into account unless i restart MC. I just tested it by switching languages and trying to redownload subtitles for the same movies!

And oh my god, this plugin is a time saver.

OK, that makes sense and I can resolve that problem. Glad it's helping you out :)
Title: Re: Subtitle Downloader: New interface plug-in - Beta release
Post by: pahunt on November 27, 2012, 05:09:19 pm
New version posted with a couple of bug fixes.
Title: Re: Subtitle Downloader: New interface plug-in - Beta release
Post by: struct on November 28, 2012, 04:15:39 am


you may want to try and get in contact with raldo who did the pvdimport plug-in.  he has some way that the plugin monitors new additions to the mc database and then performs actions on the new files.  if you could use this to automatically get missing subtitles, it would be very nice.  also you may be able to have a toggle to get subtitles for all files.  of course it may not be worth the effort if matt will subsume your work shortly.  it is great the way it is also :)  thanks again
Title: Re: Subtitle Downloader: New interface plug-in - Beta release
Post by: pahunt on November 28, 2012, 04:58:40 am
Version 0.1.2 uploaded. See first post for details.
Title: Re: Subtitle Downloader: New interface plug-in - Beta release
Post by: pahunt on November 28, 2012, 03:22:07 pm
Version 0.2.0 uploaded. See first post for details.
Title: Re: Subtitle Downloader: New interface plug-in - Beta release
Post by: Arbiter on November 29, 2012, 02:59:21 am
Version 0.2.0 uploaded. See first post for details.

Thanks for the update, so far it's working like a charm:)
Title: Re: Subtitle Downloader: New interface plug-in - Beta release
Post by: Arbiter on November 29, 2012, 03:49:08 am
Here's another bug report:

When opening DVD Movies in .iso image format, i get the following error:

(https://dl.dropbox.com/u/119213/Error%232.jpg)
Title: Re: Subtitle Downloader: New interface plug-in - Beta release
Post by: pahunt on November 29, 2012, 05:04:29 am
Here's another bug report:

When opening DVD Movies in .iso image format, i get the following error:

....

Thanks for the report, I will look at fixing that one, should be fairly straightforward.
Title: Re: Subtitle Downloader: New interface plug-in - Beta release
Post by: pahunt on November 29, 2012, 02:58:50 pm
Version 0.2.1 uploaded. See first post for details.
Title: Re: Subtitle Downloader: New interface plug-in - Beta release
Post by: InflatableMouse on November 29, 2012, 03:26:54 pm
Appreciate all the effort you're putting into this, thanks!
Title: Re: Subtitle Downloader: New interface plug-in - Beta release
Post by: geoptin on November 30, 2012, 10:05:03 am
Hi,
I installed the plugin in windows 8 pro 64-bit, but when i get to mc18/tools/manage plugins to check"Show" i get the error: Interface plug-in "Subtitle Downloader Plugin" could not be found or created. I checked my installation and update files and DotNet 4.0 as well asd 4.5 have been installed.
What could be wrong?
Thanks for the help
George
Title: Re: Subtitle Downloader: New interface plug-in - Beta release
Post by: pahunt on November 30, 2012, 10:14:21 am
Hi,
I installed the plugin in windows 8 pro 64-bit, but when i get to mc18/tools/manage plugins to check"Show" i get the error: Interface plug-in "Subtitle Downloader Plugin" could not be found or created. I checked my installation and update files and DotNet 4.0 as well asd 4.5 have been installed.
What could be wrong?
Thanks for the help
George

Hi, sorry you're having problems. First thing is that I have it working myself on Windows 8 Pro 64 bit, so it should work fine. The only times I have had a problem that display that error you're getting is when some files have been missing, so here's a couple of things to check.

1. Go to the Subtitle Downloader plug-in folder (should be C:\Program Files (x86)\J River\Media Center 18\Plugins\SubtitleDownloader\) and check that you have the following files in there:

CookComputing.XmlRpcV2.dll
MediaInfo.dll
MediaInfoDotNet.dll
MediaJukeBox.dll
SubtitleDownloaderPlugin.dll
SubtitleDownloaderPlugin.Engine.dll

If any of these files are missing, I suggest you uninstall and reinstall the plugin.

2. Can you check that you have the full .NET 4 framework installed and not just the client profile which you should be able to tell by looking in Control Panel / Programs & Features.

If you still have the issue after checking these things can you confirm which version of the plugin and which version of Media Center you are using.

Title: Re: Subtitle Downloader: New interface plug-in - Beta release
Post by: geoptin on November 30, 2012, 12:10:31 pm
Hello again,
Well, in Control Panel/programs/Turn features on or off I checked all the relevant boxes of .NET framework and restarted the computer. I did this because the full package of .Net 4 can't be installed because it's already in the operating system... I'm using the latest v.MC18.0.78.
I un- and re-installed the plugin v.0.2.1 and thre's one file missing "MediaJukeBox.dll". It just doesn't want to get installed!

Any help here?
Thanks,
George




Title: Re: Subtitle Downloader: New interface plug-in - Beta release
Post by: pahunt on November 30, 2012, 12:36:09 pm
Hello again,
Well, in Control Panel/programs/Turn features on or off I checked all the relevant boxes of .NET framework and restarted the computer. I did this because the full package of .Net 4 can't be installed because it's already in the operating system... I'm using the latest v.MC18.0.78.
I un- and re-installed the plugin v.0.2.1 and thre's one file missing "MediaJukeBox.dll". It just doesn't want to get installed!

Any help here?
Thanks,
George

OK, could you check one more thing for me please, could you open Windows Explorer and type the following into the address bar at the top:

%APPDATA%

When you press Enter that will take to your Application Data folder and from there you should be able to navigate to the WoodburySoftware\Subtitle Downloader folder in which there should be a settings.xml file. If it's there, could you post the contents of it please.
Title: Re: Subtitle Downloader: New interface plug-in - Beta release
Post by: pahunt on November 30, 2012, 02:02:08 pm
Version 0.2.2 uploaded. See first post for details.
Title: Re: Subtitle Downloader: New interface plug-in - Beta release
Post by: pahunt on December 01, 2012, 09:14:50 am
Version 0.3.0 uploaded. See first post for details.
Title: Re: Subtitle Downloader: New interface plug-in - Beta release
Post by: Arbiter on December 01, 2012, 09:22:13 am
Version 0.3.0 uploaded. See first post for details.

Thanks for the update! Any progress on adding tvsubtitles.gr to the list ?:) There's also http://www.subs4series.com/ and http://www.subs4free.com/ which also serve Greek-translated subtitles for series and movies respectively. The reason i'm asking is because most of the translators/subtitlists here in Greece tend to use these instead of opensubtitles.org


I also want to say a huge Thank you for taking the time to write this plugin. Functionality such as this should be implemented in MC by default!
Title: Re: Subtitle Downloader: New interface plug-in - Beta release
Post by: pahunt on December 01, 2012, 09:47:11 am
Thanks for the update! Any progress on adding tvsubtitles.gr to the list ?:) There's also http://www.subs4series.com/ and http://www.subs4free.com/ which also serve Greek-translated subtitles for series and movies respectively. The reason i'm asking is because most of the translators/subtitlists here in Greece tend to use these instead of opensubtitles.org

I'd be happy to add these, my only issue is that they need some kind of API so that I can access the subtitles from code and so far I have no luck finding one for any of these sites.
Title: Re: Subtitle Downloader: New interface plug-in - Beta release
Post by: geoptin on December 01, 2012, 10:09:42 am
Hi Paul,
 Well, problem solved! Version 3 of the plugin worked like a charm! Thanks for your support. Now I'm going to try to download Greek subs.

George
Title: Re: Subtitle Downloader: New interface plug-in - Beta release
Post by: Fabricio on December 01, 2012, 12:20:10 pm
Hello,

For me, not search subtitles. :'( :'( :'( :'( Subtitle Language Portuguese - BR.

My videos are named in Portuguese - BR. Is this the problem?

For example, movie: A Lenda de Beowulf. Original title: Beowulf

Regards,

Fabricio, from Brazil.
Title: Re: Subtitle Downloader: New interface plug-in - Beta release
Post by: pahunt on December 01, 2012, 01:40:37 pm
Hello,

For me, not search subtitles. :'( :'( :'( :'( Subtitle Language Portuguese - BR.

My videos are named in Portuguese - BR. Is this the problem?

For example, movie: A Lenda de Beowulf. Original title: Beowulf

Regards,

Fabricio, from Brazil.

The name of the movie being in Portugese should not be an issue as for movies it does not use the name, it uses the IMDB ID and so maybe that's the issue. You should have a value of tt0442933 in the IMDB ID field for Beowulf so it would be good if you can check that. If you still don't get any subtitles then let me know.
Title: Re: Subtitle Downloader: New interface plug-in - Beta release
Post by: Fabricio on December 01, 2012, 07:51:51 pm
The name of the movie being in Portugese should not be an issue as for movies it does not use the name, it uses the IMDB ID and so maybe that's the issue. You should have a value of tt0442933 in the IMDB ID field for Beowulf so it would be good if you can check that. If you still don't get any subtitles then let me know.

I do not have this value. I have to add this value: tt0442933?

I do not understand.

Thank you for your attention.

Fabricio, from Brazil.
Title: Re: Subtitle Downloader: New interface plug-in - Beta release
Post by: Arbiter on December 02, 2012, 06:14:39 am
New error:

https://dl.dropbox.com/u/119213/newerror.jpg
Title: Re: Subtitle Downloader: New interface plug-in - Beta release
Post by: pahunt on December 02, 2012, 07:25:18 am
New error:


That's not an error I've seen before so could you give me some more detail about when this error occurs and what type of file you're playing. It would also be useful to know how the options are set.
Title: Re: Subtitle Downloader: New interface plug-in - Beta release
Post by: Fabricio on December 02, 2012, 08:33:43 am
I do not have this value. I have to add this value: tt0442933?

I do not understand.

Thank you for your attention.

Fabricio, from Brazil.

I add this value: tt0442933. Dont work.

*********************** // ****************

New error:


For me also.

***************************** //// ***********************

That's not an error I've seen before so could you give me some more detail about when this error occurs and what type of file you're playing. It would also be useful to know how the options are set.

I am running video avi (Xvid) dual audio. Movie Beowulf, remember? Also, Superman: Doomsday.

I like your program, very good.

Hugs,

Fabricio, from Brazil.
Title: Re: Subtitle Downloader: New interface plug-in - Beta release
Post by: Arbiter on December 02, 2012, 09:57:50 am
That's not an error I've seen before so could you give me some more detail about when this error occurs and what type of file you're playing. It would also be useful to know how the options are set.

This seems to happen on mkv files that either have external subtitles already downloaded manually by me (before the installation of the plugin), or they have embedded subtitles inside the mkv container. I Confirmed this on 3 movies.

EDIT: All those movies in which i get this error, have the IMDB ID field populated. This does not happen for movies that don't have any imdb id value and already have Greek subs.
Title: Re: Subtitle Downloader: New interface plug-in - Beta release
Post by: pahunt on December 02, 2012, 10:26:19 am
This seems to happen on mkv files that either have external subtitles already downloaded manually by me (before the installation of the plugin), or they have embedded subtitles inside the mkv container. I Confirmed this on 3 movies.

EDIT: All those movies in which i get this error, have the IMDB ID field populated. This does not happen for movies that don't have any imdb id value and already have Greek subs.

Thanks for that. I've managed to reproduce the error now, so I should have a fix soon.
Title: Re: Subtitle Downloader: New interface plug-in - Beta release
Post by: Arbiter on December 02, 2012, 10:27:30 am
Thanks for that. I've managed to reproduce the error now, so I should have a fix soon.

Thanks :D
Title: Re: Subtitle Downloader: New interface plug-in - Beta release
Post by: pahunt on December 02, 2012, 11:09:00 am
Version 0.3.1 uploaded. See first post for details.
Title: Re: Subtitle Downloader: New interface plug-in - Beta release
Post by: Ekpen on December 02, 2012, 01:55:47 pm
I can not get the setup . I followed the link, it got me to ilividsetup.exe.
Is this the file I am supposed to get or just another detour to actually getting the real setup file..
I wrote a PM to you earlier, but no response.

I just want to be sure installing ilividsetup is the correct way to get this, hence I suggested if this is MC18 related utility, could it be posted on the Interact file area.

thanks
Ekpen.
Title: Re: Subtitle Downloader: New interface plug-in - Beta release
Post by: pahunt on December 02, 2012, 02:24:00 pm
I can not get the setup . I followed the link, it got me to ilividsetup.exe.
Is this the file I am supposed to get or just another detour to actually getting the real setup file..
I wrote a PM to you earlier, but no response.

I just want to be sure installing ilividsetup is the correct way to get this, hence I suggested if this is MC18 related utility, could it be posted on the Interact file area.

thanks
Ekpen.

Apologies, I didn't see your PM until just now. ilividsetup.exe is not the right file, it should just be called setup.exe, I'm really not sure what's going on there. I have taken your advice though and submitted it as a plug-in to JRiver, however it appears they have to approve it before it will go live but assuming they do it should be available soon.
Title: Re: Subtitle Downloader: New interface plug-in - Beta release
Post by: Fabricio on December 02, 2012, 07:09:30 pm
Hello,

Now, it's worked perfectly.
Suggestion: I think it should have a feature not get subtitle when the film already has a caption. Do you understand?

Thanks,

Fabricio, from Brazil.
Title: Re: Subtitle Downloader: New interface plug-in - Beta release
Post by: pahunt on December 03, 2012, 02:13:55 am
Hello,

Now, it's worked perfectly.
Suggestion: I think it should have a feature not get subtitle when the film already has a caption. Do you understand?

Thanks,

Fabricio, from Brazil.


Glad it's working for you Fabricio, however it shouldn't be trying to get subtitles if suitable subtitles already exist so can you tell me please what kind of subtitles you already have. Are they embedded as part of the video file or are they external files? If they are external files what filename do they have?
Title: Re: Subtitle Downloader: New interface plug-in - Beta release
Post by: Fabricio on December 03, 2012, 04:25:05 am
Apologies, I didn't see your PM until just now. ilividsetup.exe is not the right file, it should just be called setup.exe, I'm really not sure what's going on there. I have taken your advice though and submitted it as a plug-in to JRiver, however it appears they have to approve it before it will go live but assuming they do it should be available soon.
Glad it's working for you Fabricio, however it shouldn't be trying to get subtitles if suitable subtitles already exist so can you tell me please what kind of subtitles you already have. Are they embedded as part of the video file or are they external files? If they are external files what filename do they have?

I needed to add IMDb ID. Now, search subtitles.

Well, I tested only with avi videos. External subtitles, srt format.

When I can, I will test with mkv video. Now, I'm at work.

Whenever I run the videos (which has subtitles), the program replaces my subtitles.

Excellent plugin.

Hugs,

Fabricio, from Brazil.
Title: Re: Subtitle Downloader: New interface plug-in - Beta release
Post by: geoptin on December 03, 2012, 04:30:39 am
Here's an error message I get sometimes. Version installed is 3.1

Title: Re: Subtitle Downloader: New interface plug-in - Beta release
Post by: pahunt on December 03, 2012, 04:32:05 am
Well, I tested only with avi videos. External subtitles, srt format.

And what name does the srt file have. To check for existing subtitles I am looking for a file with exactly the same name as the video except with the different extension. Are yours named differently from that?
Title: Re: Subtitle Downloader: New interface plug-in - Beta release
Post by: pahunt on December 03, 2012, 04:36:35 am
Here's an error message I get sometimes. Version installed is 3.1

That error message means it's not finding subtitles for a particular file although I thought I was handling that scenario so that it wouldn't cause an error. I will have a look at the code this evening and see if I can work out what is going wrong.
Title: Re: Subtitle Downloader: New interface plug-in - Beta release
Post by: Fabricio on December 03, 2012, 05:28:03 pm
And what name does the srt file have. To check for existing subtitles I am looking for a file with exactly the same name as the video except with the different extension. Are yours named differently from that?


A Lenda de Beowulf.avi
A Lenda de Beowulf.srt

IMDb ID: tt0442933

Other:

American Pie - O Reencontro.avi
American Pie - O Reencontro.srt

IMDb ID: tt1605630

Whenever I run the video, the subtitles are being replaced.

Hugs,

Fabricio, from Brazil.
Title: Re: Subtitle Downloader: New interface plug-in - Beta release
Post by: fitbrit on December 04, 2012, 12:16:33 am
The plug-in has stopped working for me the past couple of MC updates. Could it be something to do with abandoning MFC?
Title: Re: Subtitle Downloader: New interface plug-in - Beta release
Post by: pahunt on December 04, 2012, 02:05:36 am
A Lenda de Beowulf.avi
A Lenda de Beowulf.srt

IMDb ID: tt0442933

Other:

American Pie - O Reencontro.avi
American Pie - O Reencontro.srt

IMDb ID: tt1605630

Whenever I run the video, the subtitles are being replaced.

Hugs,

Fabricio, from Brazil.

How do you know the subtitles are being replaced each time you play the video? Subtitle files with names like that should stop the plugin from trying to download them again, so I'm confused as to how that can be happening.
Title: Re: Subtitle Downloader: New interface plug-in - Beta release
Post by: pahunt on December 04, 2012, 02:08:01 am
The plug-in has stopped working for me the past couple of MC updates. Could it be something to do with abandoning MFC?

I guess you're talking about builds more recent than 18.0.78, if so I've no idea I'm afraid as that's the latest one I have access to. Hopefully once a non-MFC version is made public I will be able to track down any issues that are introduced.
Title: Re: Subtitle Downloader: New interface plug-in - Beta release
Post by: Fabricio on December 04, 2012, 04:12:07 am
How do you know the subtitles are being replaced each time you play the video? Subtitle files with names like that should stop the plugin from trying to download them again, so I'm confused as to how that can be happening.

For example: See the legend of American Pie - O Reencontro.

My subtitle, downloaded by me (I've saved in another folder not to be replaced), begins:

Quote
1
00:00:59,896 --> 00:01:01,438
Ele já dormiu?

When I run the movie, the subtitle is replaced. The text changes, see:

Quote
1
00:00:24,130 --> 00:00:28,109
[InSUBs]
Qualidade é InSUBstituível!

Do you understand? I also do not know because it changes the subtitle.

The plugin ignores the legend already downloaded and replace.

Thank you for your attention.

Hugs,

Fabricio, from Brazil.


Title: Re: Subtitle Downloader: New interface plug-in - Beta release
Post by: lepa on December 05, 2012, 04:07:03 pm
Thanks for the great plugin.

Would it be possible to add priority to language as well?
I mean that if subs in my native language doesn't get hit then english subs will do just fine.
Title: Re: Subtitle Downloader: New interface plug-in - Beta release
Post by: pahunt on December 05, 2012, 04:10:42 pm
Thanks for the great plugin.

Would it be possible to add priority to language as well?
I mean that if subs in my native language doesn't get hit then english subs will do just fine.

That's certainly something that's possible. I'll see what I can do.
Title: Re: Subtitle Downloader: New interface plug-in - Beta release
Post by: InflatableMouse on December 07, 2012, 09:07:44 am
That looks like a possibility, they have an API that looks pretty similar to Open Subtitles.

This was with regards to Podnapisi.net. Don't mean to sound impatient or anything :) but did you have a chance to look into that?

Thanks!
Title: Re: Subtitle Downloader: New interface plug-in - Beta release
Post by: Osho on December 08, 2012, 12:27:48 am
Excellent plug-in. I am already loving this!!

It worked flawlessly for many of the video files that I have. I did have various problems for many other files:


Some requests for improving usability:


Thanks a lot,
Osho
Title: Re: Subtitle Downloader: New interface plug-in - Beta release
Post by: locust on December 08, 2012, 04:44:06 am
In the missing subtitles tab a select all checkbox would be nice
Title: Re: Subtitle Downloader: New interface plug-in - Beta release
Post by: Fabricio on December 08, 2012, 05:24:47 am
Excellent plug-in. I am already loving this!!

Some requests for improving usability:

  • I would like to be able to select a video file and right-click on it and invoke the plugin on it to find subtitles. Or something similar to find subtitle for a file on user demand.

Thanks a lot,
Osho

+1. It would be perfect. Also, it would be interesting function: enable / disable search automatically. Remember, I run the video, the plugin always search to replace my legend and subtitle

Fabricio, from Brazil.
Title: Re: Subtitle Downloader: New interface plug-in - Beta release
Post by: Arbiter on December 09, 2012, 05:48:17 am
The plugin no longer fetches subtitles automatically for me when playing a movie on build .90 . I tried uninstalling the plugin and reinstalling without success. Any ideas?
Title: Re: Subtitle Downloader: New interface plug-in - Beta release
Post by: pahunt on December 10, 2012, 08:03:13 am
Hi all,

Sorry for the lack of updates but "real" work took over for the last few days unfortunately. I am aware that the plug-in no longer works in version 18.0.90 and I am sure this is MFC related but from what I've read those issues should be resolved shortly. Once that is done then I will tackle some of the new features that have been asked for.
Title: Re: Subtitle Downloader: New interface plug-in - Beta release
Post by: Arbiter on December 10, 2012, 08:06:51 am
Hi all,

Sorry for the lack of updates but "real" work took over for the last few days unfortunately. I am aware that the plug-in no longer works in version 18.0.90 and I am sure this is MFC related but from what I've read those issues should be resolved shortly. Once that is done then I will tackle some of the new features that have been asked for.

Lol, i was just checking the thread for new replies. Talk about great minds thinking alike:P

It's ok, take your time! Real life is more important than a hobby project and for now i can fetch my subtitles through the plugin menu anyway. Thanks a lot for the hard work and all the hours that you've put into this and i'm patiently awaiting for an update!
Title: Re: Subtitle Downloader: New interface plug-in - Beta release
Post by: cuadedanh on December 10, 2012, 10:12:04 am
that is great but i cant download setup file,2shared notify file is invalid??? if possible,  add source http://subscene.com/ pls, thanks
Title: Re: Subtitle Downloader: New interface plug-in - Beta release
Post by: koshia on December 10, 2012, 05:57:25 pm
Is anyone having jittery problem with the video when the subs are turned on?  Not sure if it's related to this plugin, but could use some advice if anyone has ran into this.  Subs that I download manually before this plugin was installed did not have this issue.

This plugin is awesome by the way!
Title: Re: Subtitle Downloader: New interface plug-in - Beta release
Post by: glynor on December 10, 2012, 07:05:31 pm
I am aware that the plug-in no longer works in version 18.0.90 and I am sure this is MFC related but from what I've read those issues should be resolved shortly.

This seems to be fixed in tonight's nightly build.
Title: Re: Subtitle Downloader: New interface plug-in - Beta release
Post by: pahunt on December 17, 2012, 03:58:10 pm
Version 0.3.2 uploaded. See first post for details.

This release is just a couple of tidying up fixes while I work on some bigger changes. Also some people have had issues downloading so I am now hosting the setup.exe myself until I get a better solution.
Title: Re: Subtitle Downloader: New interface plug-in - Beta release
Post by: Ekpen on December 17, 2012, 05:26:32 pm
Thanks. setup on my desktop now.

Ekpen.
Title: Re: Subtitle Downloader: New interface plug-in - Beta release
Post by: pahunt on December 19, 2012, 05:24:51 pm
Version 0.3.3 uploaded. See first post for details.
Title: Re: Subtitle Downloader: New interface plug-in - Beta release
Post by: Fabricio on December 19, 2012, 09:47:20 pm
Sorry, but how to download?

Hugs,

Fabricio, from Brazil.
Title: Re: Subtitle Downloader: New interface plug-in - Beta release
Post by: pahunt on December 20, 2012, 02:18:56 am
Sorry, but how to download?

Hugs,

Fabricio, from Brazil.

Apologies, the link in the first post was broken but I've now fixed it.
Title: Re: Subtitle Downloader: New interface plug-in - Beta release
Post by: Fabricio on December 20, 2012, 03:50:09 am
Apologies, the link in the first post was broken but I've now fixed it.

Down, now. Thanks.

But:

Quote
0.3.3: Fixed problem that meant subtitles for a movie would be downloaded every time it was played even if it already had suitable subtitles.

Not working. I have the subtitle and the plugin replaces.
I am using MC 18.0.97.

Hugs,

Fabricio, from Brazil.

Title: Re: Subtitle Downloader: New interface plug-in - Beta release
Post by: pahunt on December 20, 2012, 04:16:41 am
Down, now. Thanks.

But:

Not working. I have the subtitle and the plugin replaces.
I am using MC 18.0.97.

Hugs,

Fabricio, from Brazil.

Well that's odd as I found and reproduced the problem and then fixed it. I'll have an other look at it tonight though.
Title: Re: Subtitle Downloader: New interface plug-in - Beta release
Post by: Fabricio on December 20, 2012, 10:59:33 am
Well that's odd as I found and reproduced the problem and then fixed it. I'll have an other look at it tonight though.

Ok, Very thanks. Waiting ...

Hugs,

Fabricio, from Brazil.
Title: Re: Subtitle Downloader: New interface plug-in - Beta release
Post by: filupmarley on December 26, 2012, 11:17:16 pm
pahunt - This is a great plugin. It downloads and renames the subtitles fine. It saves me a lot of work. The issue I'm having is I'm watching TV recordings with commercials. The subtitles don't take that into account. Since cc is not supported this won't really work for me. After the commercial skip the subs are off by 3 minutes or so each time it skips a batch of commercials and it's cumulative...the 42 minute episode is about 60 minutes or so for my recording so you can imagine how far off they get toward the end.
Title: Re: Subtitle Downloader: New interface plug-in - Beta release
Post by: pahunt on December 28, 2012, 07:55:52 am
pahunt - This is a great plugin. It downloads and renames the subtitles fine. It saves me a lot of work. The issue I'm having is I'm watching TV recordings with commercials. The subtitles don't take that into account. Since cc is not supported this won't really work for me. After the commercial skip the subs are off by 3 minutes or so each time it skips a batch of commercials and it's cumulative...the 42 minute episode is about 60 minutes or so for my recording so you can imagine how far off they get toward the end.

Hi,

I'm not sure there's anything that can be done about this I'm afraid. The problem is that the subtitle files assume that the commercials have been removed, it would be impossible for them to do anything else really as each broadcast of a show would have different commercial break lengths.
Title: Re: Subtitle Downloader: New interface plug-in - Beta release
Post by: InflatableMouse on December 29, 2012, 03:57:42 am
Do you think its possible to add a secundary language to search for?

I'd like to search for dutch subtitles but if thats not found, fall back to english.

Thanks.
Title: Re: Subtitle Downloader: New interface plug-in - Beta release
Post by: pahunt on December 29, 2012, 04:12:31 am
Do you think its possible to add a secundary language to search for?

I'd like to search for dutch subtitles but if thats not found, fall back to english.

Thanks.

You're in luck :) You've caught me on a weekend when I have some free time that I'm going to use to do some work on the plug-in and so I'll see what I can do.
Title: Re: Subtitle Downloader: New interface plug-in - Beta release
Post by: InflatableMouse on December 29, 2012, 04:27:09 am
You're in luck :) You've caught me on a weekend when I have some free time that I'm going to use to do some work on the plug-in and so I'll see what I can do.

Awesome! Thanks Paul.
Title: Re: Subtitle Downloader: New interface plug-in - Beta release
Post by: pahunt on December 29, 2012, 08:14:32 am
Version 0.4.0 uploaded. See first post for details.
Title: Re: Subtitle Downloader: New interface plug-in - Beta release
Post by: InflatableMouse on December 29, 2012, 12:42:41 pm
Thats quick!

Thanks man, appreciate it. Looks good, I'll test it later tonight.
Title: Re: Subtitle Downloader: New interface plug-in - Beta release
Post by: koshia on January 20, 2013, 06:17:57 pm
Your download link isn't working Paul.  Could you have a check?

Thanks.
Title: Re: Subtitle Downloader: New interface plug-in - Beta release
Post by: InflatableMouse on January 21, 2013, 02:59:58 am
Temporary download link for the latest version. (http://www.privatebits.net/junk/mcstd_setup.exe)
Title: Re: Subtitle Downloader: New interface plug-in - Beta release
Post by: ottomanen on January 23, 2013, 06:31:45 pm
Awesome! I've missed this from xbmc...

Might I suggest a few improvements from my personal wishlist:
1. Some APIs support checking for subtitles by the files hash. This leads to better subtitles downloaded. Check the API for sublight, opensubtitles or such for more details. It's not hard to get the hash from c#, let me know if I can assist in any way.
2. Would be great if you could support multi-language. I prefer to watch stuff without subs, but some shows have dialogue that is hard to hear, so then subs are great. However, I have friends visiting that don't like english subs, so it would be nice if subs were downloaded for each language defined and appended to the subtitlefile, so that an English subtitle gets named <tv-show title>.eng.srt and a Norwegian <tv-show title>.nor.srt instead of downloading all as <title>.srt. Use ISO 639 country code abbreviations, http://en.wikipedia.org/wiki/List_of_ISO_639-1_codes for naming the files.
3. Re-download is sweet to be able to force, for specific language(s) or all defined
4. If no hash match could be made, but subs are available for download, it would be nice with a popup to let the user select what to download or cancel the download

That's about it for now, cool thing!
Title: Re: Subtitle Downloader: New interface plug-in - Beta release
Post by: pahunt on January 24, 2013, 09:38:14 am
Your download link isn't working Paul.  Could you have a check?

Thanks.

Apologies for that, although my FTP server was running, I had a been a bit over zealous when I tidied up my firewall rules :) Working again now and thanks to InflatableMouse for providing a link in the interim.
Title: Re: Subtitle Downloader: New interface plug-in - Beta release
Post by: InflatableMouse on January 30, 2013, 01:34:49 am
Every once in a while after I restart Media Center, I get the message that the the subtitle downloader plugin cannot be loaded. I need to reinstall it. I've not kept track of it whether its after an update of MC, so that could be the case.

I also have another request. Do you think it would be possible to invoke the plugin through a remote button press to force another download? I reckon about a quarter of the series I watch the wrong version is downloaded and I have to manually find another one.

Thanks!
Title: Re: Subtitle Downloader: New interface plug-in - Beta release
Post by: Fabricio on February 23, 2013, 05:19:20 pm
For me dont working in MC 18 v.18.0.136.  :'( :'( :'( :'(
Title: Re: Subtitle Downloader: New interface plug-in - Beta release
Post by: pahunt on February 25, 2013, 09:35:28 am
For me dont working in MC 18 v.18.0.136.  :'( :'( :'( :'(

It's working for me on that version, do you get an error message or anything?
Title: Re: Subtitle Downloader: New interface plug-in - Beta release
Post by: Fabricio on February 25, 2013, 11:02:07 am
It's working for me on that version, do you get an error message or anything?

Now, all normal. Working properly.

Sorry.

Thanks for your attention.
Title: Re: Subtitle Downloader: New interface plug-in
Post by: greybone on April 18, 2013, 12:33:29 pm
Awesome plugin!
I have a bunch of files with a 'wrong' season in the filename - would it be possible to add a feature to override it somehow?

With "Get movie and TV info" I get a choice to override the searched for string, which is perfect. Something similar would rule :)
Title: Re: Subtitle Downloader: New interface plug-in
Post by: Jonas123456 on May 05, 2013, 08:10:43 am
Thanks a lot for this plug-in, however I cannot download it

When I follow the link ftp://pahunt.no-ip.org/setup.exe it gives me an error: Oops! Google Chrome could not connect to pahunt.no-ip.org

Can someone please provide me the latest version?

Thanks!
Title: Re: Subtitle Downloader: New interface plug-in
Post by: pahunt on May 06, 2013, 09:13:07 am
Thanks a lot for this plug-in, however I cannot download it

When I follow the link ftp://pahunt.no-ip.org/setup.exe it gives me an error: Oops! Google Chrome could not connect to pahunt.no-ip.org

Can someone please provide me the latest version?

Thanks!

Apologies for that. Link now working again.
Title: Re: Subtitle Downloader: New interface plug-in
Post by: jdefockert on June 28, 2013, 08:21:55 am
 Hi,

I would like to try your plugin, but the link is not working.

Thank you in advance for making the plugin available again.

Kind regards,

Jasper
Title: Re: Subtitle Downloader: New interface plug-in
Post by: fodalweb on July 06, 2013, 12:56:08 pm
Plugin sounds awesome! Can't wait to try it out, but the download link seems to be broken, ive tried 2 different FTP clients on 2 different machines.

Does this also work for DLNA libraries? I recently shifted my whole library to the network, just wanted to make sure this worked because it wasn't mentioned in your initial comments.

Thanks in advance!
Title: Re: Subtitle Downloader: New interface plug-in
Post by: fodalweb on July 06, 2013, 04:11:32 pm
Status:   Resolving address of pahunt.no-ip.org
Status:   Connecting to 81.147.85.126:21...
Error:   Connection timed out
Error:   Could not connect to server

filezilla 3.7.1.1

user Guest
no password

Anyone else have an alternate upload?
Title: Re: Subtitle Downloader: New interface plug-in
Post by: InflatableMouse on July 06, 2013, 04:36:16 pm
Alternate Download Link (http://www.privatebits.net/junk/mcsubtitleaddon.exe)
Title: Re: Subtitle Downloader: New interface plug-in
Post by: fodalweb on July 06, 2013, 05:11:16 pm
I <3 you mouse.

You're amazing ^_^
Title: Re: Subtitle Downloader: New interface plug-in
Post by: Gilaspit on July 19, 2013, 03:38:39 pm
Thanks pahunt for the program. Cant wait to check it out! thank mouse for the alt link.
Title: Re: Subtitle Downloader: New interface plug-in
Post by: pahunt on July 30, 2013, 08:53:22 am
Apologies for the link going AWOL again. I have now moved it to a location that won't disappear and have updated the first post accordingly. Thanks to InflatableMouse for stepping in, in the interim!
Title: Re: Subtitle Downloader: New interface plug-in
Post by: jmone on August 07, 2013, 09:22:24 pm
Quote
4. It will not attempt to download subtitles for DVD or Blu-ray discs that have been imported.

I've got some Italian Exchange Students to do some testing as most of my Library is BD structure rips and does not have any ITA subs.

The good news is you CAN add additional subs for BD's and the following is the naming convention to get it to work.  
- Blu-ray (Disks):  The subtitle file should be saved in the "BDMV" folder as "index.srt".  As you can see from the attached pic BDST.JPG,  MC stores in path a name called "....filepath\BDMV\index.bluray" so in this case "...filepath\BDMV\index.srt" works for adding an additional subtitle option in MC

- Blu-ray (Title Particles):  The subtitle file should be saved in the "BDMV\Playlist" folder as "#####.srt".  As you can see from the attached pic BDPST.JPG,  MC stores in path a name called "....filepath\BDMV\PLAYLIST\#####.mpls" so in this case "...filepath\BDMV\PLAYLIST\#####.srt" works for adding an additional subtitle option in MC.  The playlist folder can contain multiple Title Particles.

It would be great if you could add this logic to your Subtitle Downloader.
Thanks
Nathan
Title: Re: Subtitle Downloader: New interface plug-in
Post by: jmone on August 08, 2013, 03:16:27 am
Quote
- Blu-ray (Title Particles):  The subtitle file should be saved in the "BDMV\Playlist" folder as "#####.srt".  As you can see from the attached pic BDPST.JPG,  MC stores in path a name called "....filepath\BDMV\PLAYLIST\#####.mpls" so in this case "...filepath\BDMV\PLAYLIST\#####.srt" works for adding an additional subtitle option in MC.  The playlist folder can contain multiple Title Particles.

Actually these kinda of already work!  (see pics).  Subtitle Downloader will seek to grab a SRT file (and if found) will name it correctly and put it in the correct directly so MC will the offer it as an option but it would need some fixing as:
- Unfortunately for the TV Series most seem to have timing issues / wrong subtitles as I guess the BD versions are different to those ripped from other sources or the Season / Eps is not correct.

- With Movies (Title Particles) it did not find anything to download.

Title: Re: Subtitle Downloader: New interface plug-in
Post by: pahunt on August 08, 2013, 09:43:20 am
Actually these kinda of already work!  (see pics).  Subtitle Downloader will seek to grab a SRT file (and if found) will name it correctly and put it in the correct directly so MC will the offer it as an option but it would need some fixing as:
- Unfortunately for the TV Series most seem to have timing issues / wrong subtitles as I guess the BD versions are different to those ripped from other sources or the Season / Eps is not correct.

- With Movies (Title Particles) it did not find anything to download.

Yes getting the right subtitles is going to be the big problem here. The way the APIs that Subtitle Downloader uses work is that you supply a "hash" value for the file (based on file size, length etc.) and it returns the correct subtitles. However from what I've seen this is designed for use with MKVs and the like where there is a single file. However I will do some investigating and see if anything can be done so that it works better for BD/DVDs.
Title: Re: Subtitle Downloader: New interface plug-in
Post by: jmone on August 08, 2013, 03:46:28 pm
Ahhhh - I thought it used meta data like "IMDb ID" for Movies and or "TheTVBD Series ID + Season + Eps" for TV Shows.  Any of the raw file info will be an issue with BD and BD Particles, though other Meta Data fields include "Name" and "Duration" should be accurate.

Thanks for looking
Nathan
Title: Re: Subtitle Downloader: New interface plug-in
Post by: William-NM on September 20, 2013, 09:32:12 pm
I was just wondering if you plan on updating this for MC 19 at some point? I've enjoyed it in V18 (and still run V18 overnight to get caught up...). I'd love to be able to right-click on a file and grab it's subtitles (or better yet, a small group of files). Thanks for your hard work on this useful plug-in!
Title: Re: Subtitle Downloader: New interface plug-in
Post by: pahunt on September 22, 2013, 03:17:18 am
I was just wondering if you plan on updating this for MC 19 at some point? I've enjoyed it in V18 (and still run V18 overnight to get caught up...). I'd love to be able to right-click on a file and grab it's subtitles (or better yet, a small group of files). Thanks for your hard work on this useful plug-in!

I am working on a fairly major overhaul of this plug-in at the moment which should be released fairly soon.
Title: Re: Subtitle Downloader: New interface plug-in
Post by: pahunt on September 22, 2013, 03:23:37 am
Ahhhh - I thought it used meta data like "IMDb ID" for Movies and or "TheTVBD Series ID + Season + Eps" for TV Shows.  Any of the raw file info will be an issue with BD and BD Particles, though other Meta Data fields include "Name" and "Duration" should be accurate.

Thanks for looking
Nathan

Sorry for the delayed reply. It does indeed use IMDB ID and Series/Season/Episode but that only gets you so far. You then need to use the computed hash to narrow down the results to hopefully get the correct one for the specific version of the video in question. For instance take a look at the number of results that Open Subtitles has for Iron Man 3 in English: http://www.opensubtitles.org/en/search/sublanguageid-eng/idmovie-135448
Title: Re: Subtitle Downloader: New interface plug-in
Post by: William-NM on September 22, 2013, 10:19:11 pm
Thanks for the update, that's great to hear!!


I am working on a fairly major overhaul of this plug-in at the moment which should be released fairly soon.
Title: Re: Subtitle Downloader: New interface plug-in
Post by: pahunt on October 12, 2013, 02:43:00 am
Version 0.5.0 uploaded. See first post for details.

WARNING! A lot of changes gone on under the hood in this release and while it works for me be prepared for potential problems.
Title: Re: Subtitle Downloader: New interface plug-in
Post by: William-NM on October 13, 2013, 02:46:29 pm
Hi Paul,
I tried installing the new version, but am having some trouble with it. Here's what I've tried so far:
I'm glad to see that you're still at it - looking forward to getting it working on my system. I'm running Vista with all important updates installed. I really don't need MC18 anymore, since MC19 is running fine, so I can uninstall it if needed.

Any suggestions appreciated and happy to try out any ideas you might have.
William
Title: Re: Subtitle Downloader: New interface plug-in
Post by: pahunt on October 13, 2013, 02:53:07 pm
Hi Paul,
I tried installing the new version, but am having some trouble with it. Here's what I've tried so far:
  • I ran the installer and just clicked "OK" in all the screens. Restarted MC19 and it wasn't showing up. Ran the installer again and paid more attention - noticed that it defaulted to installing in the MC18 plugins folder.
  • I changed the install path to the MC19 (plugin) directory and finished the install. Restarted MC19 and still couldn't find it (looking under "Services & Plug-Ins", in the video view schemes, context menus when right-clicking on videos, etc.
  • I ran MC18 to see if it was working in that version, and got an error message in the 'Services & Plug-Ins" tree. That could possibly have been because I didn't uninstall the previous version. (??).
  • Just in case, I tried moving the "SubtitleDownloader" folder to the root (in MC19), no joy.
  • I also tried moving the files to the root, nope.  :-[
I'm glad to see that you're still at it - looking forward to getting it working on my system. I'm running Vista with all important updates installed. I really don't need MC18 anymore, since MC19 is running fine, so I can uninstall it if needed.

Any suggestions appreciated and happy to try out any ideas you might have.
William

Sorry for the problems. My first suggestion would be to uninstall the plug-in completely and then verify that no trace of it is showing in MC19. Then install again ensuring it defaults to MC19 folder (which I have just double-checked and it does for me).
Title: Re: Subtitle Downloader: New interface plug-in
Post by: William-NM on October 14, 2013, 06:28:40 pm
Tried that, still no luck... :P
Title: Re: Subtitle Downloader: New interface plug-in
Post by: pahunt on October 20, 2013, 01:34:42 am
Tried that, still no luck... :P

OK, so what actually happens now? Do you get an error or does it just not work? Was the previous version working OK for you?
Title: Re: Subtitle Downloader: New interface plug-in
Post by: William-NM on October 20, 2013, 09:14:23 am
Yes, the previous version was working for me (in MC18). I'm running MC19 now.
I am able to run the install file and the folder is created and populated under the 'plugins' folder in MC19.
When I open MC19, it just doesn't show up. Nothing in the 'Services' tree (is that still where it should show up?), nothing under library tools or context menu when right-clicking on movies.
I am able to run the uninstall and it seems to finish normally and removes the files.
Title: Re: Subtitle Downloader: New interface plug-in
Post by: geoptin on November 02, 2013, 07:41:00 am
Hi William-NM,
Have you already tried this?

Please go to Tools/Options/Services/Interface Plugins--click on Manage Interface Plugins...Subtitle Downloader SHOW. Presto!

Good luck,
George
Title: Re: Subtitle Downloader: New interface plug-in
Post by: William-NM on November 02, 2013, 04:00:40 pm
Oh, for pete's sake - I had looked in Tools>Options>Services ,  but failed to open the Interface Plugins folder. It's working fine now.  :-[

Thank You, George!!!
Title: Re: Subtitle Downloader: New interface plug-in
Post by: geoptin on November 03, 2013, 01:51:50 am
Oh, for pete's sake - I had looked in Tools>Options>Services ,  but failed to open the Interface Plugins folder. It's working fine now.  :-[

Thank You, George!!!

I'm glad I could help!
George
Title: Re: Subtitle Downloader: New interface plug-in
Post by: William-NM on November 03, 2013, 06:55:23 pm
Well, I spoke too soon. It shows up and takes forever to go through the 1100 movies, then I check 1 or 2 or 5  to get subs for, and it either comes back with "An error has occurred. Please restart Media Center before proceeding" (in which case when it restarts, no movies are listed, so have to re-start the whole process). Sometimes, it just says something like "0 subtitles downloaded. 0 errors." I uninstalled it, reinstalled it. I let it index the movies and then re-started MC, which did result in it saving the movie list, but still get the same errors. I get the same errors when I try to dl subs for a number of different movies, trying one at a time, so it isn't just on one or two particular titles.

And I still think that one should be able to right click on a movie and select "get subs" rather than having to wait 15 minutes for it to go through every video.
Title: Re: Subtitle Downloader: New interface plug-in
Post by: Ekpen on November 04, 2013, 05:13:05 pm
Version 0.5.0 uploaded. See first post for details.

WARNING! A lot of changes gone on under the hood in this release and while it works for me be prepared for potential problems.

Greetings:
Can you please give your program a unique name and version number. "setup.exe is too generic, it does not tell what app it is.
I have more then 50 setup.exe files in my drive,  at times renaming does not help.
Any link to the new version?


Thanks
Ekpen.
Title: Re: Subtitle Downloader: New interface plug-in
Post by: AssadMawad on November 24, 2013, 08:46:26 am
Hello,

i just updated to V19 and v0.5 of your plugin (btw big fan of your work) but i have a problem that the subtitle file will be downloaded in root folder of the file it self

example: movie location : Y:\TV Shows\How I Met Your Mother\Season 09\S09E09.avi
Subtitle location : Y:\TV Shows\How I Met Your Mother\Season 09S09E09.eng.srt

Thank for your response
Title: Re: Subtitle Downloader: New interface plug-in
Post by: Arbiter on December 21, 2013, 02:53:28 pm
Hello,

i just updated to V19 and v0.5 of your plugin (btw big fan of your work) but i have a problem that the subtitle file will be downloaded in root folder of the file it self

example: movie location : Y:\TV Shows\How I Met Your Mother\Season 09\S09E09.avi
Subtitle location : Y:\TV Shows\How I Met Your Mother\Season 09S09E09.eng.srt

Thank for your response

I have the same problem. Any solutions to this ?
Title: Re: Subtitle Downloader: New interface plug-in
Post by: pahunt on December 21, 2013, 03:20:57 pm
I have the same problem. Any solutions to this ?

Sorry, I missed the original reporting of this problem. It looks like it's missing a backslash when it's building the subtitle file path, which is odd as it's working OK for me. Let me take a look in the code and see if I can work out what's wrong.
Title: Re: Subtitle Downloader: New interface plug-in
Post by: pahunt on December 21, 2013, 03:37:43 pm
Sorry, I missed the original reporting of this problem. It looks like it's missing a backslash when it's building the subtitle file path, which is odd as it's working OK for me. Let me take a look in the code and see if I can work out what's wrong.

I've replicated the problem now, new version available shortly.
Title: Re: Subtitle Downloader: New interface plug-in
Post by: pahunt on December 21, 2013, 04:06:02 pm
New version uploaded that fixes the issue with subtitle files being put in the wrong folder.
Title: Re: Subtitle Downloader: New interface plug-in
Post by: pahunt on December 28, 2013, 05:04:53 am
I have now open-sourced the code for this plug-in which you can find here:

https://code.google.com/p/jrmc-subtitle-downloader/

This doesn't mean that I won't be making any more changes in the future but I thought other people may want to have a go as well.
Title: Re: Subtitle Downloader: New interface plug-in
Post by: Al ex on July 22, 2014, 03:32:51 pm
Hi,

does the plugin still work? I have MC 19.0.155 on Win 8.1.
When I start a movie, no subtitle is downloaded (checked the sub-folder). Tried it with several movies, all nicely tagged and with IMDB-ID, restarted the movie, no success.

Thx, Alex
Title: Re: Subtitle Downloader: New interface plug-in
Post by: Arbiter on July 22, 2014, 03:37:21 pm
Hi,

does the plugin still work? I have MC 19.0.155 on Win 8.1.
When I start a movie, no subtitle is downloaded (checked the sub-folder). Tried it with several movies, all nicely tagged and with IMDB-ID, restarted the movie, no success.

Thx, Alex

It does but the latest version writes a language prefix right before the extention and mc fails to pick it up when moving video files. I would love an update with an option to disable that behaviour.
Title: Re:
Post by: Al ex on July 22, 2014, 03:39:06 pm
Arbiter, what was your workaround solution?
Title: Re:
Post by: Arbiter on July 22, 2014, 03:41:54 pm
Arbiter, what was your workaround solution?

If you're asking about getting the plugin to work, i didn't do anything fancy. Just fired up the installer a few versions back and it's still working nicely in MC19.0.155 (win 8.1 x64 as well). As for the file naming issue i wrote about, i just manually remove the prefix from each subtitle so the program will pick it up.
Title: Re:
Post by: Al ex on July 22, 2014, 03:47:02 pm
Ok I see. In my case I cannot find any downloaded subtitle in the movie folder, which I could rename at least manually...
Maybe I also need to check for an older version of the downloader.
Title: Re:
Post by: Arbiter on July 22, 2014, 03:49:48 pm
Ok I see. In my case I cannot find any downloaded subtitle in the movie folder, which I could rename at least manually...
Maybe I also need to check for an older version of the downloader.

Are you sure the plugin is activated ? you can check by going to Tools -> Services -> Manage Interface Plugins -> Subtitle Downloader -> check if it's hidden.
Title: Re: Subtitle Downloader: New interface plug-in
Post by: jorsan on July 22, 2014, 03:50:53 pm
Hi, Im  interetsed in this program. can anyone tell us wich version was the last to work ok and were to get it? thanks
Title: Re:
Post by: Al ex on July 22, 2014, 04:04:09 pm
Check the first post, there you will find a dropbox download link for the latest version. Need to check tomorrow, if I can find somewhere on my disc a previous version to test...
Title: Re: Subtitle Downloader: New interface plug-in
Post by: Christian_Rork on July 31, 2014, 03:37:57 pm
I am helpless here, how do I activate this plugin after I have installed the Setup.exe?

Machine: Windows 7
JRiver Version: 18.0.212
Title: Re: Subtitle Downloader plug-in
Post by: pahunt on September 10, 2014, 10:10:32 am
Version 1.0.0 uploaded. See first post for details.
Title: Re: Subtitle Downloader: New interface plug-in
Post by: hydropepon on November 05, 2014, 06:59:50 pm
Well, I spoke too soon. It shows up and takes forever to go through the 1100 movies, then I check 1 or 2 or 5  to get subs for, and it either comes back with "An error has occurred. Please restart Media Center before proceeding" (in which case when it restarts, no movies are listed, so have to re-start the whole process). Sometimes, it just says something like "0 subtitles downloaded. 0 errors." I uninstalled it, reinstalled it. I let it index the movies and then re-started MC, which did result in it saving the movie list, but still get the same errors. I get the same errors when I try to dl subs for a number of different movies, trying one at a time, so it isn't just on one or two particular titles.

And I still think that one should be able to right click on a movie and select "get subs" rather than having to wait 15 minutes for it to go through every video.

I`m experiencing the same problem/problems. Windows 8.1 x64, Media Center 20.0.33
Title: Re: Subtitle Downloader: New interface plug-in
Post by: pahunt on November 06, 2014, 02:45:38 am
I`m experiencing the same problem/problems. Windows 8.1 x64, Media Center 20.0.33

I'm not sure why you're getting those errors, I will investigate but you are aware that scanning all videos isn't necessary. Every time you play a video it will automatically look for subtitles for it.
Title: Re: Subtitle Downloader: New interface plug-in
Post by: hydropepon on November 07, 2014, 07:20:54 pm
I'm not sure why you're getting those errors, I will investigate but you are aware that scanning all videos isn't necessary. Every time you play a video it will automatically look for subtitles for it.

That does not appear to be happening either. And it`s not really the scanning that`s the problem, - it`s the fact that it gives me that aforementioned error whenever I try to download subtitles for any video. The end result is that basically I cannot get any subtitles for any video using this plugin. And thank you for looking into this by the way.
Title: Re: Subtitle Downloader: New interface plug-in
Post by: pahunt on November 10, 2014, 02:24:39 pm
That does not appear to be happening either. And it`s not really the scanning that`s the problem, - it`s the fact that it gives me that aforementioned error whenever I try to download subtitles for any video. The end result is that basically I cannot get any subtitles for any video using this plugin. And thank you for looking into this by the way.

Could you send me a log file please. You can find it by clicking the "Show log" button at the bottom right of the main page.
Title: Re: Subtitle Downloader plug-in
Post by: pahunt on November 10, 2014, 02:57:28 pm
Version 1.0.1 now uploaded which adds some better error handling in the hope this may resolve some of the recently reported issues.
Title: Re: Subtitle Downloader plug-in
Post by: pahunt on November 11, 2014, 04:26:21 am
Version 1.0.2 now uploaded. I believe I have found and fixed the cause of the recent problems. Unfortunately OpenSubtitles had disabled the user agent that the plug-in was using and I have now updated to use the correct one. Apologies for inconvenience.
Title: Re:
Post by: Al ex on November 11, 2014, 04:42:12 pm
Just installed 1.0.2 on latest mc20.0.33 and made a complete scan: found more than 500 videos with no subtitles, found 90 subtitles and saved it obviously successfully!
Title: Re: Subtitle Downloader plug-in
Post by: hydropepon on November 12, 2014, 10:32:40 pm
Version 1.0.2 now uploaded. I believe I have found and fixed the cause of the recent problems. Unfortunately OpenSubtitles had disabled the user agent that the plug-in was using and I have now updated to use the correct one. Apologies for inconvenience.
I`m not sure whether it was 1.0.1 or 1.0.2 because I`ve only tried the latter, but the issues appear to have been resolved. Much obliged.
Title: Re: Subtitle Downloader plug-in
Post by: hydropepon on November 17, 2014, 11:41:18 am
Just my luck. I have started to encounter another error - one that has apparently been fixed a while ago:
Quote from: pahunt
0.2.2: Fixed the error "Interface plug-in "Subtitle Downloader Plugin" could not be found or created." that would occur if the settings file was missing."
The last thing I remember doing before it started appearing was clearing the %systemroot%\SoftwareDistribution\DataStore\Logs\edb.log

UPDATE: Curiously enough after I received a Windows Defender definition update the plugin started working again. It would seem then that the plugin only works or atleast does not present that particular error if the edb log is not empty.
Title: Re: Subtitle Downloader plug-in
Post by: pahunt on November 18, 2014, 09:52:01 am
Just my luck. I have started to encounter another error - one that has apparently been fixed a while ago:  The last thing I remember doing before it started appearing was clearing the %systemroot%\SoftwareDistribution\DataStore\Logs\edb.log

UPDATE: Curiously enough after I received a Windows Defender definition update the plugin started working again. It would seem then that the plugin only works or atleast does not present that particular error if the edb log is not empty.

Well that's a new one on me, I can't think of anything in the code that would care about Windows Defender.
Title: Re: Subtitle Downloader plug-in
Post by: hydropepon on November 18, 2014, 10:51:47 am
Well that's a new one on me, I can't think of anything in the code that would care about Windows Defender.
The edb log is where the windows update history is kept and and generally when Windows Defender`s definitions get updated that gets logged in the edb file. With that being said I am starting to question my initial hypothesis because that "Interface plug-in Subtitle Downloader Plugin could not be found or created." error seems to now be popping up rather frequently and seemingly at random. So yeah... it would seem that both the initial appearance and the fix might have just been bizarrely timed coincidences.
Title: Re: Subtitle Downloader plug-in
Post by: Al ex on January 28, 2015, 09:14:11 am
On current MC 20.0.62 (and also some previous versions before already), downloader is not working anymore. When i start MC, I get this:

"Interface plug-in "Subtitle Downloader" could not be found or created.

Also reinstalling the latest version from Nov 2014 is not helping.
Title: Re: Subtitle Downloader plug-in
Post by: magatsu_08 on April 29, 2015, 12:48:45 pm
I was wondering if its just me but I can no longer use the plugin after updating to JRiver 20.0.93? I think it was released about 2 weeks ago. Anyways I'd like to thank you the author of the wonderful plugin, it was a real god send.
Title: Re: Subtitle Downloader plug-in
Post by: Al ex on May 12, 2015, 01:14:20 pm
I was wondering if its just me but I can no longer use the plugin after updating to JRiver 20.0.93? I think it was released about 2 weeks ago. Anyways I'd like to thank you the author of the wonderful plugin, it was a real god send.

Yes, it´s not working anymore unfortunately. Was a really usefull plugin.
Tried to deinstall and reinstall, but still getting the message "Interface plug-in "Subtitle Downloader" could not be found or created."
MC 20.0.106
Title: Re: Subtitle Downloader plug-in
Post by: eezetee on May 24, 2015, 12:09:56 am
Is there a fix for this.  Could increase the Wife factor greatly :)
Title: Re: Subtitle Downloader plug-in
Post by: Osho on August 11, 2015, 12:52:43 am
Is there a fix to get this plugin to work with MC20 latest versions?? I really miss this...

Thanks,
Osho
Title: Re: Subtitle Downloader plug-in
Post by: Osho on August 19, 2015, 01:13:13 am
bump...

Sorry to bump, but this was a feature I used to use all the time and have quite got used to reply on it.. Now, I don't have Subtitles for many of my new videos. Any chance this could be made to work with latest MC20?

Thanks,
Osho
Title: Re: Subtitle Downloader plug-in
Post by: millst on August 24, 2015, 11:29:51 pm
Try this out:

https://www.dropbox.com/s/8hie0va8a08pmjv/SubtitleDownloader.1.0.3.1_beta.exe?dl=0

I made a few tweaks and was able to download an SRT. It's based on the latest in the repository and I know nothing about the state of the project so it might not be in the best state.

-tm
Title: Re: Subtitle Downloader plug-in
Post by: dingodog on September 06, 2015, 04:32:46 am
Millst,

Like others, I really miss this feature so thanks for the work you have done.  I was actually able to download a couple of subtitles manually using the search/download function but I then started getting the error below.  Have you had this error and do you know to fix it?

Error - response contains string value where array expected [response : struct mapped to type OpenSubtitlesSubtitleHeader : member data mapped to type OpenSubtitlesSubtitle[]]
   at SubtitleDownloaderPlugin.MainInterface.GetSubtitlesBackgroundWorkerRunWorkerCom pleted(Object sender, RunWorkerCompletedEventArgs e)
   at System.ComponentModel.BackgroundWorker.OnRunWorkerCompleted(RunWorkerCompletedEventArgs e)
   at System.ComponentModel.BackgroundWorker.AsyncOperationCompleted(Object arg)
Title: Re: Subtitle Downloader plug-in
Post by: millst on September 09, 2015, 12:15:26 am
I just played a file on my system and I did get subtitles downloaded. Is this how most people are getting them? Or is their some menu buried somewhere that the plugin creates?

If you are having a problem with one particular file or a set of files, while other files work, then you'd have to get me that info. You can PM me. I'll need to get the hash for the file.

The error means that the plugin had found a set of subtitles and was in the process of downloading them, but the OpenSubtitles server responded incorrectly. At least, it's incorrect according to the spec on their web site.

I really like the idea of the plugin, but I don't think it's much use to me. The APIs don't make it easy to get the foreign-only (non-english) parts. I'll see what I can do to help, however.

-tm
Title: Re: Subtitle Downloader plug-in
Post by: Osho on October 07, 2015, 12:09:13 am
Try this out:

https://www.dropbox.com/s/8hie0va8a08pmjv/SubtitleDownloader.1.0.3.1_beta.exe?dl=0

I made a few tweaks and was able to download an SRT. It's based on the latest in the repository and I know nothing about the state of the project so it might not be in the best state.

-tm

I tried this but I still got an error at MC20 startup that says: "Interface plug-in "Subtitle Downloader' could not be found or created". Do I need to ahve MC21 for your tweaks to work?

Thanks for making this tweak - really glad to see that there is a hope for this plugin to be functional!

Thanks,
Osho
Title: Re: Subtitle Downloader plug-in
Post by: millst on October 07, 2015, 09:51:02 am
No, that install was built against MC20. It should work for either release. Do you have .NET 4 installed? You should have this folder on your system:

C:\Windows\Microsoft.NET\Framework\v4.0.30319

-tm
Title: Re: Subtitle Downloader plug-in
Post by: Osho on October 23, 2015, 02:19:44 am
No, that install was built against MC20. It should work for either release. Do you have .NET 4 installed? You should have this folder on your system:

C:\Windows\Microsoft.NET\Framework\v4.0.30319

-tm

I do have this folder installed. Maybe I need to reinstall it as I have upgraded from Windows 8.1 to Windows 10?

Thanks,
Osho
Title: Re: Subtitle Downloader plug-in
Post by: millst on October 23, 2015, 09:20:26 am
If you have that folder, there should be a RegAsm.exe in there. The plug-in installer calls that during setup. I thought Windows 10 already came with .NET 4 installed. I upgraded to 10 already so I know the plugins and .NET 4 work fine. I don't recall installing it separately, but I have lots of dev stuff of course.

-tm
Title: Re: Subtitle Downloader plug-in
Post by: Osho on December 06, 2015, 11:37:35 pm
If you have that folder, there should be a RegAsm.exe in there. The plug-in installer calls that during setup. I thought Windows 10 already came with .NET 4 installed. I upgraded to 10 already so I know the plugins and .NET 4 work fine. I don't recall installing it separately, but I have lots of dev stuff of course.

-tm

Sorry for not following up on this earlier. I do have this folder - I even tried reinstalling the plugin - installation went smoothly. I still keep getting an error on MC20 startup that "Interface plug-in 'Subtitle Downloader' could not be found or created'.

Osho
Title: Re: Subtitle Downloader plug-in
Post by: millst on December 12, 2015, 03:50:49 pm
Are there any errors in the Event Viewer?

-tm
Title: Re: Subtitle Downloader plug-in
Post by: elo on January 01, 2016, 12:04:21 pm
Hi... happy new year  ;)

I am runing MC21 as a server and then connect with local cients. I have attempted to install the plugin both localy and on the server instance. I do get the relevant options inder service/interface plugins etc. I run W10 and I have the correct .NET version instaled. The plugin is in the SHOW state.

Nothing what so ever happens when I start MC and nothing what so ever happens when I start playback on the client.

Any advice?
Title: Re: Subtitle Downloader plug-in
Post by: Osho on January 03, 2016, 12:59:10 pm
Are there any errors in the Event Viewer?

-tm


I cannot see any errors in the Event Viewer.

I tried to completely uninstall the plugin. I do not find Tools -> Plug-in Manager in MC21. So, I deleted the directory SubTitle Downloader directory inside Media Center 21\Plugins directory - but I still get this error "Interface plug-in 'Subtitle Downloader'  could not be found or created".  How do I completely uninstall this plugin?

Thanks,
Osho
Title: Re: Subtitle Downloader plug-in
Post by: millst on January 07, 2016, 09:53:24 am
As far as uninstallation. All the files get installed under Plugins\SubtitleDownloader in Program Files. You should just be able to delete the folder. The only other thing the uninstaller does is unregister the DLL:

C:\Windows\Microsoft.NET\Framework\v4.0.30319\regasm /unregister SubtitleDownloaderPlugin.dll

That part should be done first.

-tm
Title: Re: Subtitle Downloader plug-in
Post by: millst on January 07, 2016, 09:56:56 am
I'm not running the plugin myself so I'm not even sure if it works anymore. I'd have to pick it up again and I'm a little under the weather now.

I was also hoping pahunt might pop in since I only have access to an old version of the source. I'd rather start with the last version posted.

-tm