[7. June 2013] Youporn available now | [19. April 2013] A-400 Advanced Network Setup | [11 Jan. 2013] Customize your A-400 Home Screen

Firmware: A-400 [13 May 2013] | C-300 [30 Nov. 2012] | A-300 [30 Nov. 2012] | C-200 RC1 [13 June 2013] | A-200/A-210 RC1 [13 June 2013]

Just got your NMT | WIKI has the answers | Search the forum | Forum Rules/Policy | Firmware & Official NMT News | Popcornhour manuals



User(s) browsing this thread: 1 Guest(s)
Post Reply 
Bierdopje auto-sub for A-110
06-29-2012, 09:21 AM (This post was last modified: 07-09-2012 11:29 AM by BeeVee.)
Post: #1
Bierdopje auto-sub for A-110
Hi,

I got bierdopjes' auto-sub python script running on my PCH A-110 and I thought it might be a good idea to share it with the community. So here's my first effort in making a CSI compatible zipfile.

Download File - 836.5 Kb (UPDATED FILE)

Please let me know if this is helpful or improvements could me made / are required :-)

UPDATE: there are some problems with the install. please only use it if you know how to fix it. Am trying to get it working (again) myself... Sorry for the inconvenience!!!

Sorry forgot to inform you:

it will require opkg to run the Python script. However, it should check whether or not it is installed and when needed download and install it.

It will scan the Tv folder on the internal harddisk. To change this alter the ROOTPATH entry in the config.properties file

e.g.: rootpath = /opt/sybhttpd/localhost.drives/HARD_DISK/Tv
Find all posts by this user
Add Thank You Quote this message in a reply
[+] 1 user says Thank You to BeeVee for this post
06-29-2012, 10:51 AM
Post: #2
RE: Bierdopje auto-sub for A-110
Wow, that is great! I will try it at home to use this to install it on my A100. I will ise it for my CouchPotato downloads.

Is it possible to update the python script myself using new releases from bierdopje? Or do you need to make specific changes to the python file?

And last question: is it added to the scheduler, i.e. will it run every 8 hours or so?
Find all posts by this user
Add Thank You Quote this message in a reply
06-29-2012, 11:19 AM
Post: #3
RE: Bierdopje auto-sub for A-110
(06-29-2012 10:51 AM)ernstblaauw Wrote:  Wow, that is great! I will try it at home to use this to install it on my A100. I will ise it for my CouchPotato downloads.

Is it possible to update the python script myself using new releases from bierdopje? Or do you need to make specific changes to the python file?

And last question: is it added to the scheduler, i.e. will it run every 8 hours or so?

The updates should work from the GUI itself :-)
use: http://IPaddressOfNMT:8083

Alternatively you could also extract the code from code.google.com/p/auto-sub. However, be sure to make a backup of the config.properties!

Last, but not least. Yes it is added to the scheduler.
Find all posts by this user
Add Thank You Quote this message in a reply
06-29-2012, 05:39 PM
Post: #4
RE: Bierdopje auto-sub for A-110
Here, the install does not proceed after selecting the zip file.
If I can help you to fix this, please tell me.

I'm looking forward to the next version :-)!
Find all posts by this user
Add Thank You Quote this message in a reply
06-30-2012, 11:58 AM
Post: #5
RE: Bierdopje auto-sub for A-110
(06-29-2012 05:39 PM)ernstblaauw Wrote:  Here, the install does not proceed after selecting the zip file.
If I can help you to fix this, please tell me.

I'm looking forward to the next version :-)!

It seems there were additional files in the tar embedded in the zip file (DS store and some OSX stuff). I removed those last night, but I still get the 'file not found' error. Am unsure if there is any additional logging I could look into.
Find all posts by this user
Add Thank You Quote this message in a reply
06-30-2012, 12:50 PM
Post: #6
RE: Bierdopje auto-sub for A-110
Just to let you know, the tar file is not right, it should just contain the files but as it is now contains a folder then the files.

Also the A1xx's are very picky about how the tar file is built, try using IZarc from http://www.izarc.org/

My Popcorn Hour A110 Trakt.tv (TESTING)
[Image: watched-fanart.jpg]
Community Software Installer - For All Your User Apps
PchTrakt - Millers Mods Download

A-400 - Onkyo TX SR608 AV receiver, C-200, A110
Find all posts by this user
Add Thank You Quote this message in a reply
[+] 1 user says Thank You to jhmiller for this post
07-06-2012, 07:06 AM
Post: #7
RE: Bierdopje auto-sub for A-110
(06-30-2012 12:50 PM)jhmiller Wrote:  Just to let you know, the tar file is not right, it should just contain the files but as it is now contains a folder then the files.

Also the A1xx's are very picky about how the tar file is built, try using IZarc from http://www.izarc.org/

thanks, I tried it with 7zip myself. Removed the additional files and redid the tar, but still no joy. Will try it with the IZarc as well, but since it doesn't work on OSX I need to get the old laptop up and running :-)
Find all posts by this user
Add Thank You Quote this message in a reply
07-09-2012, 11:30 AM
Post: #8
RE: Bierdopje auto-sub for A-110
(07-06-2012 07:06 AM)BeeVee Wrote:  
(06-30-2012 12:50 PM)jhmiller Wrote:  Just to let you know, the tar file is not right, it should just contain the files but as it is now contains a folder then the files.

Also the A1xx's are very picky about how the tar file is built, try using IZarc from http://www.izarc.org/

thanks, I tried it with 7zip myself. Removed the additional files and redid the tar, but still no joy. Will try it with the IZarc as well, but since it doesn't work on OSX I need to get the old laptop up and running :-)


Hi, just updated the ZIP file with the TAR inside it. Haven't tested it yet, because I am @work :-(.
Find all posts by this user
Add Thank You Quote this message in a reply
09-06-2012, 11:20 AM
Post: #9
RE: Bierdopje auto-sub for A-110
http://oron.com/8kl3z9w6zy9g Not Found, The requested URL /8kl3z9w6zy9g was not found on this server.

please re upload the file.
Find all posts by this user
Add Thank You Quote this message in a reply
10-02-2012, 06:32 PM
Post: #10
RE: Bierdopje auto-sub for A-110
Any progress in this development?

My Popcorn Hour A110 Trakt.tv (TESTING)
[Image: all-fanart.jpg]
Find all posts by this user
Add Thank You Quote this message in a reply
12-12-2012, 10:33 PM (This post was last modified: 12-16-2012 01:50 PM by Djiest.)
Post: #11
RE: Bierdopje auto-sub for A-110
I was able to install auto-sub for downloading Dutch subtitles for TV series. I will describe here how I have done this.

This manual is for a large part based on the manual I found at http://www.mdevries.org/synology_autosub.html.

First, make sure ' local' is installed, using the CSI installer.
After that, make sure python is installed. Everything about 'local' can be found here, so I will not go into details here.

Auto-sub requires Python Cheetah, which can be found here. Please turn to the manual for installation details.

When running python, you might get an error

Code:
can't load library 'libsocket.so.0'
Please turn to here for the solution.

Then go to the parentfolder in which AutoSub will be installed. A folder for AutoSub is created automatically.

Execute the following code
Code:
wget http://auto-sub.googlecode.com/files/auto-sub.Beta.0.5.6.zip

Unpack the ZIP file with

Code:
unzip auto-sub.Beta.0.5.6.zip

When no longer needed, the ZIP file can be deleted using
Code:
rm auto-sub.Beta.0.5.6.zip

Go into the auto-sub folder and start the app, for me the startup code is
Code:
/share/Apps/local/bin/python AutoSub.py

First time you will get some errors, just ignore them. Using your browser, goto http://<IP-of-NMT>:8083
Go to the config section and add at least path and Rootpath, where
Code:
path = /path/to/auto-sub
rootPath = /path/to/series

Save the configfile and restart AutoSub.
Now your good to go! Subtitles will be downloaded, even when the original files have been renamed.
For configuration details of AutoSub, see the Wiki

TODO: create autorun script

[UPDATE]
Well, this is bizar.
Suddenly AutoSub starts updating the database and generates an error and will not run any longer. Some more digging to do Angry

[UPDATE 2]
I was able to work-around this issue by adding
Code:
return true
on line 129 in autosub/Db.py

Posted this as issue 164 on http://code.google.com/p/auto-sub/issues/detail?id=164

[UPDATE 3]
The webclient is really slow, almost unusable. By checking the log file I can see that autosub IS running.

My Popcorn Hour A110 Trakt.tv (TESTING)
[Image: all-fanart.jpg]
Find all posts by this user
Add Thank You Quote this message in a reply
[+] 1 user says Thank You to Djiest for this post
12-13-2012, 04:40 PM (This post was last modified: 01-21-2013 03:06 PM by Djiest.)
Post: #12
RE: Bierdopje auto-sub for A-110
I am not a Linux expert, so can someone please create an startup script for autosub and tell me how to install it?

it should contain
Code:
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/share/Apps/local/lib
/share/Apps/local/bin/python /share/Apps/AppInit/websites/auto-sub/AutoSub.py --config=/share/Apps/AppInit/websites/auto-sub/config.properties

Thanks!

My Popcorn Hour A110 Trakt.tv (TESTING)
[Image: all-fanart.jpg]
Find all posts by this user
Add Thank You Quote this message in a reply
02-05-2013, 11:21 PM
Post: #13
RE: Bierdopje auto-sub for A-110
Just a quick update, got Autosub up, running and autostarting on a A300.
Will post the daemon.sh code later.
Find all posts by this user
Add Thank You Quote this message in a reply
02-06-2013, 09:15 PM (This post was last modified: 02-06-2013 09:16 PM by Gsxie.)
Post: #14
RE: Bierdopje auto-sub for A-110
OKe made an update Here
Find all posts by this user
Add Thank You Quote this message in a reply
06-04-2013, 10:51 AM
Post: #15
RE: Bierdopje auto-sub for A-110
Can some one make an updated NMT Installer package of AutoSub please?

Thnx in advance

Popcornhour A110 + A300
2 TB Samsung Spinpoint
46 inch Samsung A656
Onkyo TX - SR 606
Internet Broadband 120Mbit (ZIGGO)
Find all posts by this user
Add Thank You Quote this message in a reply
Post Reply 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  Is it possible to code a HULU player for the A-110? mulderfox 0 441 01-05-2013 11:11 AM
Last Post: mulderfox
Star [Apps] Bierdopje 4 NMT PHP script SilverViper 4 1,419 11-26-2012 04:57 PM
Last Post: Djiest
  MN-200 work with B-110? dwalterm 2 1,509 03-30-2012 05:31 PM
Last Post: dwalterm
  A-110 used like server db to store sensor data csorda 0 1,098 01-18-2012 04:06 PM
Last Post: csorda
  SSH keygen on A-110 - how to lhg1 0 1,231 11-03-2011 10:58 PM
Last Post: lhg1
  PCH A-110 and LG LW6500 SMART TV tommbslk 1 2,207 06-25-2011 05:13 PM
Last Post: Warden
Rainbow Litepodder v1.0.0 for Popcorn Hour A-100/A-110/B-110 (podcast downloader) philofred 117 40,801 04-05-2011 03:17 AM
Last Post: jasch
  Looking for the binary file of Fuppes for pch-110 gcf 0 1,562 01-29-2011 12:57 PM
Last Post: gcf
  A-110 and Netflix cobra2497 7 5,531 01-10-2011 05:59 PM
Last Post: beaubrewer1977
Star Bierdopje 4 NMT SilverViper 26 7,905 12-29-2010 04:54 PM
Last Post: dc11ab

Forum Jump: