Sign up here and you can log into the forum!

Plugin: SubDownloader

The WDTVExt plugin depot. Plugins/libraries/code only

Re: Plugin: SubDownloader   

Postby jnetode » Tue Nov 23, 2010 4:23 pm

jnetode wrote:Hello,
thanks for the typ! I will try this and let you know.


Hi,

I tried what you told. I figure sometimes it opens the search window find some titles and act as it is downloading, but it does not. I think it would be one time the WDTV would crash. At least, it does not anymore, thanks a lot!

About the problem: today I realized, it loaded a window searching subtitles for another movie I had tried before. Mabe it has something to do with the prevously crashing problem.

Thanks a lot.
jnetode
Donor
 
Posts: 14
Joined: Sun Jun 06, 2010 9:00 am

Re: Plugin: SubDownloader   

Postby oudoulj » Sun Dec 19, 2010 10:23 am

RavRob wrote:
latvian wrote:
Lupu wrote:INFO:
When I press the search button with a movie, I get an X in the top right corner
Thanks


It is the Eject button you must press, not the search button. That was changed a while back.

The owner of the thread (Lupu ?) should definitely update Page 1 and replace the Search button with the Eject button because many people like myself get tricked by the obsolete info on Page 1.
Thanks :)
WD TV Live (Model number WDBAAP0000NBK) running 1.02.21.WDLXTV_LIVE-0.5.1.1 + picto osd + MNv4 + webplayer
Synology DS212
oudoulj
DLX'er
 
Posts: 53
Joined: Fri Aug 13, 2010 12:38 am

Re: Plugin: SubDownloader   

Postby recliq » Sun Dec 19, 2010 10:28 am

added info to first post.
­WDLXTV Project Maintainer
-:] If you like my contributions feel free to donate for a beer or a new flash drive. ...and always remember: RTFM! (README, FAQ, WIKI) [:-
User avatar
recliq
WDLXTV Team
 
Posts: 5022
Joined: Thu Apr 15, 2010 8:09 am
Location: Kiel, Germany

Re: Plugin: SubDownloader   

Postby oudoulj » Sun Dec 19, 2010 12:20 pm

recliq wrote:added info to first post.

Thanks recliq.

I'm stuck very close to the solution.
Here is my configuration, rather standard I guess.

I have movies on my NAS (WD My Book World Edition)
I have b-rad 0.4.3.3 and PsychoTHC 0.6.3.1 theme on a USB stick ("2-in-1" installation from : http://www.michaelrottner.de/wdtv_live.html)
I have Subtitle Downloader 0.23.03 (that's my only installed plugin obtained directly from the WDTVExt Plugins in the WD TV Live interface)
After reading page 7 of this thread, I updated my xmount line in the net.mounts file to :
Code: Select all
xmount 192.168.0.2:/nfs/Public MyBookWorld nfs rw

and rebooted the Live
(I only added rw at the end. It dit not work either before I added that attribute)

If I go to : Video => Local drives => Folders
and launch a movie, then I hit the Search button.
A list of available subtitles shows up.
I select a subtitle and press OK.
Then I stop the movie and relaunch it (with either the Play key or the OK key)
Whether I choose to resume the movie or start it over, I can never see any subs...

I must be very close to a working solution !
Is there a way to know that the subs were successfully downloaded ?
Where are they saved on the USB stick/Live ?
Thanks for your help !
WD TV Live (Model number WDBAAP0000NBK) running 1.02.21.WDLXTV_LIVE-0.5.1.1 + picto osd + MNv4 + webplayer
Synology DS212
oudoulj
DLX'er
 
Posts: 53
Joined: Fri Aug 13, 2010 12:38 am

Re: Plugin: SubDownloader   

Postby pippolino » Thu Jan 13, 2011 2:52 am

Hello, reading all the posts I think the solution could be as follows (I have the same problems):

1- if you have media using xmount, then you have to use read only (ro), else it crashes
2- in that way, if you use subdownloader, it cannot save the subs to the media folder
3- someone suggest to save the file in /tmp. but this does not work because folders are different.

Could the solution be this one?
- save the sub in /tmp/tmpsubs or a single folder for the specific movie
- at the same time do a mount/merge of the new sub directory to the movie directory. In that way shouldn't it work?
so it should be able to whatch with subs until next reboot...

Best regards
pippolino
WDTVer
 
Posts: 24
Joined: Thu Apr 22, 2010 5:09 am

Re: Plugin: SubDownloader   

Postby mwennervaldt » Mon Jan 17, 2011 9:14 am

Hey very Happy :D with your plugin.! and no problems getting it to work.

Is it possible to exclude some languages in the search results, or even better choose permanently which languages to include.?
mwennervaldt
n00b
 
Posts: 7
Joined: Tue Dec 14, 2010 1:09 pm

Re: Plugin: SubDownloader   

Postby cleancode » Wed Jan 26, 2011 2:54 pm

Is there a posibility to define preferred language/s ?
I get to many subtitles for my searches, but I only need Croatian, Serbian or Bosnian.
I am sure some people would like to filter out only Brasilian or Portugese...

It would be nice to be able to define prefered language/s and to minimise number of results.
Is it on the roadmap ?
cleancode
n00b
 
Posts: 2
Joined: Sat Sep 18, 2010 2:14 pm

Re: Plugin: SubDownloader   

Postby recliq » Thu Jan 27, 2011 2:15 am

not right now, when i find some time i will have a look if it's possible to implement...
­WDLXTV Project Maintainer
-:] If you like my contributions feel free to donate for a beer or a new flash drive. ...and always remember: RTFM! (README, FAQ, WIKI) [:-
User avatar
recliq
WDLXTV Team
 
Posts: 5022
Joined: Thu Apr 15, 2010 8:09 am
Location: Kiel, Germany

Re: Plugin: SubDownloader   

Postby dzebrys » Fri Feb 25, 2011 3:44 pm

hi,

i've also problem with this plugin. the window was opening but always get result "no subtitles..."
the solution was to inspect dmaosd.log and check if incuded get_movie_hash function return some valid
values [instead undefined]. it can be done by executing it with some file as parameter. off course first
of all it have to be executable. use chmod +x if it is not.

after execution in my box i receive such fault:
./get_movie_hash: error while loading shared libraries: libgcc_s.so.1: ELF load command alignment not page-aligned

in my case the problematic was wdlxtv_optware.bin. there is library included libgcc_s.so.1 which differs from the one
in main filesystem. the one from /opt/lib was used by executable due to $PATH definition.

i have just overwritten it with the library from main filesystem and now it works.


regards
piotr
User avatar
dzebrys
DLX'er
 
Posts: 130
Joined: Mon Feb 14, 2011 1:49 am
Location: poland

Re: Plugin: SubDownloader   

Postby limdul » Tue Apr 19, 2011 10:25 am

cleancode wrote:Is there a posibility to define preferred language/s ?
I get to many subtitles for my searches, but I only need Croatian, Serbian or Bosnian.
I am sure some people would like to filter out only Brasilian or Portugese...

It would be nice to be able to define prefered language/s and to minimise number of results.
Is it on the roadmap ?



It possible to modify the javascript to do this. But right now I've not looked at doing this as an option

This might get a bit technical:

In the file SubDownloader.plugin.js find the line:

Code: Select all
sub_array.push(temp_array);


replace it with:

Code: Select all
if(temp_array[3] == "English")
{
     sub_array.push(temp_array);
}


to only get English subs, more languages can be added. So yours would be:

Code: Select all
if((temp_array[3] == "Croatian") or (temp_array[3] == "Serbian") or (temp_array[3] == "Bosnian"))
{
     sub_array.push(temp_array);
}
User avatar
limdul
n00b
 
Posts: 18
Joined: Mon Jul 26, 2010 5:17 am
Location: Odense, Denmark

PreviousNext

Return to WDTVExt plugins

Who is online

Users browsing this forum: No registered users and 1 guest