Beta Live TV Playlist
#16
(2019-04-07, 22:53)HeresJohnny Wrote: Here are my settings:
Image
The log excerpt above was already in debug mode. Hope this helps, if not I can still get a complete debug log.
Please go into my add-on's settings. Debug Mode should be on.
If that is OK then I want you to add a TV show to the playlist.
I'm looking for debug statements that my add-on generates to see what's going on when you add a show to the playlist.
If the problem is occurring during startup, the complete log should give me more information to help diagnose the problem.

Image
Reply
#17
(2019-04-07, 22:53)HeresJohnny Wrote: Here are my settings:
Image
The log excerpt above was already in debug mode. Hope this helps, if not I can still get a complete debug log.

I was finally able to replicate the problem and it appears to be Kodi related.
The work around requires you to change your short date regional format from 7.4.2019 to 07.04.2019
When you use the single digit version instead of the 2 digit version, Kodi gives me an invalid format string which causes the exception you're experiencing.
I'll keep working on a better solution so that you'll be able to use your original preferred date format.
Reply
#18
I've released version 0.9.35 which provides a fix to the problem I found. You should be able to use the single digit date format of your choice with this update.

I've also reported this Kodi bug and in the process of doing so, discovered others developers had reported similar issues. I hope they will address this bug in v18.
Reply
#19
(2019-04-07, 19:26)jmooremcc Wrote: If you choose the existing playlist item, that item would be set to record and the new item would replace it in the playlist.
Would that work for you?

Sounds good to me. I haven't had a chance to play with it yet in its present form, though.
HDHomerun Quatro, RaspPi/TVHeadend, NUC/Win10/Kodi, Mousetuary skin, Mouse on couch!
Reply
#20
I've released version 0.9.36 which improves handling of different regional date/time formats.
Reply
#21
(2019-04-09, 21:16)jmooremcc Wrote: I've released version 0.9.36 which improves handling of different regional date/time formats.
I'm happy to report that I can add tv programs to the playlist now, regardless of 12h or 24h format. Now the next challenge: No switching occurs at the programmed time, sorry :-S

This might detail the problem:
Code:
2019-04-10 00:59:53.009 T:1980 DEBUG: 00:59:53.008:line#393TonguelayListItem.py->PlayListItem->_ChangeCh():->Changing to channel 2 at 2019-04-10 00:59:53.003000
2019-04-10 00:59:53.016 T:5016 ERROR: Exception in thread ChannelChangeEvent:
Traceback (most recent call last):
File "C:\Program Files\Kodi\system\python\Lib\threading.py", line 801, in __bootstrap_inner
self.run()
File "C:\Program Files\Kodi\system\python\Lib\threading.py", line 754, in run
self.__target(*self.__args, **self.__kwargs)
File "C:\Users\JoScha\AppData\Roaming\Kodi\addons\service.ltvpl\resources\lib\Data\PL_DataSet.py", line 219, in onChannelChange_Event
changeChannelByChannelNumber(kodiObj,ch)
File "C:\Users\JoScha\AppData\Roaming\Kodi\addons\service.ltvpl\resources\lib\KodiLib\KodiUtilities.py", line 289, in changeChannelByChannelNumber
kodiObj.Player.Open({'item':{'channelid':channelInfo[0]['channelid']}})
TypeError: 'NoneType' object has no attribute '__getitem__'
2019-04-10 00:59:53.018 T:9412 DEBUG: 00:59:53.018:line#182TongueL_Server.py->PL_Server->onChannelChange():->Deleting 2 From List
2019-04-10 00:59:54.022 T:1708 DEBUG: 00:59:54.022:line#236TongueL_DataSet.py->PL_DataSet->onPLX_Event():->alarmtime: 2019-04-10 01:00:00
2019-04-10 00:59:54.026 T:1708 DEBUG: 00:59:54.027:line#240TongueL_DataSet.py->PL_DataSet->onPLX_Event():->
Wating to Remove ch 2 at 2019-04-10 01:00:00 : ONCE from list
2019-04-10 00:59:54.033 T:1708 DEBUG: 00:59:54.034:line#231:AlarmsMgr.py->_Alarms->_cancelTimer():->Deleting Timer: 2019-04-10 00:59:55 : 8557195
2019-04-10 00:59:54.039 T:1708 DEBUG: 00:59:54.039:line#273TonguelayListItem.py->PlayListItem->Cancel():->Cancelling PlayList Item: ch 2 at 2019-04-10 01:00:00 : ONCE
Reply
#22
Looks like a code page problem:

Code:
2019-04-10 01:52:39.251 T:3212 ERROR: Exception in thread DataReceivedEvent:
Traceback (most recent call last):
File "C:\Program Files\Kodi\system\python\Lib\threading.py", line 801, in __bootstrap_inner
self.run()
File "C:\Program Files\Kodi\system\python\Lib\threading.py", line 754, in run
self.__target(*self.__args, **self.__kwargs)
File "C:\Users\JoScha\AppData\Roaming\Kodi\addons\service.ltvpl\Countdown.py", line 196, in onResponseReceived
self.sortData()
File "C:\Users\JoScha\AppData\Roaming\Kodi\addons\service.ltvpl\Countdown.py", line 370, in sortData
myLog("******{}Sad{}){}".format(n,d['alarmtime'], d['title']))
UnicodeEncodeError: 'ascii' codec can't encode character u'\xfc' in position 7: ordinal not in range(128)
Reply
#23
(2019-04-10, 02:20)HeresJohnny Wrote: Looks like a code page problem:

Code:
2019-04-10 01:52:39.251 T:3212 ERROR: Exception in thread DataReceivedEvent:
Traceback (most recent call last):
File "C:\Program Files\Kodi\system\python\Lib\threading.py", line 801, in __bootstrap_inner
self.run()
File "C:\Program Files\Kodi\system\python\Lib\threading.py", line 754, in run
self.__target(*self.__args, **self.__kwargs)
File "C:\Users\JoScha\AppData\Roaming\Kodi\addons\service.ltvpl\Countdown.py", line 196, in onResponseReceived
self.sortData()
File "C:\Users\JoScha\AppData\Roaming\Kodi\addons\service.ltvpl\Countdown.py", line 370, in sortData
myLog("******{}Sad{}){}".format(n,d['alarmtime'], d['title']))
UnicodeEncodeError: 'ascii' codec can't encode character u'\xfc' in position 7: ordinal not in range(128)

I think I have an idea of what's going on.
Please send me a screenshot of your PVR & Live TV Settings -> General Tab page.
Since you're using the IPTV Simple Client, I want to see what options are available on that page.
Be sure that Settings Level is set to Advanced when you do the screenshot.
Reply
#24
I was able to replicate the problem and have released version 0.9.37 that contains a fix for the channel change issue.
Reply
#25
Version 0.9.37 Released
Reply
#26
I can confirm that this release now works at least on some of my KODI installations. On CoreELEC it still throws an error but I haven't looked at the logfile yet. I would guess that this is related to the service which must be implemented in a different way on Linux flavoured OS's.
Reply
#27
The good news is we're making progress. I'm really pleased to know that the add-on works with the IPTV Simple Client running on Windows.

I don't have a device running CoreELEC but interestingly enough, the add-on was developed on hardware running LibreELEC, which is also Linux. My understanding is that CoreELEC is a fork of LibreELEC with support for a different a different set of hardware.

I'd really be interested in seeing the debug log on this one.
Reply
#28
Version 0.9.38 Released
Reply
#29
I am running (mostly) coreelec.
First tries just threw an error (because of the date-format thing).
Reading up there seems to be progress.
Will test again when i get around to it and report back.
Really like the idea of creating a livetv playlist!

Regards,
Atreyu
Reply
#30
(2019-04-15, 08:02)Atreyu Wrote: I am running (mostly) coreelec.
First tries just threw an error (because of the date-format thing).
Reading up there seems to be progress.
Will test again when i get around to it and report back.
Really like the idea of creating a livetv playlist!

Regards,
Atreyu
I'd appreciate it if you could send me a debug log.
My add-on will produce diagnostic output if you turn logging on either using the GUI or by setting loglevel to 1 in an advancedsettings.xml file.

Thanks
Reply

Logout Mark Read Team Forum Stats Members Help
Live TV Playlist0