Firmware: A-410 [01 Apr. 2014] | A-400 [12 Mar. 2014] | C-300 [13 Feb. 2014] | A-300 [24 Feb. 2014] | C-200 [11 July 2013] | A-200/A-210 [11 July 2013] | Popbox V8 [3 Dec 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)
Thread Closed 
[200/300] [Apps] PchTrakt 0.4.22 - Trakt.tv scrobbling
05-10-2012, 10:31 PM
Post: #211
RE: [Apps] PchTrakt 0.4.20 - Trakt.tv scrobbling
(05-10-2012 09:35 PM)Omertron Wrote:  telnet to the pch
Code:
cd /share/Apps/pchtrakt
./daemon.sh update
exit
Simple as

Thanks for that; i've put it in a windows script and can just update with a double click now

trakt.tv
Find all posts by this user
05-11-2012, 10:47 AM
Post: #212
RE: [Apps] PchTrakt 0.4.20 - Trakt.tv scrobbling
Hi John, Can we take this to the next level and get it to adjust the xml to show watched? I think the watched monitor might do this so you could collaborate?

Find all posts by this user
[+] 1 user says Thank You to Bazrah for this post
05-11-2012, 02:20 PM
Post: #213
RE: [Apps] PchTrakt 0.4.20 - Trakt.tv scrobbling
(05-10-2012 10:31 PM)nawo69 Wrote:  
(05-10-2012 09:35 PM)Omertron Wrote:  telnet to the pch
Code:
cd /share/Apps/pchtrakt
./daemon.sh update
exit
Simple as

Thanks for that; i've put it in a windows script and can just update with a double click now

wanna share it with me? Big Grin

Find all posts by this user
05-11-2012, 02:38 PM (This post was last modified: 05-11-2012 03:14 PM by nawo69.)
Post: #214
RE: [Apps] PchTrakt 0.4.20 - Trakt.tv scrobbling
(05-11-2012 02:20 PM)meowmoo Wrote:  
(05-10-2012 10:31 PM)nawo69 Wrote:  
(05-10-2012 09:35 PM)Omertron Wrote:  telnet to the pch
Code:
cd /share/Apps/pchtrakt
./daemon.sh update
exit
Simple as

Thanks for that; i've put it in a windows script and can just update with a double click now

wanna share it with me? Big Grin

yeah no probs just save the following into a .js file changing the telnet address to your device; the only this i couldn't get working was to exit out again at the end as the Exit command didn't work properly but it also didn't work doing it manually either so I just removed that bit.

var Shell=WScript.CreateObject("WScript.Shell");
Shell.Run("telnet PCH-C200");
WScript.Sleep(100);
Shell.SendKeys("nmt");
Shell.SendKeys("{ENTER}");
WScript.Sleep(100);
Shell.SendKeys("1234");
Shell.SendKeys("{ENTER}");
WScript.Sleep(100);
Shell.SendKeys("cd /share/Apps/pchtrakt");
Shell.SendKeys("{ENTER}");
WScript.Sleep(100);
Shell.SendKeys("./daemon.sh update");
Shell.SendKeys("{ENTER}");

(05-11-2012 10:47 AM)Bazrah Wrote:  Hi John, Can we take this to the next level and get it to adjust the xml to show watched? I think the watched monitor might do this so you could collaborate?

Yeah that would be a great addition.

trakt.tv
Find all posts by this user
[+] 1 user says Thank You to nawo69 for this post
05-11-2012, 03:40 PM
Post: #215
RE: [Apps] PchTrakt 0.4.20 - Trakt.tv scrobbling
(05-11-2012 02:38 PM)nawo69 Wrote:  the only this i couldn't get working was to exit out again at the end as the Exit command didn't work properly but it also didn't work doing it manually either so I just removed that bit.
I think that the daemon script doesn't exit cleanly (despite returning to the command line) and leaves a background process running.

Sometimes if you wait long enough it does exit (after the "exit" command)
but I've seen no ill effects from closing the window once the daemon command has returned

Visit this user's website Find all posts by this user
[+] 1 user says Thank You to Omertron for this post
05-11-2012, 03:55 PM
Post: #216
RE: [Apps] PchTrakt 0.4.20 - Trakt.tv scrobbling
(05-11-2012 03:40 PM)Omertron Wrote:  I think that the daemon script doesn't exit cleanly (despite returning to the command line) and leaves a background process running.

Sometimes if you wait long enough it does exit (after the "exit" command)
but I've seen no ill effects from closing the window once the daemon command has returned

Yeah thought it must be something like that

trakt.tv
Find all posts by this user
05-11-2012, 04:25 PM
Post: #217
RE: [Apps] PchTrakt 0.4.20 - Trakt.tv scrobbling
(05-11-2012 10:47 AM)Bazrah Wrote:  Hi John, Can we take this to the next level and get it to adjust the xml to show watched? I think the watched monitor might do this so you could collaborate?

I can look into it.

[Image: all-banner@2x.jpg]
Pchtrakt - Scrobble what you are playing on your popcorn-hour to trakt.tv
Find all posts by this user
[+] 1 user says Thank You to jlauwers for this post
05-12-2012, 04:56 PM (This post was last modified: 05-12-2012 04:56 PM by siggenn.)
Post: #218
RE: [Apps] PchTrakt 0.4.18 - Trakt.tv scrobbling
(05-06-2012 05:44 PM)siggenn Wrote:  
(05-06-2012 12:01 PM)jlauwers Wrote:  About some movie not scrobbling, i'm aware of it and a new version should be pushed tonight.

@siggenn I don't think you gave me the show name?
It will help me to debug.

Sorry, it's kalled "brødrene dal"
I have 4 seasons and it don't scrobble any of them. They are present in the tvdb site.

http://thetvdb.com/?tab=series&id=83275&lid=9

Any progress on this matter? It still shuts down without notice and has to be restartet to functon after I've played this show. I have tried the automated watched file app and it has no problems with this show.

trakt.tv
Find all posts by this user
05-12-2012, 06:13 PM
Post: #219
RE: [Apps] PchTrakt 0.4.18 - Trakt.tv scrobbling
(05-12-2012 04:56 PM)siggenn Wrote:  
(05-06-2012 05:44 PM)siggenn Wrote:  
(05-06-2012 12:01 PM)jlauwers Wrote:  About some movie not scrobbling, i'm aware of it and a new version should be pushed tonight.

@siggenn I don't think you gave me the show name?
It will help me to debug.

Sorry, it's kalled "brødrene dal"
I have 4 seasons and it don't scrobble any of them. They are present in the tvdb site.

http://thetvdb.com/?tab=series&id=83275&lid=9

Any progress on this matter? It still shuts down without notice and has to be restartet to functon after I've played this show. I have tried the automated watched file app and it has no problems with this show.

No sorry, I hope to have time to do it tomorrow.

[Image: all-banner@2x.jpg]
Pchtrakt - Scrobble what you are playing on your popcorn-hour to trakt.tv
Find all posts by this user
05-13-2012, 08:22 AM (This post was last modified: 05-13-2012 08:27 AM by scruby.)
Post: #220
RE: [Apps] PchTrakt 0.4.20 - Trakt.tv scrobbling
Since i upgraded from 0.4.19 to 0.4.20 it doesn't scrobble anymore Sad

Here is the log after the last succesfull scrobble:

Quote:2012-05-10 20:09:35,389 INFO (Trakt) Video is ending: success - scrobbled Nikita 1x01
2012-05-11 14:21:41,084 INFO Pchtrakt START
2012-05-11 17:29:49,343 ERROR This should never happend! Please contact me with the error if you read this
Traceback (most recent call last):
File "pchtrakt.py", line 218, in <module>
doWork()
File "pchtrakt.py", line 174, in doWork
myMedia.oStatus.fileName)
File "/opt/sybhttpd/localhost.drives/USB_DRIVE/Apps/pchtrakt/pchtrakt/mediaparser.py", line 102, in parse
oMovie = self.MovieParser.parse(file_name)
File "/opt/sybhttpd/localhost.drives/USB_DRIVE/Apps/pchtrakt/pchtrakt/movieparser.py", line 72, in parse
return mediaparser.MediaParserResultMovie(file_name,tmp_movie_title,tmp_year,tmp_imdbid​)
File "/opt/sybhttpd/localhost.drives/USB_DRIVE/Apps/pchtrakt/pchtrakt/mediaparser.py", line 70, in __init__
self.id = myMovieJson['ID']
KeyError: 'ID'
2012-05-11 17:29:49,350 ERROR /opt/sybhttpd/localhost.drives/NETWORK_SHARE/share1/Coriolanus (2011)/Coriolanus (2011).mkv
Traceback (most recent call last):
File "pchtrakt.py", line 218, in <module>
doWork()
File "pchtrakt.py", line 174, in doWork
myMedia.oStatus.fileName)
File "/opt/sybhttpd/localhost.drives/USB_DRIVE/Apps/pchtrakt/pchtrakt/mediaparser.py", line 102, in parse
oMovie = self.MovieParser.parse(file_name)
File "/opt/sybhttpd/localhost.drives/USB_DRIVE/Apps/pchtrakt/pchtrakt/movieparser.py", line 72, in parse
return mediaparser.MediaParserResultMovie(file_name,tmp_movie_title,tmp_year,tmp_imdbid​)
File "/opt/sybhttpd/localhost.drives/USB_DRIVE/Apps/pchtrakt/pchtrakt/mediaparser.py", line 70, in __init__
self.id = myMovieJson['ID']
KeyError: 'ID'
2012-05-11 17:29:49,352 ERROR 'ID'
Traceback (most recent call last):
File "pchtrakt.py", line 218, in <module>
doWork()
File "pchtrakt.py", line 174, in doWork
myMedia.oStatus.fileName)
File "/opt/sybhttpd/localhost.drives/USB_DRIVE/Apps/pchtrakt/pchtrakt/mediaparser.py", line 102, in parse
oMovie = self.MovieParser.parse(file_name)
File "/opt/sybhttpd/localhost.drives/USB_DRIVE/Apps/pchtrakt/pchtrakt/movieparser.py", line 72, in parse
return mediaparser.MediaParserResultMovie(file_name,tmp_movie_title,tmp_year,tmp_imdbid​)
File "/opt/sybhttpd/localhost.drives/USB_DRIVE/Apps/pchtrakt/pchtrakt/mediaparser.py", line 70, in __init__
self.id = myMovieJson['ID']
KeyError: 'ID'
2012-05-11 17:50:19,032 ERROR This should never happend! Please contact me with the error if you read this
Traceback (most recent call last):
File "pchtrakt.py", line 218, in <module>
doWork()
File "pchtrakt.py", line 174, in doWork
myMedia.oStatus.fileName)
File "/opt/sybhttpd/localhost.drives/USB_DRIVE/Apps/pchtrakt/pchtrakt/mediaparser.py", line 102, in parse
oMovie = self.MovieParser.parse(file_name)
File "/opt/sybhttpd/localhost.drives/USB_DRIVE/Apps/pchtrakt/pchtrakt/movieparser.py", line 72, in parse
return mediaparser.MediaParserResultMovie(file_name,tmp_movie_title,tmp_year,tmp_imdbid​)
File "/opt/sybhttpd/localhost.drives/USB_DRIVE/Apps/pchtrakt/pchtrakt/mediaparser.py", line 70, in __init__
self.id = myMovieJson['ID']
KeyError: 'ID'
2012-05-11 17:50:19,049 ERROR /opt/sybhttpd/localhost.drives/NETWORK_SHARE/share1/Gone (2012)/Gone (2012).mkv
Traceback (most recent call last):
File "pchtrakt.py", line 218, in <module>
doWork()
File "pchtrakt.py", line 174, in doWork
myMedia.oStatus.fileName)
File "/opt/sybhttpd/localhost.drives/USB_DRIVE/Apps/pchtrakt/pchtrakt/mediaparser.py", line 102, in parse
oMovie = self.MovieParser.parse(file_name)
File "/opt/sybhttpd/localhost.drives/USB_DRIVE/Apps/pchtrakt/pchtrakt/movieparser.py", line 72, in parse
return mediaparser.MediaParserResultMovie(file_name,tmp_movie_title,tmp_year,tmp_imdbid​)
File "/opt/sybhttpd/localhost.drives/USB_DRIVE/Apps/pchtrakt/pchtrakt/mediaparser.py", line 70, in __init__
self.id = myMovieJson['ID']
KeyError: 'ID'
2012-05-11 17:50:19,051 ERROR 'ID'
Traceback (most recent call last):
File "pchtrakt.py", line 218, in <module>
doWork()
File "pchtrakt.py", line 174, in doWork
myMedia.oStatus.fileName)
File "/opt/sybhttpd/localhost.drives/USB_DRIVE/Apps/pchtrakt/pchtrakt/mediaparser.py", line 102, in parse
oMovie = self.MovieParser.parse(file_name)
File "/opt/sybhttpd/localhost.drives/USB_DRIVE/Apps/pchtrakt/pchtrakt/movieparser.py", line 72, in parse
return mediaparser.MediaParserResultMovie(file_name,tmp_movie_title,tmp_year,tmp_imdbid​)
File "/opt/sybhttpd/localhost.drives/USB_DRIVE/Apps/pchtrakt/pchtrakt/mediaparser.py", line 70, in __init__
self.id = myMovieJson['ID']
KeyError: 'ID'
2012-05-12 18:24:06,193 INFO Pchtrakt START
2012-05-12 18:26:52,784 ERROR This should never happend! Please contact me with the error if you read this
Traceback (most recent call last):
File "pchtrakt.py", line 218, in <module>
doWork()
File "pchtrakt.py", line 174, in doWork
myMedia.oStatus.fileName)
File "/opt/sybhttpd/localhost.drives/USB_DRIVE/Apps/pchtrakt/pchtrakt/mediaparser.py", line 102, in parse
oMovie = self.MovieParser.parse(file_name)
File "/opt/sybhttpd/localhost.drives/USB_DRIVE/Apps/pchtrakt/pchtrakt/movieparser.py", line 72, in parse
return mediaparser.MediaParserResultMovie(file_name,tmp_movie_title,tmp_year,tmp_imdbid​)
File "/opt/sybhttpd/localhost.drives/USB_DRIVE/Apps/pchtrakt/pchtrakt/mediaparser.py", line 70, in __init__
self.id = myMovieJson['ID']
KeyError: 'ID'
2012-05-12 18:26:52,796 ERROR /opt/sybhttpd/localhost.drives/NETWORK_SHARE/share1/Man on a Ledge (2012)/Man on a Ledge (2012).mkv
Traceback (most recent call last):
File "pchtrakt.py", line 218, in <module>
doWork()
File "pchtrakt.py", line 174, in doWork
myMedia.oStatus.fileName)
File "/opt/sybhttpd/localhost.drives/USB_DRIVE/Apps/pchtrakt/pchtrakt/mediaparser.py", line 102, in parse
oMovie = self.MovieParser.parse(file_name)
File "/opt/sybhttpd/localhost.drives/USB_DRIVE/Apps/pchtrakt/pchtrakt/movieparser.py", line 72, in parse
return mediaparser.MediaParserResultMovie(file_name,tmp_movie_title,tmp_year,tmp_imdbid​)
File "/opt/sybhttpd/localhost.drives/USB_DRIVE/Apps/pchtrakt/pchtrakt/mediaparser.py", line 70, in __init__
self.id = myMovieJson['ID']
KeyError: 'ID'
2012-05-12 18:26:52,798 ERROR 'ID'
Traceback (most recent call last):
File "pchtrakt.py", line 218, in <module>
doWork()
File "pchtrakt.py", line 174, in doWork
myMedia.oStatus.fileName)
File "/opt/sybhttpd/localhost.drives/USB_DRIVE/Apps/pchtrakt/pchtrakt/mediaparser.py", line 102, in parse
oMovie = self.MovieParser.parse(file_name)
File "/opt/sybhttpd/localhost.drives/USB_DRIVE/Apps/pchtrakt/pchtrakt/movieparser.py", line 72, in parse
return mediaparser.MediaParserResultMovie(file_name,tmp_movie_title,tmp_year,tmp_imdbid​)
File "/opt/sybhttpd/localhost.drives/USB_DRIVE/Apps/pchtrakt/pchtrakt/mediaparser.py", line 70, in __init__
self.id = myMovieJson['ID']
KeyError: 'ID'
2012-05-12 20:09:59,782 ERROR This should never happend! Please contact me with the error if you read this
Traceback (most recent call last):
File "pchtrakt.py", line 218, in <module>
doWork()
File "pchtrakt.py", line 174, in doWork
myMedia.oStatus.fileName)
File "/opt/sybhttpd/localhost.drives/USB_DRIVE/Apps/pchtrakt/pchtrakt/mediaparser.py", line 102, in parse
oMovie = self.MovieParser.parse(file_name)
File "/opt/sybhttpd/localhost.drives/USB_DRIVE/Apps/pchtrakt/pchtrakt/movieparser.py", line 72, in parse
return mediaparser.MediaParserResultMovie(file_name,tmp_movie_title,tmp_year,tmp_imdbid​)
File "/opt/sybhttpd/localhost.drives/USB_DRIVE/Apps/pchtrakt/pchtrakt/mediaparser.py", line 70, in __init__
self.id = myMovieJson['ID']
KeyError: 'ID'
2012-05-12 20:09:59,797 ERROR /tmp/mount/A Good Old Fashioned Orgy (2011)
Traceback (most recent call last):
File "pchtrakt.py", line 218, in <module>
doWork()
File "pchtrakt.py", line 174, in doWork
myMedia.oStatus.fileName)
File "/opt/sybhttpd/localhost.drives/USB_DRIVE/Apps/pchtrakt/pchtrakt/mediaparser.py", line 102, in parse
oMovie = self.MovieParser.parse(file_name)
File "/opt/sybhttpd/localhost.drives/USB_DRIVE/Apps/pchtrakt/pchtrakt/movieparser.py", line 72, in parse
return mediaparser.MediaParserResultMovie(file_name,tmp_movie_title,tmp_year,tmp_imdbid​)
File "/opt/sybhttpd/localhost.drives/USB_DRIVE/Apps/pchtrakt/pchtrakt/mediaparser.py", line 70, in __init__
self.id = myMovieJson['ID']
KeyError: 'ID'
2012-05-12 20:09:59,799 ERROR 'ID'
Traceback (most recent call last):
File "pchtrakt.py", line 218, in <module>
doWork()
File "pchtrakt.py", line 174, in doWork
myMedia.oStatus.fileName)
File "/opt/sybhttpd/localhost.drives/USB_DRIVE/Apps/pchtrakt/pchtrakt/mediaparser.py", line 102, in parse
oMovie = self.MovieParser.parse(file_name)
File "/opt/sybhttpd/localhost.drives/USB_DRIVE/Apps/pchtrakt/pchtrakt/movieparser.py", line 72, in parse
return mediaparser.MediaParserResultMovie(file_name,tmp_movie_title,tmp_year,tmp_imdbid​)
File "/opt/sybhttpd/localhost.drives/USB_DRIVE/Apps/pchtrakt/pchtrakt/mediaparser.py", line 70, in __init__
self.id = myMovieJson['ID']
KeyError: 'ID'
2012-05-13 07:25:30,332 INFO Pchtrakt START

[Image: watched-fanart.jpg]
Find all posts by this user
05-13-2012, 12:04 PM
Post: #221
RE: [Apps] PchTrakt 0.4.20 - Trakt.tv scrobbling
It's weird that it happened after you update because you don't seem to have the last version...
The line self.id = myMovieJson['ID'] was replaced 3 days ago and it's the one who's make the error.

Make sure you have version 0.4.20 in the appinfo.json file.
Try updating again and it should work.

[Image: all-banner@2x.jpg]
Pchtrakt - Scrobble what you are playing on your popcorn-hour to trakt.tv
Find all posts by this user
05-13-2012, 01:41 PM
Post: #222
RE: [Apps] PchTrakt 0.4.20 - Trakt.tv scrobbling
After reading that pchtrakt does not "read" bd/dvd iso's would it be possible instead/as well to read an nfo file that hold the imdb/ moviedb/tvdb id. I noticed in a previous post that the program parses such information and I just thought it might be a workaround. Yes/No or am I missing something. I ask this as I have a most of my films ripped as isos
Find all posts by this user
05-13-2012, 02:21 PM
Post: #223
RE: [Apps] PchTrakt 0.4.20 - Trakt.tv scrobbling
(05-13-2012 12:04 PM)jlauwers Wrote:  It's weird that it happened after you update because you don't seem to have the last version...
The line self.id = myMovieJson['ID'] was replaced 3 days ago and it's the one who's make the error.

Make sure you have version 0.4.20 in the appinfo.json file.
Try updating again and it should work.

Thats weird indeed. i have the latest version in the .json file.
I will try to uninstall and install.

[Image: watched-fanart.jpg]
Find all posts by this user
05-13-2012, 03:18 PM
Post: #224
RE: [Apps] PchTrakt 0.4.18 - Trakt.tv scrobbling
(05-12-2012 04:56 PM)siggenn Wrote:  Any progress on this matter? It still shuts down without notice and has to be restartet to functon after I've played this show. I have tried the automated watched file app and it has no problems with this show.

New version 0.4.21 pushed.
Should work now even if weird chars are in log files/cache ("Br\u00f8drene Dal" or "Brødrene Dal")... But still trakt.Tv shows I'm watching it.

[Image: all-banner@2x.jpg]
Pchtrakt - Scrobble what you are playing on your popcorn-hour to trakt.tv
Find all posts by this user
05-14-2012, 07:57 AM
Post: #225
RE: [Apps] PchTrakt 0.4.18 - Trakt.tv scrobbling
(05-13-2012 03:18 PM)jlauwers Wrote:  
(05-12-2012 04:56 PM)siggenn Wrote:  Any progress on this matter? It still shuts down without notice and has to be restartet to functon after I've played this show. I have tried the automated watched file app and it has no problems with this show.

New version 0.4.21 pushed.
Should work now even if weird chars are in log files/cache ("Br\u00f8drene Dal" or "Brødrene Dal")... But still trakt.Tv shows I'm watching it.

Great Smile

trakt.tv
Find all posts by this user
Thread Closed 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
Video [200/300/400] [Apps] PchTrakt 0.4.23 - Trakt.tv, Betaseries and Last.fm scrobbling jhmiller 672 55,295 Yesterday 01:46 AM
Last Post: rd48sec
Brick [200] [Apps] pyLoad 0.4.3, a fast, lightweight and full featured download manager global_nmt 50 23,298 02-07-2014 10:03 AM
Last Post: psydea
  [100/200/300/400] autostart CSI apps - how to fix after FW update ? tutenchamun 0 482 12-27-2013 02:08 AM
Last Post: tutenchamun
  [200] [Apps] NMT CSI IPTV Player romanr 46 22,486 12-22-2013 05:34 PM
Last Post: darvenas
  [200] [FLASH Apps] Project XMC Steve007 24 5,644 11-20-2013 01:23 PM
Last Post: jonny555
  [200] Unable to install some apps JamesTF 2 695 10-10-2013 01:21 PM
Last Post: JamesTF
  [200] Whats the correct method of removing apps from HDD and installing to USB? Sicilian 1 1,786 07-22-2013 08:23 AM
Last Post: sike222
  [100/200/300/400] Wanted! How to install apps without CSI mabdewn 7 2,574 04-20-2013 05:37 PM
Last Post: TReneR
  [200] Installing apps on USB not working ted34 9 3,270 04-17-2013 05:55 PM
Last Post: ted34
  [200] A-210 error installing apps from Csi bartvanl 4 1,603 03-06-2013 03:15 PM
Last Post: bartvanl

Forum Jump: