![]() |
|
SageTV v7 Customizations This forums is for discussing and sharing user-created modifications for the SageTV version 7 application created by using the SageTV Studio or through the use of external plugins. Use this forum to discuss plugins for SageTV version 7 and newer. |
![]() |
|
Thread Tools | Search this Thread | Display Modes |
#281
|
|||
|
|||
XBMC Gotham problem with playback
Finally got around to upgrading to XBMC Gotham.
But...I am having an issue with playback of my recorded show. The plugin worked fine before the upgrade to Gotham. I am using with Windows based XBMC on Win7 and Win8. I can play the file in Gotham if I map it directly as a video but when I call it with the plugin it will not play. Here is the error I get in the log when I try to play a show: Quote:
Quote:
But... I looked at the logs on a Frodo machine where the plugin works fine and it looks to be the same format. DVDPlayer: Opening: \\kerrhome\DVR_D\AmericanChopperSeniorvsJunior-TheBuildOff-16424597-0.ts DVDPlayer: Opening: smb://KERRHOME/DVR_D/AmericanChopperSeniorvsJunior-TheBuildOff-16424597-0.ts Any assistance would be appreciated.
__________________
Retired SageTV in favor of Plex\Emby and YouTubeTV. |
#282
|
|||
|
|||
What are your settings? Can you share a more full log file of when it does and doesn't work? This is using native xbmc playback functionality so there's nothing unique about playback when it comes
To this addon.
__________________
Server: Sage 7.1.9 beta; Dell Inspiron 530; Windows 7 Ultimate 32-bit (UAC turned off); 2TB Internal SATA (TV Recordings) Storage: Synology DiskStation DS411+, RAID 5, 5x 2TB SATA for (DVDs/Music/Other Videos) Tuners: Ceton InfiniTV w/ Verizon FIOS cablecard (using babgvant's SageDCT plugin) Clients: 1x STP-HD300; 1x Acer Aspire Revo 3610 (Atom/Ion) w/ SageTV client (Win 7, EVR, FSE on) |
#283
|
|||
|
|||
I'm trying to get this plugin to work on Amazon FireTV with Gotham 13.1. I can get the plugin to list future airings but if I click Watch Recording the script returns ERROR SCRIPT FAILED! SAGETV. Inspecting the XBMC.LOG I get the following error that stops the script.
11:59:13 T:1709599760 NOTICE: *** sagex request URL:http://sage:frey@PVR4:8080/sagex/api...s&encoder=json 11:59:13 T:1709599760 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<-- - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS! Error Type: <type 'exceptions.ValueError'> Error Contents: timestamp out of range for platform time_t Traceback (most recent call last): File "/storage/emulated/0/Android/data/org.xbmc.xbmc/files/.xbmc/addons/plugin.video.sagetv/default.py", line 920, in <module> VIEWLISTOFRECORDEDSHOWS(url,name) File "/storage/emulated/0/Android/data/org.xbmc.xbmc/files/.xbmc/addons/plugin.video.sagetv/default.py", line 161, in VIEWLISTOFRECORDEDSHOWS strAiringdateObject = date.fromtimestamp(startTime) ValueError: timestamp out of range for platform time_t -->End of Python script error report<-- 11:59:13 T:1709599760 INFO: Python script stopped Attached is my XBMC.LOG |
#284
|
|||
|
|||
Quote:
http://sage:frey@PVR4:8080/sagex/api...s&encoder=json
__________________
Server: Sage 7.1.9 beta; Dell Inspiron 530; Windows 7 Ultimate 32-bit (UAC turned off); 2TB Internal SATA (TV Recordings) Storage: Synology DiskStation DS411+, RAID 5, 5x 2TB SATA for (DVDs/Music/Other Videos) Tuners: Ceton InfiniTV w/ Verizon FIOS cablecard (using babgvant's SageDCT plugin) Clients: 1x STP-HD300; 1x Acer Aspire Revo 3610 (Atom/Ion) w/ SageTV client (Win 7, EVR, FSE on) |
#285
|
|||
|
|||
It will not even let me enter into Watch Recorded programs the script will crash before displaying anything and stay at the main screen.
The JSON from the FireFox on Windows7 returns the following: {"Result":"14608846"} This not only happens to "Modern Marvels" it also crashed on "Ax Men" before I moved all files out of the SageTV recording directories. The script works correctly for XBMC on windows7. It only crashes on FireTV and PI. |
#286
|
|||
|
|||
Quote:
Sage_play_Fail.xbmc.log.txt is the log of a fail using the plugin. FIle_play_good.xbmc.log.txt plays the same file directly with XBMC using a mapped folder successfully. I also included the setting.xml. The plugin appears to be reformatting the path dropping the smb: and reversing the "//" to "\\" I looked at the logs from the prior version of XBMC and it appeared to format it the exact same way. But...Frodo seemed to be able to handle the format with an issue. I am trying to play this back with Windows 8-64 but I had the same issue with Win7-64 as well. Let me know if you need more info or have any advice\suggestions.
__________________
Retired SageTV in favor of Plex\Emby and YouTubeTV. |
#287
|
|||
|
|||
Quote:
smb://KERRHOME/DVR_F/AmericatheStoryofUs-S01E01-Rebels-17428850-0.ts But in the bad log, it plays back as follows: \\kerrhome\\dvr_F\\AmericatheStoryofUs-S01E01-Rebels-17428850-0.ts Can you double check what sage is storing for the recording path for this recording? The URL below returns all the metadata for the episode: http://sage:frey@kerrhome:8080/sagex...0&encoder=json And when it returns, it's returning a recording path of: \\kerrhome\\dvr_F\\AmericatheStoryofUs-S01E01-Rebels-17428850-0.ts Which will fail when the addon tries to map it, as it doesn't find any of the recording directories you specify in the addon settings: D:\DVR, E:\DVR, F:\DVR Double check what metadata is in Sage. And if it truly is storing the recording path as \\kerrhome\\dvr_F, then simply just add that as another recording path in the addon's settings and playback should work fine.
__________________
Server: Sage 7.1.9 beta; Dell Inspiron 530; Windows 7 Ultimate 32-bit (UAC turned off); 2TB Internal SATA (TV Recordings) Storage: Synology DiskStation DS411+, RAID 5, 5x 2TB SATA for (DVDs/Music/Other Videos) Tuners: Ceton InfiniTV w/ Verizon FIOS cablecard (using babgvant's SageDCT plugin) Clients: 1x STP-HD300; 1x Acer Aspire Revo 3610 (Atom/Ion) w/ SageTV client (Win 7, EVR, FSE on) |
#288
|
|||
|
|||
Quote:
__________________
Server: Sage 7.1.9 beta; Dell Inspiron 530; Windows 7 Ultimate 32-bit (UAC turned off); 2TB Internal SATA (TV Recordings) Storage: Synology DiskStation DS411+, RAID 5, 5x 2TB SATA for (DVDs/Music/Other Videos) Tuners: Ceton InfiniTV w/ Verizon FIOS cablecard (using babgvant's SageDCT plugin) Clients: 1x STP-HD300; 1x Acer Aspire Revo 3610 (Atom/Ion) w/ SageTV client (Win 7, EVR, FSE on) |
#289
|
|||
|
|||
Quote:
On my SageTV server I enter the recording directories as the windows networked path. "\\kerrhome\DVR_D" which is actually the "D:\DVR" folder What the plugin does with the two entries for "SageTV Recording Folder" and "SageTV Recording Folder Network path" is really a remapping exercise. It takes the path it gets from the call to the metadata and reformats it with the smb path. If the reference does not match up exactly it just uses the metadata path. So really I have always had the mapping wrong. Just in XBMC 12.1 the player would handle the windows path that came back from the plugin but with the upgrade to Gotham it will no longer play them back without the smb syntax. I thought I understood your directions about the remapping but my initial attempts failed because I did not do it exactly like it was in the metadata. This was really frustrating to me because the mapping appears to be case sensitive and for what ever reason the share for the F drive was a mixed case format ("\\kerrhome\dvr_F") unlike the other shares. ("\\kerrhome\DVR_D"). And of course the file I was testing with was on the F drive and it failed. I eventually figured out that in the metadata that it was a lower case dvr on F and as soon as I fixed that it worked. So working now. My config was never right but in the Frodo version of XBMC it did not appear to matter for the Windows clients at least but with the upgrade to Gotham everything needs to be wrapped in the smb: syntax to play. Thanks!
__________________
Retired SageTV in favor of Plex\Emby and YouTubeTV. |
#290
|
|||
|
|||
As requested here are the logs from the working Win7 XBMC and the fails from
Amazon FireTV RaspMC (Raspberry PI) Samsung Note 10.1 Let me know if you need anything else. Thanks hvymetal |
#291
|
|||
|
|||
Quote:
http://sage:frey@PVR4:8080/sagex/api...0&encoder=json AND the following (this one below will likely be big, so attaching it as a file would be good): http://sage:frey@PVR4:8080/sagex/api...0&encoder=json
__________________
Server: Sage 7.1.9 beta; Dell Inspiron 530; Windows 7 Ultimate 32-bit (UAC turned off); 2TB Internal SATA (TV Recordings) Storage: Synology DiskStation DS411+, RAID 5, 5x 2TB SATA for (DVDs/Music/Other Videos) Tuners: Ceton InfiniTV w/ Verizon FIOS cablecard (using babgvant's SageDCT plugin) Clients: 1x STP-HD300; 1x Acer Aspire Revo 3610 (Atom/Ion) w/ SageTV client (Win 7, EVR, FSE on) |
#292
|
|||
|
|||
As requested below are the results from the JSON
Thanks hvymetal |
#293
|
|||
|
|||
Still not sure as the json output looks fine. I added some additional debugging to the default.py file. Can you use the attached updated default.py file (just remove the .txt extension) and send the xbmc.log files back (just need 2... one that is good, one that fails). And I'm looking for the debug statements that I added that have the word "hvymetal" in it.
__________________
Server: Sage 7.1.9 beta; Dell Inspiron 530; Windows 7 Ultimate 32-bit (UAC turned off); 2TB Internal SATA (TV Recordings) Storage: Synology DiskStation DS411+, RAID 5, 5x 2TB SATA for (DVDs/Music/Other Videos) Tuners: Ceton InfiniTV w/ Verizon FIOS cablecard (using babgvant's SageDCT plugin) Clients: 1x STP-HD300; 1x Acer Aspire Revo 3610 (Atom/Ion) w/ SageTV client (Win 7, EVR, FSE on) |
#294
|
|||
|
|||
As requested I replaced the defualt.py in the addon directory and attached are the xbmc logs.
Thanks hvymetal |
#295
|
|||
|
|||
Quote:
"SesameStreetSongs":[{"TotalEpisodes":59,"TotalWatchedEpisodes":0,"ShowExternalID":"EPexae99304","AiringStartTime":2.553828991E12,"ShowTitle":"Sesame Street Songs","MediaFileID":"22418727","ShowGenre":""}
__________________
Server: Sage 7.1.9 beta; Dell Inspiron 530; Windows 7 Ultimate 32-bit (UAC turned off); 2TB Internal SATA (TV Recordings) Storage: Synology DiskStation DS411+, RAID 5, 5x 2TB SATA for (DVDs/Music/Other Videos) Tuners: Ceton InfiniTV w/ Verizon FIOS cablecard (using babgvant's SageDCT plugin) Clients: 1x STP-HD300; 1x Acer Aspire Revo 3610 (Atom/Ion) w/ SageTV client (Win 7, EVR, FSE on) |
#296
|
|||
|
|||
LehighBri I have to apologize those mediadata where created by SageTV Web interface. I imported YouTube videos for my toddler and grouped them so my wife could find them easier. I did not fill in all the mediadata. Not really sure why the date is set in the future.
I removed the directory that had the videos and the script is now working correctly on the failing device. Once again thanks for identifying the problem and sorry for inconvenience. Also nice job on a great script. Thanks hvymetal |
#297
|
|||
|
|||
Quote:
__________________
Server: Sage 7.1.9 beta; Dell Inspiron 530; Windows 7 Ultimate 32-bit (UAC turned off); 2TB Internal SATA (TV Recordings) Storage: Synology DiskStation DS411+, RAID 5, 5x 2TB SATA for (DVDs/Music/Other Videos) Tuners: Ceton InfiniTV w/ Verizon FIOS cablecard (using babgvant's SageDCT plugin) Clients: 1x STP-HD300; 1x Acer Aspire Revo 3610 (Atom/Ion) w/ SageTV client (Win 7, EVR, FSE on) |
#298
|
||||
|
||||
Hey guys.. After a few months with nPVR I've put my Sagetv server back in action. I have a couple questions regarding the state of livetv in the XBMC addon. First, does it work fairly well? I'm also interested in knowing if you guys have any issues with FF/RW in a currently recording file.
At the moment I have both nPVR and Sagetv running with Sagetv doing all the recordings and nPVR available only to allow for livetv viewing. I've found the Sagetv mpg formatted files to playback better than the nPVR ts files for FF/RW. I have set up my sagetv recording directory as a share on XBMC and I play the files from the 'Files' section of videos. I'm playing back via two Matricom MX2 boxes running the latest version of Openelec. ...and to derail the thread just a little bit more, does anyone know if there's a utility available that will allow me to move completed recordings to directories named for that recording (eg 'Shark Tank' would have it's own directory and all episodes would be moved there upon completion)?
__________________
Intel Core i5-2500, 16GB RAM, OMV Linux 4.17, 3 TB of Data SageTV 9 Docker, Open DCT Docker Silicondust HDHomeRun Duo + Quatro Sage Mini Client on Amazon Fire Sticks and Android TVs |
#299
|
|||
|
|||
dinki,
I haven't played with it too much this summer, but I am finally getting some free time again. When I last left off, the playback would work the first time without a problem (it was a little slow starting the viewing of the show), but sometimes when I go to switch to another channel, the second show wouldn't work. I theorized that there may have been some other limit in the backend interface, because I can't imagine why it wouldn't work otherwise. And if it had enough time to "recover" I could watch another show. So I think the WAF isn't quite there for my family. For playing back the shows, this addon is way better than just sharing files. LehighBri and the others have really done a good job in putting the addon together. I spent a small amount of time experimenting with argusTv and the PVR addon in XBMC. It gives you the traditional guideview which was nice, and switching channels is much faster, but it was a pain to setup the server and it didn't seem to give you a way to set a show as a favorite from the addon. I haven't spent much time with it so maybe I missed something. That was a dealbreaker for me. I have thought about using it much the same way that you are describing with nPVR. I am currently running XBMC on a raspberry Pi with OpenElec (4.0.6 I think). I'm not completely satisfied with ff/rew/skipping and I suspect that I don't have something configured properly with XBMC. Additionally, I've been meaning to update my comskip.ini file to flag commercials with a 3 rather than 0 (see http://forums.sagetv.com/forums/show...t=comskip+xbmc) And regarding your other question, I don't personally know of something that would do that however, it shouldn't be that hard to do and I would suspect someone has already put together a script to do that. |
#300
|
|||
|
|||
Would like to filter out the recorded movies from the Watch Recording list. Don't suppose there is a way to do this within the plugin that I have missed. Would be a nice enhancement if it is not there already an I just missed it.
If XBMC ever improves the comskip support\navigation I might move to XBMC for my primary interface. Playback in the PC version of XBMC is generally better than in the native SageTV interface.
__________________
Retired SageTV in favor of Plex\Emby and YouTubeTV. |
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
SageTV vs. XBMC MediaStream UI? | SørenBM | SageMC Custom Interface | 2 | 03-07-2009 02:29 PM |
MyMovies type of addon for SageTV? | Sizam | SageTV Customizations | 3 | 07-07-2008 04:24 PM |
Ultimate music addon for SageTV? www.pandora.com | mkanet | SageTV Customizations | 13 | 02-19-2006 03:27 AM |
Is there an internal (or addon) SageTV command which rew/ff like an old VCR? | mkanet | SageTV Software | 1 | 08-25-2005 02:42 PM |