OK. Will check it out. As I had mentioned in my first post about this is that it works with the stable version. But I can wait till end of week if I can't find anything in xml file.
Thanks
(2013-10-22, 21:30)mzup Wrote: [ -> ]OK. Will check it out. As I had mentioned in my first post about this is that it works with the stable version. But I can wait till end of week if I can't find anything in xml file.
Thanks
Don't use stable use master git.
(2013-10-20, 19:18)Lunatixz Wrote: [ -> ]Auto tune already query json for TV, movies and music then builds channels off of that data, which is what xbmclibrary does. It query plugin directory's ... So it should work...
What about plugins like FilmOn for instance? Will it / Is it be possible to link into and pull channels from the way the TV Guide plugin can?
(2013-10-22, 21:20)Lunatixz Wrote: [ -> ] (2013-10-22, 20:40)mzup Wrote: [ -> ] (2013-10-22, 20:34)Lunatixz Wrote: [ -> ]If u downloaded the preview file stop using it.... Go back to the master git...
If you are not using the preview send me your logs and details on the problem. Posting your configuration won't help me fix your problem.
Not using preview file.
https://www.dropbox.com/s/lcphyvny4tc3jvy/xbmc.log
Have just one type 8 channel set up for espn2. Used scilz link so I know stream works. When I open PTVL it goes to black screen after it updates the channels.
A black screen always indicates a problem with your xmltv file... are you using a xmltv file? did you verify the xmltv has information matching the channel id?
This is fixed in my latest being pushed this week... no more black screen, but if your channel is setup incorrectly or missing it's xmltv data it will be skipped...
Same problem here with channeltype 8, xmltv and lastes git master.
I have als the same exception in my xbmc.log like "mzup".
The channel id i use is 100% correct!
(2013-10-23, 00:13)pĆ¼nktchen Wrote: [ -> ] (2013-10-22, 21:20)Lunatixz Wrote: [ -> ] (2013-10-22, 20:40)mzup Wrote: [ -> ]Not using preview file.
https://www.dropbox.com/s/lcphyvny4tc3jvy/xbmc.log
Have just one type 8 channel set up for espn2. Used scilz link so I know stream works. When I open PTVL it goes to black screen after it updates the channels.
A black screen always indicates a problem with your xmltv file... are you using a xmltv file? did you verify the xmltv has information matching the channel id?
This is fixed in my latest being pushed this week... no more black screen, but if your channel is setup incorrectly or missing it's xmltv data it will be skipped...
Same problem here with channeltype 8, xmltv and lastes git master.
I have als the same exception in my xbmc.log like "mzup".
The channel id i use is 100% correct!
Log? did you set the xmltv path in PTVL settings ?.... ahh I know why...
you're not using the standardized xmltv format... don't use encoding="UTF-8"?> use encoding="ISO-8859-1"?>
This should be the default setting for all xmltv grabbers, make sure you didn't select utf-8, delete current xmltv and rebuild. Make sure it was encoded properly.
hey guys, I'm interesting to make my own xbmc. So i would like to ask you some questions.
When I set up the channels menu with the tv guide, when I select on any channel to press it, would I be able to watch live stream in small screen before go on the big screen?
When i select on the channel menu, tv guide or when i watch on the live stream depends on what channel i watch, when i switch off the set top box and then turn it on, would i be able to return it where i was before i turn it off?
Can I make my own design for the mini guide and tv guide?
Does xbmc support rtmp, rtmpe, rtsp, http, mms, udp and m3u8 live streaming?
Can I records any range of channels?
(2013-10-23, 00:55)chris0147 Wrote: [ -> ]hey guys, I'm interesting to make my own xbmc. So i would like to ask you some questions.
When I set up the channels menu with the tv guide, when I select on any channel to press it, would I be able to watch live stream in small screen before go on the big screen?
When i select on the channel menu, tv guide or when i watch on the live stream depends on what channel i watch, when i switch off the set top box and then turn it on, would i be able to return it where i was before i turn it off?
Can I make my own design for the mini guide and tv guide?
Does xbmc support rtmp, rtmpe, rtsp, http, mms, udp and m3u8 live streaming?
Can I records any range of channels?
you are asking this stuff in the wrong place try tvguidethread or general thread.
(2013-10-23, 00:40)Lunatixz Wrote: [ -> ]Log? did you set the xmltv path in PTVL settings ?.... ahh I know why...
you're not using the standardized xmltv format... don't use encoding="UTF-8"?> use encoding="ISO-8859-1"?>
This should be the default setting for all xmltv grabbers, make sure you didn't select utf-8, delete current xmltv and rebuild. Make sure it was encoded properly.
It is "ISO-8859-1". The file was generated by "mc2xml" without -U parameter. Checked the file with notepad++.
(2013-10-23, 01:36)pĆ¼nktchen Wrote: [ -> ] (2013-10-23, 00:40)Lunatixz Wrote: [ -> ]Log? did you set the xmltv path in PTVL settings ?.... ahh I know why...
you're not using the standardized xmltv format... don't use encoding="UTF-8"?> use encoding="ISO-8859-1"?>
This should be the default setting for all xmltv grabbers, make sure you didn't select utf-8, delete current xmltv and rebuild. Make sure it was encoded properly.
It is "ISO-8859-1". The file was generated by "mc2xml" without -U parameter. Checked the file with notepad++.
then I don't know... you need to troubleshoot on your end... Since everything works with chtype 8 (I use it daily).
Check xmltv... make sure all channel ids match
Check that the xmltv has current data, old information is the same as not having an xmltv file at all...
Check source does the strm play outside of PTVL?
Are you running latest master?
Delete your PTVL cache folder...
Set path for xmltv in PTVL settings...
double check settings2.xml try using only one channel and test.
thats all I can think of...
I've found a workaround, but i don't know what this effects:
The xbmc.log says:
Code:
File "C:\Users\pĆ¼nktchen\AppData\Roaming\XBMC\addons\script.pseudotv.live\resources\lib\ChannelList.py", line 1707, in buildLiveTVFileList
tmpstr = str(dur) + ',' + title + "//" + "LiveTV" + "//" + description + "//" + '\n' + url
UnboundLocalError: local variable 'dur' referenced before assignment
So i've changed ChannelList.py to this and it works:
Code:
if tvdbid > 0:
dur = (stopDate - startDate).seconds
# tmpstr = str(dur) + ',' + title + "//" + "LiveTV" + "//" + description + "//" + str(tvposterurl) + '\n' + url
tmpstr = str(dur) + ',' + title + "//" + "LiveTV" + "//" + description + "//" + '\n' + url
elif imdbid > 0:
dur = (stopDate - startDate).seconds
# tmpstr = str(dur) + ',' + title + "//" + "LiveMovie" + "//" + description + "//" + str(moviePosterUrl) + '\n' + url
tmpstr = str(dur) + ',' + title + "//" + "LiveMovie" + "//" + description + "//" + '\n' + url
else:
dur = (stopDate - startDate).seconds
tmpstr = str(dur) + ',' + title + "//" + "LiveTV" + "//" + description + "//" + '\n' + url
I think you're running an old copy...
you should have that already in your code it should look like this:
Code:
now = datetime.datetime.now()
stopDate = self.parseXMLTVDate(elem.get('stop'))
startDate = self.parseXMLTVDate(elem.get('start'))
#skip old shows that have already ended
if now > stopDate:
self.log("buildLiveTVFileList CHANNEL: " + str(self.settingChannel) + " OLD: " + title)
self.log("Unaired = " + str(new) + " tvdbid = " + str(tvdbid) + " imdbid = " + str(imdbid) + " episodeId = " + str(episodeId) + " seasonNumber = " + str(seasonNumber) + " episodeNumber = " + str(episodeNumber) + " category = " + str(category) + " sbManaged =" + str(sbManaged) + " cpManaged =" + str(cpManaged))
continue
#adjust the duration of the current show
if now > startDate and now < stopDate:
try:
#dur = ((stopDate - startDate).seconds)
dur = ((stopDate - startDate).seconds) - ((now - startDate).seconds)
self.log("buildLiveTVFileList CHANNEL: " + str(self.settingChannel) + " NOW PLAYING: " + title + " DUR: " + str(dur))
self.log("Unaired = " + str(new) + " tvdbid = " + str(tvdbid) + " imdbid = " + str(imdbid) + " episodeId = " + str(episodeId) + " seasonNumber = " + str(seasonNumber) + " episodeNumber = " + str(episodeNumber) + " category = " + str(category) + " sbManaged =" + str(sbManaged) + " cpManaged =" + str(cpManaged))
except:
dur = 3600 #60 minute default
self.log("buildLiveTVFileList CHANNEL: " + str(self.settingChannel) + " - Error calculating show duration (defaulted to 60 min)")
raise
#use the full duration for an upcoming show
if now < startDate:
try:
dur = (stopDate - startDate).seconds
self.log("buildLiveTVFileList CHANNEL: " + str(self.settingChannel) + " UPCOMING: " + title + " DUR: " + str(dur))
self.log("Unaired = " + str(new) + " tvdbid = " + str(tvdbid) + " imdbid = " + str(imdbid) + " episodeId = " + str(episodeId) + " seasonNumber = " + str(seasonNumber) + " episodeNumber = " + str(episodeNumber) + " category = " + str(category) + " sbManaged =" + str(sbManaged) + " cpManaged =" + str(cpManaged))
except:
dur = 3600 #60 minute default
self.log("buildLiveTVFileList CHANNEL: " + str(self.settingChannel) + " - Error calculating show duration (defaulted to 60 min)")
raise
if tvdbid > 0:
# tmpstr = str(dur) + ',' + title + "//" + "LiveTV" + "//" + description + "//" + str(tvposterurl) + '\n' + url
tmpstr = str(dur) + ',' + title + "//" + "LiveTV" + "//" + description + "//" + '\n' + url
elif imdbid > 0:
# tmpstr = str(dur) + ',' + title + "//" + "LiveMovie" + "//" + description + "//" + str(moviePosterUrl) + '\n' + url
tmpstr = str(dur) + ',' + title + "//" + "LiveMovie" + "//" + description + "//" + '\n' + url
else:
tmpstr = str(dur) + ',' + title + "//" + "LiveTV" + "//" + description + "//" + '\n' + url
tmpstr = tmpstr.replace("\\n", " ").replace("\\r", " ").replace("\\\"", "\"")
showList.append(tmpstr)
else:
if inSet == True:
self.log("buildLiveTVFileList CHANNEL: " + str(self.settingChannel) + " DONE")
break
showcount += 1
root.clear()
I finally tracked down my problem with autotuning not working on my Dev PC and working fine on my HTPC... Weeks of pulling my hair and it was a stupid advancedsettings.xml switch...
Code:
<samba>
<clienttimeout>15</clienttimeout> <!-- timeout (in seconds) -->
<!-- <statfiles>false</statfiles> <!-- Set to false to disable smb stat() on files to speed up listings of large directories (over slow links) --> -->
</samba>
statfiles, apparently blinds PTVL to json request info from smb sources!! When I push auto tuning it will come with a disclaimer to disable this switch if enabled.
Going to push the auto-tune feature before the end of the week. It will be labeled in commit as "auto-tune experimental".
Since it's based on your collection and random choices; There may be tons of bugs!! So I would backup any configuration files (cache folder, settings2.xml) before installing.
This wouldn't be for the users who depend on PTVL for everyday TV viewing, but more for testing purposes... The sooner users report bugs and problems; the faster I can get it finished
Post 1 was updated with the latest stable version before I pushed the updates...
Auto-tuning will control channel ordering based on your selection of options. Once auto-tuning is complete you can add traditional channels using whatever method you used previously.
It will also build clean each time it's activated; and builds using all media mapped to XBMC (so large collections will take sometime to build).
There will be a recovery option for users who want to undo auto-tuning after it runs.
Auto-tuning options will include:
- LiveTV:
- USTVnow w/EPG
- HDhomerun (coming soon)
- TV Network
- Movie Studios
- TV Genres
- Movie Genres
- Mixed TV/Movie Genres
- Music Genres
Music Videos:- Youtube
- VevoTV
- Local Directory
- InternetTV (coming soon)
- User selected addons/plugins (coming soon)
Thanks for your support!
Went and installed latest master nightly and it states dependencies not met. What needs to be installed?
i have worked out a way around dead strms. i noticed that dead strms usually come back on at some point and there are usually a few strms for each channel online somewhere. example i have 3 espn2 strms and they go out sometimes but i have never had all 3 out at the same time. so i put all 3 in a strm file then used directory channel in ptvl and point to that strm file. all works great except now i don't have xmltv info for that channel cause it is a directory. so what i am asking is if anyone knows of a way to use xmltv data with a directory channel or has any ideas for another work around.