[RELEASE] Bierdopje Subtitles - Subtitle Search and Download Script
#16
Mod your skin or try MiniMeedia waffa!
It has a skin setting to set bierdopje button in video OSD and video info screen Wink
Reply
#17
mr_blobby Wrote:There should be no difference when running the script from the Video OSD or from the Scripts section.
Could you perhaps enable debugging in the settings and post de last lines of logging from the xbmc log when you encounter an error?
Maybe then I can see what is going wrong.
I can easily fix the other issue of not being able to decode the file name, but I would like to fix your other issues as well.
Also could you let me know on what platform (operating system) you use XBMC?

I'm using XBMC on Windows Vista.
The link to the script for the video OSD was indeed faulty. I will try and fix that now.

Xbmc log (scripts) :
08:28:41 T:3404 M:424787968 NOTICE: -->Python Interpreter Initialized<--
08:28:42 T:3404 M:422350848 NOTICE: 6
08:28:42 T:3404 M:422350848 NOTICE: 6
08:28:42 T:3404 M:422350848 NOTICE: lookupnumber = 6
08:29:23 T:3276 M:438620160 WARNING: XFILE::CVideoDatabaseDirectory::GetLabel - Unknown nodetype requested 12
08:29:25 T:3276 M:425041920 WARNING: XFILE::CVideoDatabaseDirectory::GetLabel - Unknown nodetype requested 11
08:29:33 T:3356 M:444575744 NOTICE: -->Python Interpreter Initialized<--
08:29:34 T:3356 M:441606144 NOTICE: 6
08:29:34 T:3356 M:441982976 NOTICE: 6
08:29:34 T:3356 M:441982976 NOTICE: lookupnumber = 6
08:30:21 T:2104 M:488640512 NOTICE: -->Python Interpreter Initialized<--
08:30:21 T:2104 M:486232064 NOTICE: 6
08:30:21 T:2104 M:486232064 NOTICE: 6
08:30:21 T:2104 M:486232064 NOTICE: lookupnumber = 6
08:30:37 T:1832 M:506105856 NOTICE: -->Python Interpreter Initialized<--
08:30:38 T:1832 M:502362112 NOTICE: Starting debug of script Bierdopje
08:30:38 T:1832 M:502362112 NOTICE: Tvshowsrootpath = smb://10.0.1.14/TV/
08:30:38 T:1832 M:502362112 NOTICE: No separate folder for subtitles
08:30:38 T:1832 M:502362112 NOTICE: Language for subtitles is Dutch
08:30:38 T:1832 M:502362112 NOTICE: 6
08:30:38 T:1832 M:502358016 NOTICE: 6
08:30:38 T:1832 M:502358016 NOTICE: lookupnumber = 6
08:30:38 T:1832 M:502358016 NOTICE: Suffix languagestring = nl
08:30:39 T:1832 M:505217024 NOTICE: Processing Fringe - 2x03 - Fracture.avi
08:30:42 T:1832 M:507060224 NOTICE: Unable to extract showname, season and episode from Fringe - 2x03 - Fracture.avi

@Roboro: I added this script to the Addon Scripts Shortcuts (in System settings > Skin). My current skin is Confluence.
Reply
#18
Mr_blobby, first my compliments for this nice piece of work. I'm using it now for a few days and all works properly.

Only, is there anyone who knows how to activate the script with a keyboard shortcut?
Reply
#19
Does this script work with the latest trunk? I tried but it looks like its still using the old getSetting calls, and it doesnt seem to have the addons (xmls) i.e) description.xml
Reply
#20
Did use it for a while now very stable and very fast, maybe you can add (dutch) subtitle sites for movies too ?? Or work together with opensubtitles osd script.
Now I'll have to use both. Would be great to merge them together Smile
Reply
#21
johoja Wrote:Does this script work with the latest trunk? I tried but it looks like its still using the old getSetting calls, and it doesnt seem to have the addons (xmls) i.e) description.xml
As far as know, the developers still discourage the use of the latest trunk, because of the "Impending Merge with Addons"
Of course, if you know how I can make it compatible with this new functionality, let me know. But I haven't found any definitive guidelines for developers how to do that.
Reply
#22
thomasH Wrote:I'm using XBMC on Windows Vista.
The link to the script for the video OSD was indeed faulty. I will try and fix that now.

08:30:39 T:1832 M:505217024 NOTICE: Processing Fringe - 2x03 - Fracture.avi
08:30:42 T:1832 M:507060224 NOTICE: Unable to extract showname, season and episode from Fringe - 2x03 - Fracture.avi

@Roboro: I added this script to the Addon Scripts Shortcuts (in System settings > Skin). My current skin is Confluence.
In version 1.05 I updated the search pattern, so it should now have no problems with "Fringe - 2x03 - Fracture.avi".
Reply
#23
Roborob Wrote:Did use it for a while now very stable and very fast, maybe you can add (dutch) subtitle sites for movies too ?? Or work together with opensubtitles osd script.
Now I'll have to use both. Would be great to merge them together Smile
In version 1.05, the script will automatically show an extra option in the main menu, called "Run OpenSubtitles_OSD", when Bierdopje is run from the Video OSD menu.
So in the script settings, you should select Bierdopje Subtitles as the script to run from the Video OSD button.
Reply
#24
mr_blobby Wrote:In version 1.05, the script will automatically show an extra option in the main menu, called "Run OpenSubtitles_OSD", when Bierdopje is run from the Video OSD menu.
So in the script settings, you should select Bierdopje Subtitles as the script to run from the Video OSD button.

Nice option, got it working in Video OSD now Big Grin
Reply
#25
mr_blobby Wrote:As far as know, the developers still discourage the use of the latest trunk, because of the "Impending Merge with Addons"
Of course, if you know how I can make it compatible with this new functionality, let me know. But I haven't found any definitive guidelines for developers how to do that.

Yeah no problem, got it working by making changing the settings line to:


__scriptid__ = "com.googlecode.bierdopje-subtitles-osd"
settings = xbmc.Settings( id=__scriptid__ ).getSetting



also you need a description.xml similar to this...this makes it work

-----
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<addoninfo>
<id>com.googlecode.bierdopje-subtitles-osd</id>
<type>script</type>
<title>bierdopje-osd</title>
<version>1.05</version>
<platforms>
<platform>all</platform>
</platforms>
<minversion>
<xbmc>28764</xbmc>
</minversion>
<summary>bierdopje-osd</summary>
<description>download subtitles from OSD screen</description>
<author>mr_blobby</author>
</addoninfo>
-----
Reply
#26
this part: "Go to the script settings (using the context menu) and customize as needed" i don't get. Can somebody explain where to find this.
Thanks
Reply
#27
basjes Wrote:this part: "Go to the script settings (using the context menu) and customize as needed" i don't get. Can somebody explain where to find this.
Thanks
http://wiki.xbmc.org/index.php?title=Gen...text_Menus
Reply
#28
Would it be possible to have the script automatically select the best match? Now I have to select it manually for every episode when scanning my entire library.
Reply
#29
generator Wrote:Would it be possible to have the script automatically select the best match? Now I have to select it manually for every episode when scanning my entire library.
First of all: when there is an exact match, then you don't have to choose.
So if you don't rename the downloaded tv shows, then the script will automatically download the correct subtitles.

So about the "best" match: could you explain what kind of rules you suggest, to automatically select the best match?

For instance:
  • when the tv show file name contains "xvid", then automatically select the subtitle with "xvid" in the file name?
  • or by filename extension: *.avi = xvid and *.mkv = x264?
  • what to do when there are more then one subtitles with "xvid" in the filename (or "x264")?
  • and do you know what kind of rule I should use to handle the new "Web-DL" format?

It wouldn't be hard to implement, but I would like to know how to determine what is the "best" match?
Reply
#30
Well I use sick beard, which automatically downloads and renames all of my files (the way I like it). So the script's guess is as good as mine.

And besides that, if it only finds one subtitle maybe it should download that one automatically (I didn't even get more than one suggestion in the times I've tried the script).

Maybe you can add an option to automatically download the first find. And if I find out it's the wrong one, I run the script again for that particular file and choose another.
Reply

Logout Mark Read Team Forum Stats Members Help
[RELEASE] Bierdopje Subtitles - Subtitle Search and Download Script0