[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: jhmiller, jluc2808, NaaN, sonic_xig, 1 Guest(s)
Post Reply 
[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: watched-fanart.jpg]
Pchtrakt - Scrobble what you are playing on your popcorn-hour to trakt.tv
Find all posts by this user
Add Thank You Quote this message in a reply
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 =

Failure is always an option.
[Image: watched-fanart.jpg]
Find all posts by this user
Add Thank You Quote this message in a reply
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: watched-fanart.jpg]
Pchtrakt - Scrobble what you are playing on your popcorn-hour to trakt.tv
Find all posts by this user
Add Thank You Quote this message in a reply
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

Failure is always an option.
[Image: watched-fanart.jpg]
Find all posts by this user
Add Thank You Quote this message in a reply
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: watched-fanart.jpg]
Pchtrakt - Scrobble what you are playing on your popcorn-hour to trakt.tv
Find all posts by this user
Add Thank You Quote this message in a reply
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

Failure is always an option.
[Image: watched-fanart.jpg]
Find all posts by this user
Add Thank You Quote this message in a reply
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: watched-fanart.jpg]
Pchtrakt - Scrobble what you are playing on your popcorn-hour to trakt.tv
Find all posts by this user
Add Thank You Quote this message in a reply
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

Failure is always an option.
[Image: watched-fanart.jpg]
Find all posts by this user
Add Thank You Quote this message in a reply
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
Add Thank You Quote this message in a reply
[+] 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
Add Thank You Quote this message in a reply
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: watched-fanart.jpg]
Pchtrakt - Scrobble what you are playing on your popcorn-hour to trakt.tv
Find all posts by this user
Add Thank You Quote this message in a reply
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
Add Thank You Quote this message in a reply
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
Add Thank You Quote this message in a reply
[+] 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
Add Thank You Quote this message in a reply
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: watched-fanart.jpg]
Pchtrakt - Scrobble what you are playing on your popcorn-hour to trakt.tv
Find all posts by this user
Add Thank You Quote this message in a reply
[+] 1 user says Thank You to jlauwers for this post
Post Reply 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  [100/200/300/400] Wanted! How to install apps without CSI mabdewn 7 1,092 04-20-2013 05:37 PM
Last Post: TReneR
  [200] Installing apps on USB not working ted34 9 1,990 04-17-2013 05:55 PM
Last Post: ted34
  [200] A-210 error installing apps from Csi bartvanl 4 513 03-06-2013 03:15 PM
Last Post: bartvanl
Video [200] [Apps] multicast IPTV Player (FlashLite) ikovrigin 38 16,602 02-17-2013 12:23 AM
Last Post: sunny1081
  [200/300] [Apps] QtWebKit - Web Browser - Updated 23rd Sep vaidyasr 269 113,630 02-12-2013 12:41 PM
Last Post: Willem53
  [300] Guidance needed for using CSI apps mjccox 3 572 01-14-2013 01:16 AM
Last Post: jhmiller
  [200] [Apps] NMT CSI IPTV Player romanr 34 12,157 12-31-2012 07:57 PM
Last Post: romanr
  [200/300/400] Qt 5.0.0-rc1 for NMT - GUI Apps/Games/Utilities vaidyasr 2 915 12-23-2012 06:03 PM
Last Post: vaidyasr
  [200] HELP! No apps/csi Atinkler 22 1,843 11-08-2012 07:58 PM
Last Post: Atinkler
  [300] 300 series and Pchtrakt info pace508 8 2,286 10-18-2012 01:31 PM
Last Post: jhmiller

Forum Jump: