[19. April 2013] A-400 Advanced Network Setup now available | [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 [21 Jan. 2013] | A-200/A-210 [10 Aug. 2012]

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 
Torrentwatch-X - Replacement for Torrentwatch/NMTDVR
01-28-2010, 07:26 PM (This post was last modified: 04-22-2010 07:44 AM by .:ian:..)
Post: #1
Torrentwatch-X - Replacement for Torrentwatch/NMTDVR
I use NMTDVR a lot, but it has some niggly problems and because it uses Yii framework its horrible to try and debug..

So looking around someone has taken the original Torrentwatch code and added features and fixed bugs. but moved away from being a specific NMT app: http://code.google.com/p/torrentwatch-x/

It lacks NMTDVRs support for tvdb/imdb lookups, only caters for TV programs, supports only Transmission or save to folder.

However the Transmission integration is v nice, and its noticably faster.

It nearly works out of the box, except it now uses PHP-Curl libs, and there is no support for this so I spent a little while writing a wrapper to mimic this library, with minimal changes to the core code.

The CSI installer package is here, http://code.google.com/p/torrentwatch-x/downloads/list

It seems to install ok on my A110, running lighthttpd 1.4.19nmt10 and works fine with Transmission 1.76, and using the ezrss and bt-chat feeds.

Please try and install it and give me feedback if you find any issues.

ETA: the web link will be http://ip of pch:9999/Torrentwatchx_web

New features:

NMTDVR import script.
Run the config wizard first, then access this via http://ip-of-nmt:9999/Torrentwatchx_web/import_nmtdvr.php
If NMTDVR is installed it will import any favourites that do not already exist in Torrentwatchx

It wont update the most recently downloaded episode num,ber, and the feed defaults to "all".
It will copy the save in location and any quality preference (720p/hdtv/etc).

Transmission Queuing

Turned off by default, edit the file transmission_queue.php to specify a download and/or seed limit, if there are more than the limit specifed the remainder are paused, until a torrent finishes, when another is started.

Runs from crontab.sh, so it will take up-to 20mins to start/stop torrents, though you can run it manually via http://ip-of-nmt:9999/Torrentwatchx_web/transmission_queue.php

Email support

Follow the instructions in the file mailscript.sh.txt, it will send an email when a favourite is downloaded, or an error occurs.

New for 0.6.2

Change the default timezone and rss feed cache lifetime, see http://code.google.com/p/torrentwatch-x/wiki/FAQ

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

Edited: 2/2/2010 - New Version 0.6.0.NMT.1
Edited: 8/2/2010 - New Version 0.6.0 NMT 2 - fixed corruption in the tar file
Edited: 8/2/2010 - New Version 0.6.1 NMT - Various extra features
Edited: 11/2/2010 - New Version 0.6.1.NMT.1 - Bug fixes - changed /share/tmp to just /tmp
Edited: 17/2/2010 - New Version 0.6.1.NMT.2 - crontab.sh now looks in different places for php-cgi executable
9/3/2010 - New Version 0.6.2.NMT - Updated to 0.6.2
15/3/2010 - New Version 0.6.2.NMT.1 - fixes problem with session file becoming owned by root and readonly
22/04/2010 - Released directly by Wiebel
Find all posts by this user
Add Thank You Quote this message in a reply
[+] 7 users say Thank You to .:ian:. for this post
01-28-2010, 08:57 PM
Post: #2
RE: Torrentwatch-X - Replacement for Torrentwatch/NMTDVR
A tiny clerification (remember the port number):

http://<ip of pch>:9999/Torrentwatchx_web

seems fine so far, even has a thing I have misse, 'hide'.
Find all posts by this user
Add Thank You Quote this message in a reply
[+] 1 user says Thank You to vaivel for this post
01-28-2010, 09:47 PM
Post: #3
RE: Torrentwatch-X - Replacement for Torrentwatch/NMTDVR
The zombie reason to love open source:
just when you think the code is dead, somebody comes around to reanimate it Wink

Audio, video, disco - I hear, I see, I learn.
Wiki. Wiki? Wiki!
Find all posts by this user
Add Thank You Quote this message in a reply
01-29-2010, 09:37 AM (This post was last modified: 07-04-2012 01:53 AM by ciao.)
Post: #4
RE: Torrentwatch-X - Replacement for Torrentwatch/NMTDVR
Thanks, great work. I really liked nmtdvr although it had a few problems and hasn't been updated with any new features.

About torrentwatch-x, it worked very fast and smooth so far. http://www.centplay.com/affiliate/id_366/
Visit this user's website Find all posts by this user
Add Thank You Quote this message in a reply
01-29-2010, 11:52 AM
Post: #5
RE: Torrentwatch-X - Replacement for Torrentwatch/NMTDVR
Just so you all know, if you have lighttpb installed, neither this version or NMTDVR will not update the rss feeds due to lighttpd deleteing the crontab entries.

I use NZB's to download from and this version does not support downloading from nzb rss feeds with out a bit of playing around with the settings, altho i did manage to get it working with nzbs.

Are you planning to add native nzb support?

Miller

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
01-29-2010, 12:33 PM
Post: #6
RE: Torrentwatch-X - Replacement for Torrentwatch/NMTDVR
(01-29-2010 11:52 AM)jhmiller Wrote:  Just so you all know, if you have lighttpb installed, neither this version or NMTDVR will not update the rss feeds due to lighttpd deleteing the crontab entries.

I use NZB's to download from and this version does not support downloading from nzb rss feeds with out a bit of playing around with the settings, altho i did manage to get it working with nzbs.

Are you planning to add native nzb support?

Miller

Well yes, ligfttpb did not work with nmtdvr but it currently works with torrentwatch-x, at least in my nmt.
Visit this user's website Find all posts by this user
Add Thank You Quote this message in a reply
01-29-2010, 12:33 PM
Post: #7
RE: Torrentwatch-X - Replacement for Torrentwatch/NMTDVR
(01-29-2010 11:52 AM)jhmiller Wrote:  Just so you all know, if you have lighttpb installed, neither this version or NMTDVR will not update the rss feeds due to lighttpd deleteing the crontab entries.

I use NZB's to download from and this version does not support downloading from nzb rss feeds with out a bit of playing around with the settings, altho i did manage to get it working with nzbs.

Are you planning to add native nzb support?

Miller

I noticed that it would only add matching torrents when I started the web interface. There is no crontab entry by torrentwatch-x that I can see and I have lighttpd 1.4.23-nmt2 installed, could that be the reason?
Is it possible to just add the crontab line back in via start_apps.sh? If so, what is the line I have to add to crontab? I assume it has something to do with the crontab.sh script in the torrentwatch-x dir?
Find all posts by this user
Add Thank You Quote this message in a reply
01-29-2010, 01:40 PM
Post: #8
RE: Torrentwatch-X - Replacement for Torrentwatch/NMTDVR
Just one simple question:
Will it work on C200 ?

[Image: 66242.png]
PCH C-200 > HDMI > Yamaha RX-V 1500 > HDMI > Samsung PS50B650S1W
HDX1000 > HDMI > Yamaha RX-V 1500 > HDMI > Samsung PS50B650S1W
Synology DS408
Find all posts by this user
Add Thank You Quote this message in a reply
01-29-2010, 04:31 PM (This post was last modified: 01-29-2010 04:34 PM by jhmiller.)
Post: #9
RE: Torrentwatch-X - Replacement for Torrentwatch/NMTDVR
(01-29-2010 12:33 PM)ciao Wrote:  Well yes, ligfttpb did not work with nmtdvr but it currently works with torrentwatch-x, at least in my nmt.

I take it you have not restarted the PCH, when you do, it will reset crontab.

I got round this unticking start at boot for lighttpd then adding a startup line in start_app.sh, but this is not the correct way.

I am trying to make an installer for NMTDVR that will add the entries to start-app.sh instead of going through Appinit. I know its possable as oversight and feedtime do it this way. Im sure ian could use this method to get his version to work with lighttpd.


Miller
(01-29-2010 01:40 PM)Romario1972 Wrote:  Just one simple question:
Will it work on C200 ?

I should be easy to get it to work on the C200, ive managed to convert NMTDVR to work on the C200 with no programing skills, so ian might release a version compatible with both A and C machines.

Miller

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
01-29-2010, 06:03 PM
Post: #10
RE: Torrentwatch-X - Replacement for Torrentwatch/NMTDVR
Ian, thank you for your work. I've been looking forward to this app, since NMTDVR didn't work on my C200.

I can confirm that Torrentwatch-x works on a C200 with the firmware of 8-jan (02-02-100109-19-POP-408-000).
Installed it with CSI, just had to change the default download directory in the Torrentwatch-x settings dialog.
Torrentwatch-x updated the feed and downloaded (according to the favorites) a tv episode all on its own.

Also installed lighttpd 1.4.24-nmt1 (but that was after Torrentwatch-x, so not sure what happens the other way around)
I haven't restarted the C200 yet.
Find all posts by this user
Add Thank You Quote this message in a reply
[+] 1 user says Thank You to j00st for this post
01-29-2010, 06:29 PM
Post: #11
RE: Torrentwatch-X - Replacement for Torrentwatch/NMTDVR
Good news for me!
so, it will be perfect to add this package to CSI for C200!
Also, I'll check it on holidays.

[Image: 66242.png]
PCH C-200 > HDMI > Yamaha RX-V 1500 > HDMI > Samsung PS50B650S1W
HDX1000 > HDMI > Yamaha RX-V 1500 > HDMI > Samsung PS50B650S1W
Synology DS408
Find all posts by this user
Add Thank You Quote this message in a reply
[+] 1 user says Thank You to Romario1972 for this post
01-29-2010, 07:10 PM
Post: #12
RE: Torrentwatch-X - Replacement for Torrentwatch/NMTDVR
(01-29-2010 11:52 AM)jhmiller Wrote:  Are you planning to add native nzb support?

Miller

I only use torrents, so I dont have any intentions to add nzb support, sorry.. (or movies/other support either)

The crontab thing is annoying, does anyone know off hand why lighthttpd does it?

The cheesy (but safe) way to fix it is to add the following 3 lines to start_app.sh for each application:

Code:
crontab -l > /share/tmp/cron.tmp
echo "0,20,40 * * * * su nobody /share/Apps/Torrentwatchx/crontab.sh" >> /share/tmp/cron.tmp
crontab /share/tmp/cron.tmp

..with some way to remove it when uninstalling it..

(of course. getting lighthttpd to not break the cron file in Appinit would be better. Smile )
Find all posts by this user
Add Thank You Quote this message in a reply
01-30-2010, 10:50 PM (This post was last modified: 01-30-2010 10:54 PM by ciao.)
Post: #13
RE: Torrentwatch-X - Replacement for Torrentwatch/NMTDVR
(01-29-2010 04:31 PM)jhmiller Wrote:  I take it you have not restarted the PCH, when you do, it will reset crontab.

I got round this unticking start at boot for lighttpd then adding a startup line in start_app.sh, but this is not the correct way.

I am trying to make an installer for NMTDVR that will add the entries to start-app.sh instead of going through Appinit. I know its possable as oversight and feedtime do it this way. Im sure ian could use this method to get his version to work with lighttpd.


Miller

Nope, I'd restarted already before I wrote here. I generally choose to restart after installing a file. Other than that, turned it off and on some other time for house maintenance. It still updates, along with lighttpd.

FYI, I first installed twatch-x and then lighttpd, as I didn't have it before due to nmtdvr issues.
Visit this user's website Find all posts by this user
Add Thank You Quote this message in a reply
01-31-2010, 12:20 AM
Post: #14
RE: Torrentwatch-X - Replacement for Torrentwatch/NMTDVR
(01-30-2010 10:50 PM)ciao Wrote:  Nope, I'd restarted already before I wrote here. I generally choose to restart after installing a file. Other than that, turned it off and on some other time for house maintenance. It still updates, along with lighttpd.

FYI, I first installed twatch-x and then lighttpd, as I didn't have it before due to nmtdvr issues.
Strange, both NMTDVR(it did, but ive changed how it adds it now) and Torrentwatch-X use the same method of adding the cron entries, and as far as i know lighttpd does clear these entries.

The only thing i can think of is that either Lighttpd did not install right or its not running right.

Can anyone else confirm that lighttpd is not resetting crontab any more?

Miller

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
02-02-2010, 01:51 PM
Post: #15
RE: Torrentwatch-X - Replacement for Torrentwatch/NMTDVR
I have uploaded a new version, based on the latest 0.6 release, with a fix for the sorting issue (when shown "combined" Feb appeared below Jan)

CSI install file : http://starcroft.org/nmt/Torrentwatchx-0.6.NMT.1.zip

I have also attempted to work-around the cron problem using the start part of daemon.sh, this seems to work ok for me. (Though it probably depends on the order in which the apps start)

You should be able to comment out anything in start_app.sh related to Torrentwatchx.
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
  TankTV (AppleTV Clone & Gaya replacement) vinayp 69 24,207 01-08-2011 05:48 PM
Last Post: AlramEast
  Automatic TV Show Subtitle Download (Torrentwatch?) El_Duderino 4 6,067 11-19-2009 01:37 PM
Last Post: ussitano
  Replacement FTP server available? say170 5 2,108 11-08-2009 05:01 PM
Last Post: dc11ab
  Download doesn't start with torrentwatch, why? mojitoo 6 2,722 11-08-2009 01:07 AM
Last Post: dogeth
  Step By Step Instructions For Using TorrentWatch With TVRSS.NET edgett 0 1,485 04-29-2009 03:35 PM
Last Post: edgett
  TorrentWatch will not launch a download columbo 5 1,952 04-25-2009 08:17 AM
Last Post: snirs
  torrentWatch and Google Reader smeukh 0 1,407 10-22-2008 03:13 PM
Last Post: smeukh
  Maya (gaya replacement) doctorzoidberg 15 7,282 06-25-2008 01:28 PM
Last Post: doctorzoidberg

Forum Jump: