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
03-31-2012, 12:49 PM
Post: #76
RE: [Apps] PchTrakt 0.4.11 - Trakt.tv scrobbling
(03-31-2012 12:46 PM)meowmoo Wrote:  still getting watched files

im running 0.4.10 at the moment

Can you post your pchtrakt.ini? (without password obv.)

[Image: all-banner@2x.jpg]
Pchtrakt - Scrobble what you are playing on your popcorn-hour to trakt.tv
Find all posts by this user
03-31-2012, 07:40 PM (This post was last modified: 03-31-2012 07:41 PM by meowmoo.)
Post: #77
RE: [Apps] PchTrakt 0.4.11 - Trakt.tv scrobbling
sure
Code:
[PCHtrakt]
pch_ip = 127.0.0.1
sleep_time = 5
log_file = pchtrakt.log
ignored_repertory =

[Trakt]
enable_movie_scrobbling = 1
enable_tvshow_scrobbling = 1
login = xxxxxx
password = xxxxx
refresh_time = 15

[BetaSeries]
enable_tvshow_scrobbling = 0
login = your_login
password = your_password

[YAMJ]
watched = 0
watched_path =
watched_with_video = 0
ignored_category =
path =

Find all posts by this user
03-31-2012, 08:23 PM
Post: #78
RE: [Apps] PchTrakt 0.4.11 - Trakt.tv scrobbling
I don't understand why. confused
Can you update because now pchtrakt is 0.4.11.
And if it's still not working, can you change
Code:
watched = 0
by
Code:
watched = False
?

Sorry if those solutions feels a bit stupid or something but I really don't understand...
Dodgy

[Image: all-banner@2x.jpg]
Pchtrakt - Scrobble what you are playing on your popcorn-hour to trakt.tv
Find all posts by this user
04-01-2012, 03:37 PM
Post: #79
RE: [Apps] PchTrakt 0.4.11 - Trakt.tv scrobbling
ok the watched issue is fixed

but i found a new one :/ I started "scrubs" from my yamj collection, via the play button so it starts a playlist for the whole season, to test the watched issue, the first episode get scrobbeld fine, but than it not recognize that a new episode starts.

If i Stop the episode, and start a new one via play, i get the same behavior, the started episode get scrobbeld fine, but it not recognize that a new episode starts right after it.

Code:
2012-04-01 14:35:39,661 INFO Pchtrakt START
2012-04-01 14:36:00,019 INFO Pchtrakt START
2012-04-01 14:45:01,581 INFO YamjWatched = False
2012-04-01 14:45:06,606 INFO YamjWatched = False
2012-04-01 14:45:11,599 INFO File: Scrubs S01E01.avi
2012-04-01 14:45:12,818 INFO Video playing: success - watching Scrubs 1x01
2012-04-01 15:00:08,433 INFO Video playing: success - watching Scrubs 1x01
2012-04-01 15:05:21,525 INFO (Trakt) Video is ending: success - scrobbled Scrubs 1x01
2012-04-01 15:07:32,218 INFO YamjWatched = False
2012-04-01 15:28:22,494 INFO YamjWatched = False
2012-04-01 15:28:27,581 INFO YamjWatched = False
2012-04-01 15:28:27,586 INFO File: Scrubs S01E05.avi
2012-04-01 15:28:30,773 INFO Video playing: success - watching Scrubs 1x05

Find all posts by this user
04-01-2012, 03:39 PM (This post was last modified: 04-02-2012 11:09 AM by jlauwers.)
Post: #80
RE: [Apps] PchTrakt 0.4.11 - Trakt.tv scrobbling
(04-01-2012 03:37 PM)meowmoo Wrote:  ok the watched issue is fixed

but i found a new one :/ I started "scrubs" from my yamj collection, via the play button so it starts a playlist for the whole season, to test the watched issue, the first episode get scrobbeld fine, but than it not recognize that a new episode starts.

If i Stop the episode, and start a new one via play, i get the same behavior, the started episode get scrobbeld fine, but it not recognize that a new episode starts right after it.
Mhhh that was working before... I guess I broke something... but I think I know what. Let me run a few tests Smile
edit: Actually no I don't know why because it's working for me

[Image: all-banner@2x.jpg]
Pchtrakt - Scrobble what you are playing on your popcorn-hour to trakt.tv
Find all posts by this user
04-01-2012, 08:19 PM
Post: #81
RE: [Apps] PchTrakt 0.4.11 - Trakt.tv scrobbling
after a pch reboot i get this

Code:
2012-04-01 19:25:24,659 ERROR This should never happend! Please contact me with the error if you read this
Traceback (most recent call last):
  File "pchtrakt.py", line 259, in <module>
    doWork()
  File "pchtrakt.py", line 159, in doWork
    myMedia.oStatus = pchtrakt.oPchRequestor.getStatus(ipPch, 5)
  File "/opt/sybhttpd/localhost.drives/SATA_DISK/Apps/pchtrakt/pchtrakt/pch.py", line 85, in getStatus
    oPchStatus = self.parseResponse(oResponse.readlines()[0])
  File "/usr/local/lib/python2.7/socket.py", line 515, in readlines
    line = self.readline()
  File "/usr/local/lib/python2.7/socket.py", line 447, in readline
    data = self._sock.recv(self._rbufsize)
  File "/usr/local/lib/python2.7/httplib.py", line 553, in read
    s = self.fp.read(amt)
  File "/usr/local/lib/python2.7/socket.py", line 380, in read
    data = self._sock.recv(left)
timeout: timed out
2012-04-01 19:25:24,748 ERROR
Traceback (most recent call last):
  File "pchtrakt.py", line 259, in <module>
    doWork()
  File "pchtrakt.py", line 159, in doWork
    myMedia.oStatus = pchtrakt.oPchRequestor.getStatus(ipPch, 5)
  File "/opt/sybhttpd/localhost.drives/SATA_DISK/Apps/pchtrakt/pchtrakt/pch.py", line 85, in getStatus
    oPchStatus = self.parseResponse(oResponse.readlines()[0])
  File "/usr/local/lib/python2.7/socket.py", line 515, in readlines
    line = self.readline()
  File "/usr/local/lib/python2.7/socket.py", line 447, in readline
    data = self._sock.recv(self._rbufsize)
  File "/usr/local/lib/python2.7/httplib.py", line 553, in read
    s = self.fp.read(amt)
  File "/usr/local/lib/python2.7/socket.py", line 380, in read
    data = self._sock.recv(left)
timeout: timed out
2012-04-01 19:25:24,754 ERROR timed out
Traceback (most recent call last):
  File "pchtrakt.py", line 259, in <module>
    doWork()
  File "pchtrakt.py", line 159, in doWork
    myMedia.oStatus = pchtrakt.oPchRequestor.getStatus(ipPch, 5)
  File "/opt/sybhttpd/localhost.drives/SATA_DISK/Apps/pchtrakt/pchtrakt/pch.py", line 85, in getStatus
    oPchStatus = self.parseResponse(oResponse.readlines()[0])
  File "/usr/local/lib/python2.7/socket.py", line 515, in readlines
    line = self.readline()
  File "/usr/local/lib/python2.7/socket.py", line 447, in readline
    data = self._sock.recv(self._rbufsize)
  File "/usr/local/lib/python2.7/httplib.py", line 553, in read
    s = self.fp.read(amt)
  File "/usr/local/lib/python2.7/socket.py", line 380, in read
    data = self._sock.recv(left)
timeout: timed out
2012-04-01 19:25:31,282 INFO YamjWatched = False

Find all posts by this user
04-01-2012, 08:53 PM
Post: #82
RE: [Apps] PchTrakt 0.4.11 - Trakt.tv scrobbling
(04-01-2012 08:19 PM)meowmoo Wrote:  after a pch reboot i get this

Looks like your popcorn is not responding in time.
Can you go to http://popcornIP:8008/playback?arg0=get_current_vod_info while playing the same video you played and tell me what's in 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
04-02-2012, 11:08 AM
Post: #83
RE: [Apps] PchTrakt 0.4.11 - Trakt.tv scrobbling
So I did a new clean install of pchtrakt, and now everything works fine so far....sorry for the hassle

Find all posts by this user
04-03-2012, 05:43 AM
Post: #84
RE: [Apps] PchTrakt 0.4.11 - Trakt.tv scrobbling
When downloading the zip on Safari (Mac OS) it somehow messes up the zip file. Downloading in Internet Explorer fixes the problem and allows you to install via CSI - took me forever to figure out...

---
What's hot on bidorbuy ~ My Blog ~ ubuntudeal.co.za
Find all posts by this user
[+] 1 user says Thank You to MagicDude4Eva for this post
04-09-2012, 10:52 AM
Post: #85
RE: [Apps] PchTrakt 0.4.11 - Trakt.tv scrobbling
Would it be possible for PCHTRAKT to also update the NFO file - I have the following settings:

PHP Code:
[YAMJ]
watched True
watched_path 
= /opt/sybhttpd/localhost.drives/NETWORK_SHARE/Video/Jukebox/Watched
watched_with_video 
False
ignored_category 

path = /opt/sybhttpd/localhost.drives/NETWORK_SHARE/Video/Jukebox 

For example:
(1) I watch the episode "/opt/sybhttpd/localhost.drives/NETWORK_SHARE/Video/Series/Fringe/Season 04/Fringe - S04E17 - Everything In Its Right Place - HD TV.mkv"
(2) PCHTRAKT writes "/opt/sybhttpd/localhost.drives/NETWORK_SHARE/Video/Jukebox/Watched/Fringe - S04E17 - Everything In Its Right Place - HD TV.mkv.watched"
(3) NEW: If PCHTRAKT finds the NFO file "/opt/sybhttpd/localhost.drives/NETWORK_SHARE/Video/Series/Fringe/Season 04/Fringe - S04E17 - Everything In Its Right Place - HD TV.nfo" it updates the watched status from "<watched>false</watched>" to <watched>true</watched>

I am also getting the following error for some series:

PHP Code:
2012-04-08 22:01:34,068 ERROR This should never happendPlease contact me with the error if you read this
Traceback 
(most recent call last):
  
File "pchtrakt.py"line 257in <module>
    
doWork()
  
File "pchtrakt.py"line 200in doWork
    videoStatusHandle
(myMedia)
  
File "/opt/sybhttpd/localhost.drives/SATA_DISK/Apps/pchtrakt/pchtrakt/scrobble.py"line 209in videoStatusHandle
    videoStatusHandleTVSeries
(myMedia)
  
File "/opt/sybhttpd/localhost.drives/SATA_DISK/Apps/pchtrakt/pchtrakt/scrobble.py"line 186in videoStatusHandleTVSeries
    showStillRunning
(myMedia)
  
File "/opt/sybhttpd/localhost.drives/SATA_DISK/Apps/pchtrakt/pchtrakt/scrobble.py"line 68in showStillRunning
    showStarted
(myMedia)
  
File "/opt/sybhttpd/localhost.drives/SATA_DISK/Apps/pchtrakt/pchtrakt/scrobble.py"line 30in showStarted
    msg 
'Video playing: %s - %s' %(responce['status'],responce['message'])
TypeError'NoneType' object is not subscriptable
2012
-04-08 22:01:34,391 ERROR /opt/sybhttpd/localhost.drives/NETWORK_SHARE/Video/Series/The Finder/Season 01/The Finder S01E02 Bullets SD TV.avi
Traceback 
(most recent call last):
  
File "pchtrakt.py"line 257in <module>
    
doWork()
  
File "pchtrakt.py"line 200in doWork
    videoStatusHandle
(myMedia)
  
File "/opt/sybhttpd/localhost.drives/SATA_DISK/Apps/pchtrakt/pchtrakt/scrobble.py"line 209in videoStatusHandle
    videoStatusHandleTVSeries
(myMedia)
  
File "/opt/sybhttpd/localhost.drives/SATA_DISK/Apps/pchtrakt/pchtrakt/scrobble.py"line 186in videoStatusHandleTVSeries
    showStillRunning
(myMedia)
  
File "/opt/sybhttpd/localhost.drives/SATA_DISK/Apps/pchtrakt/pchtrakt/scrobble.py"line 68in showStillRunning
    showStarted
(myMedia)
  
File "/opt/sybhttpd/localhost.drives/SATA_DISK/Apps/pchtrakt/pchtrakt/scrobble.py"line 30in showStarted
    msg 
'Video playing: %s - %s' %(responce['status'],responce['message'])
TypeError'NoneType' object is not subscriptable
2012
-04-08 22:01:34,396 ERROR 'NoneType' object is not subscriptable
Traceback 
(most recent call last):
  
File "pchtrakt.py"line 257in <module>
    
doWork()
  
File "pchtrakt.py"line 200in doWork
    videoStatusHandle
(myMedia)
  
File "/opt/sybhttpd/localhost.drives/SATA_DISK/Apps/pchtrakt/pchtrakt/scrobble.py"line 209in videoStatusHandle
    videoStatusHandleTVSeries
(myMedia)
  
File "/opt/sybhttpd/localhost.drives/SATA_DISK/Apps/pchtrakt/pchtrakt/scrobble.py"line 186in videoStatusHandleTVSeries
    showStillRunning
(myMedia)
  
File "/opt/sybhttpd/localhost.drives/SATA_DISK/Apps/pchtrakt/pchtrakt/scrobble.py"line 68in showStillRunning
    showStarted
(myMedia)
  
File "/opt/sybhttpd/localhost.drives/SATA_DISK/Apps/pchtrakt/pchtrakt/scrobble.py"line 30in showStarted
    msg 
'Video playing: %s - %s' %(responce['status'],responce['message'])
TypeError'NoneType' object is not subscriptable
2012
-04-08 22:24:05,530 INFO I have created the file /opt/sybhttpd/localhost.drives/NETWORK_SHARE/Video/Jukebox/Watched/The Finder S01E02 Bullets SD TV.avi.watched 

---
What's hot on bidorbuy ~ My Blog ~ ubuntudeal.co.za
Find all posts by this user
04-09-2012, 02:35 PM
Post: #86
RE: [Apps] PchTrakt 0.4.11 - Trakt.tv scrobbling
Your issue seems like there is no response from trakt.tv
I'll add some debug printings to know exactly is going wrong.

About your request, it should be done pretty easily but is the NFO always in the same repertory than the video and about series is there one NFO for a season or one for each episodes?

[Image: all-banner@2x.jpg]
Pchtrakt - Scrobble what you are playing on your popcorn-hour to trakt.tv
Find all posts by this user
04-09-2012, 11:01 PM
Post: #87
RE: [Apps] PchTrakt 0.4.11 - Trakt.tv scrobbling
I have just installed pchtrakt. Creation of WATCHED files is working for me but it is not scrobbling to the Web. Can you help me.

The log file shows
Code:
2012-04-07 21:09:59,003 INFO Pchtrakt START
2012-04-07 23:39:46,283 ERROR :::Movie not found - In.Time[2011].img:::
2012-04-07 23:40:51,690 ERROR :::Movie not found - Black.Mirror.[S01E02].720p.hdtv.x264.mkv:::
2012-04-08 23:18:45,256 ERROR :::Movie not found - In.Time[2011].img:::
2012-04-08 23:25:03,316 INFO File: Once.Upon.A.Time.In.Anatolia.[2011].720p.BluRay.x264.mkv
2012-04-08 23:25:04,725 ERROR Trakt.tv - Login or password incorrect
2012-04-08 23:27:25,776 ERROR :::Movie not found - In.Time[2011].img:::
2012-04-09 00:50:21,895 INFO Pchtrakt START
2012-04-09 22:45:04,416 ERROR :::Movie not found - Modern.Family.[S03E07].720p.HDTV.X264.mkv:::
2012-04-09 23:04:20,049 INFO I have created the file /opt/sybhttpd/localhost.drives/SATA_DISK/Video/TV/Modern Family/Season 3/Modern.Family.[S03E07].720p.HDTV.X264.mkv.watched
2012-04-09 23:06:40,732 ERROR :::Movie not found - Modern.Family.[S03E08].720p.HDTV.X264.mkv:::
2012-04-09 23:25:51,310 INFO I have created the file /opt/sybhttpd/localhost.drives/SATA_DISK/Video/TV/Modern Family/Season 3/Modern.Family.[S03E08].720p.HDTV.X264.mkv.watched
2012-04-09 23:28:17,624 ERROR :::Movie not found - Mad.Men.[S05E04].720p.Webdl.AAC20.H264-Mystery.Date.mkv:::
2012-04-10 00:11:01,436 INFO I have created the file /opt/sybhttpd/localhost.drives/SATA_DISK/Video/TV/Mad Men/Season 5/Mad.Men.[S05E04].720p.Webdl.AAC20.H264-Mystery.Date.mkv.watched

The ini file is
Code:
[PCHtrakt]
pch_ip = 127.0.0.1
sleep_time = 5
log_file = pchtrakt.log
ignored_repertory =

[Trakt]
enable_movie_scrobbling = True
enable_tvshow_scrobbling = True
login =
password =
refresh_time = 15

[BetaSeries]
enable_tvshow_scrobbling = False
login = your_UserID
password = your_password

[YAMJ]
watched = True
watched_path =
watched_with_video = True
ignored_category =
path =

Looks to be a great app.
Find all posts by this user
04-09-2012, 11:17 PM (This post was last modified: 04-09-2012 11:18 PM by nawo69.)
Post: #88
RE: [Apps] PchTrakt 0.4.11 - Trakt.tv scrobbling
Think you need to name your files better:-

Tv Eps should be like - The Big Bang Theory - S01E02 - episode title.mkv

Films should be like : In Time (2011).mkv

trakt.tv
Find all posts by this user
[+] 1 user says Thank You to nawo69 for this post
04-10-2012, 07:30 AM
Post: #89
RE: [Apps] PchTrakt 0.4.11 - Trakt.tv scrobbling
(04-09-2012 11:17 PM)nawo69 Wrote:  Think you need to name your files better:-

Tv Eps should be like - The Big Bang Theory - S01E02 - episode title.mkv

Films should be like : In Time (2011).mkv

Where are the rules for Movie and TV episode naming in trakt?

My naming is fine for YAMJ. I downloaded all my movies and tv episodes to trakt.tv. They all appear in my collection at trakt.tv with no name matching problems at all.

So what is wrong with my naming??
Find all posts by this user
04-10-2012, 07:42 AM (This post was last modified: 04-10-2012 09:34 PM by jlauwers.)
Post: #90
RE: [Apps] PchTrakt 0.4.11 - Trakt.tv scrobbling
I think it's because of the [] around the year/season/episode.
I'm working on the 'guessit' integration to pchtrakt and the [] will not be a problem anymore.

I'll also take a look at my regexes to see if it can be changed easily when i'll be back from work.

Edit: I made some regexe changes in my pchtrakt test branch.
Can you create a file named TEST in the pchtrakt repertory and stop/start pchtrakt with CSI (not restart).
(This will update to pchtrakt test branch so you can check if it's working without braking everyone else's setup)
:-)

[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
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 675 57,544 Yesterday 03:49 AM
Last Post: jhmiller
Brick [200] [Apps] pyLoad 0.4.3, a fast, lightweight and full featured download manager global_nmt 50 23,413 02-07-2014 10:03 AM
Last Post: psydea
  [100/200/300/400] autostart CSI apps - how to fix after FW update ? tutenchamun 0 493 12-27-2013 02:08 AM
Last Post: tutenchamun
  [200] [Apps] NMT CSI IPTV Player romanr 46 22,625 12-22-2013 05:34 PM
Last Post: darvenas
  [200] [FLASH Apps] Project XMC Steve007 24 5,662 11-20-2013 01:23 PM
Last Post: jonny555
  [200] Unable to install some apps JamesTF 2 708 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,795 07-22-2013 08:23 AM
Last Post: sike222
  [100/200/300/400] Wanted! How to install apps without CSI mabdewn 7 2,593 04-20-2013 05:37 PM
Last Post: TReneR
  [200] Installing apps on USB not working ted34 9 3,285 04-17-2013 05:55 PM
Last Post: ted34
  [200] A-210 error installing apps from Csi bartvanl 4 1,620 03-06-2013 03:15 PM
Last Post: bartvanl

Forum Jump: