Sign up here and you can log into the forum!

Plugin: SubDownloader

The WDTVExt plugin depot. Plugins/libraries/code only

Re: Plugin: SubDownloader   

Postby mad_ady » Tue Apr 19, 2011 10:10 pm

Just wanted to let everyone know that sailort has integrated subdownloader functionality into MediaNavigationV4, and it already has this functionality. If using MediaNavigation, you can create a file called lang1.lang2.lang3.sublang in usb/.wdtvext-plugins/MediaNavigationV4 and when asking for a subtitle list you get just subtitles matching lang1/lang2/lang3.

Example of such a file (to get english and romanian):
Code: Select all
en.ro.sublang


The file can be empty. Just its name is important.

Hope this helps as a workaround
User avatar
mad_ady
Developer
 
Posts: 2996
Joined: Fri Nov 05, 2010 9:08 am
Location: Bucharest, Romania

Re: Plugin: SubDownloader   

Postby tomislav177 » Sat May 14, 2011 12:34 am

I have a problem.
Everything works fine except when I want to download subtitle it says D[X]some_subtitle.srt and it wont download.
I also tried Medianavigation 4 and the same is happening. I even tried moded firmware with preinitialized plugins in flash and no subtitle able to downland.
My movies are on shared disk in Windows 7 with full control but file manager from wdtv live when I want to delete some file say read only file.
But I think that this is not the problem because I play move from the local drive attached to wdtv live and same happen, plugin find subtitle and it just won't download it.

Please guys help me I really like this plugin and I can't use it.
Every help is appreciated.
THX.
Don't Happy, Be Worry.
tomislav177
Donor
 
Posts: 8
Joined: Thu May 12, 2011 12:08 pm
Location: Croatia

Re: Plugin: SubDownloader   

Postby mad_ady » Sun May 15, 2011 2:09 am

Most likely the problem is because your shares are read only and you can't write data (e.g. the subtitle file) to your shares from the wdtv.

The reason why the shares are read-only is because in certain cases, using read-write will make your wdtv unstable (it will lock in a SCOD mode - spinning circle).

You can try to enable them read-write, but this depends on what firmware you are running and what kind of shares (samba or nfs).

If you are using 1.02 base firmware I recommend you install the Tools plugin (wdlxtv) and then install this script: http://forum.wdlxtv.com/viewtopic.php?f=48&t=2626. This will allow you to toggle your shares from ro to rw.

If you are running 1.03 or later, you may need to change the way you access your shares (either through xmount or cifsinterceptor) in order to be able to set rw when you mount it.

The easy way to test if mounting read-write fixes the issue is to try to do this:
Code: Select all
mount
mount -o remount,rw /tmp/mnt/share

The mount command will list mounted shares and their attributes (they should have ro), and the next command will remount them rw.
Good luck

P.S There is a lengthy discussion about this in the MediaNavigation v4 thread (it's a few pages long).
User avatar
mad_ady
Developer
 
Posts: 2996
Joined: Fri Nov 05, 2010 9:08 am
Location: Bucharest, Romania

Re: Plugin: SubDownloader   

Postby oudoulj » Sun May 15, 2011 5:18 am

mad_ady wrote:
P.S There is a lengthy discussion about this in the MediaNavigation v4 thread (it's a few pages long).

@tomislav177 :
mad_ady must be refering to the following thread where I had a discussion about that read-only issue :
http://forum.wdlxtv.com/viewtopic.php?f=48&t=4095&p=33580#p33283
This should definitely be helpful !
Installing the modded FW with MNv4 ds-lite was a life saver too (check my signature for it)
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 tomislav177 » Sun May 15, 2011 5:47 am

Thank you guys I fix the problem and also poster this to medianavigation:

I have to reset my device and now everything works on my drive attached to wdtv Live.

I know that it works. But how to enable that on my drive which is shared form windows 7. I set it for full control for everyone so my sister from her laptop can edit my shared file on my pc But wdtv can't.
Is there some trick so that wdtv can by default edit, delete and move files on my shared drive. This question is related with subtitle downloader, because he can't download subtitle on shared disk because is read only in wdtv (I wll say one more time, same folder, and same movie can be edited for another pc).

My ip address form my pc is: 192.168.1.5
My ip address form my wdtv which is connected by wireless is 192.168.1.26
My shred folder are on D:\Movies
My shred folder are on D:\Series
My shred folder are on D:\HD Movies

I don't have any password to access shared files.
The name of my pc is Tomislav-Pc

Is there a way how to enable writing property on wdtv for these shared folder. I know I am asking to much question but this problem is crucial for me.
Can someone help me, and give me the line of code that will resolve my problem.
Don't Happy, Be Worry.
tomislav177
Donor
 
Posts: 8
Joined: Thu May 12, 2011 12:08 pm
Location: Croatia

Re: Plugin: SubDownloader   

Postby zmiki » Sun May 15, 2011 6:49 am

Try to use xmount
xmount //192.168.1.5/Series Series cifs user=guest,pass=guest,rw,nobrl
xmount //192.168.1.5/Movies Movies cifs user=guest,pass=guest,rw,nobrl
Now your directoryies will be under USB1 and will be rw.
Or if you use modeed firmware with MN4 intgrated you can run ds-lite command to toggle ro / rw for network shares.
regards
zmiki
Developer
 
Posts: 109
Joined: Mon Apr 12, 2010 4:45 am

Re: Plugin: SubDownloader   

Postby tomislav177 » Sun May 15, 2011 8:13 am

Thx tomorrow I will try this and tell you the result.
THX
Don't Happy, Be Worry.
tomislav177
Donor
 
Posts: 8
Joined: Thu May 12, 2011 12:08 pm
Location: Croatia

Re: Plugin: SubDownloader   

Postby nameless » Sun Jun 05, 2011 3:04 pm

Awesome plugin, thank you Lupu.

Works great! :)
-------------------------
T & A and Rock n Roll
nameless
Donor
 
Posts: 14
Joined: Tue Jan 04, 2011 4:24 am
Location: Australia

Re: Plugin: SubDownloader   

Postby marlosab » Tue Aug 23, 2011 12:29 am

New plugin version with some improvements:

http://forum.wdlxtv.com/viewtopic.php?f=48&t=5049

Marlos.
marlosab
n00b
 
Posts: 18
Joined: Fri Aug 20, 2010 5:38 am

Re: Plugin: SubDownloader   

Postby marlosab » Tue Aug 23, 2011 9:14 am

mwennervaldt wrote: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.?


I have included this option in the new version:
http://forum.wdlxtv.com/viewtopic.php?f=48&t=5049

Enjoy!

Marlos
marlosab
n00b
 
Posts: 18
Joined: Fri Aug 20, 2010 5:38 am

PreviousNext

Return to WDTVExt plugins

Who is online

Users browsing this forum: No registered users and 1 guest