Solved LiveTV doesn't autostart [KODI-RC1]
#1
Hi.

Instaled KODI-RC1 on a test client and it transfered all settings and updated addons aparently ok, but it doesn't start live tv on startup as it used to do.
I'm using iptv simple as a client.

Here is the debug log:
Debug


Any appreciated.

Thanks
Reply
#2
Code:
18:15:08 T:788   DEBUG: PVRManager - PVR::CPVRManager::ContinueLastChannel - no last played channel to continue playback found

did you played a channel before?
Reply
#3
Hi, xhaggi.

Yes, I did. I've played more than one channel, closed kodi, and then restarted it. Still nothing.
Reply
#4
could you please upload your TV database? i need to check if the last played timestamps are included.
Reply
#5
I have this files on my database folder:
https://dl.dropboxusercontent.com/u/12060371/TV22.db
https://dl.dropboxusercontent.com/u/12060371/TV26.db

Hope it helps.
Reply
#6
In both databases the channels iLastWatched column holds no last watched timestamp.

I don't know why this happens because i don't use the IPTV simple addon.


BTW: i don't know if this is a bug of the IPTV simple addon but your channel names looks like
Code:
[B][COLOR blue]RTP Internacional[/B][/COLOR]

and this cause the issue
Code:
18:15:08 T:788   DEBUG: PVR - PVR::CPVRDatabase::Get - group 'Todos os canais de rádio' loaded from the database
18:15:08 T:788   DEBUG: PVR - PVR::CPVRChannelGroups::Load - 1 radio groups fetched from the database
18:15:08 T:788   DEBUG: PVRChannelGroup - PVR::CPVRChannelGroup::Load - 10 channels loaded from the database for group 'Todos os canais de rádio'
18:15:08 T:1000  NOTICE: Thread JobWorker start, auto delete: true
18:15:08 T:788    INFO: PVRChannelGroup - PVR::CPVRChannelGroup::RemoveDeletedChannels - deleted radio channel '' from group 'Todos os canais de rádio'
18:15:08 T:788    INFO: Previous line repeats 6 times.
18:15:08 T:788    INFO: PVRChannelGroup - PVR::CPVRChannelGroup::RemoveDeletedChannels - deleted radio channel '[B][COLOR blue]RTP2[/B][/COLOR]' from group 'Todos os canais de rádio'
18:15:08 T:788   DEBUG: PVR - PVR::CPVRDatabase::Delete - deleting channel '[B][COLOR blue]RTP2[/B][/COLOR]' from the database
18:15:08 T:1000    INFO: WEATHER: Downloading weather
18:15:08 T:788    INFO: PVRChannelGroup - PVR::CPVRChannelGroup::RemoveDeletedChannels - deleted radio channel '[B][COLOR blue]RTP1[/B][/COLOR]' from group 'Todos os canais de rádio'
18:15:08 T:7836  NOTICE: Thread LanguageInvoker start, auto delete: false
18:15:08 T:788   DEBUG: PVR - PVR::CPVRDatabase::Delete - deleting channel '[B][COLOR blue]RTP1[/B][/COLOR]' from the database
18:15:08 T:7836    INFO: initializing python engine.
18:15:08 T:7836   DEBUG: CPythonInvoker(13, C:\Users\fabiodacosta\AppData\Roaming\Kodi\addons\weather.openweathermap.extended\default.py): start processing
18:15:08 T:788    INFO: PVRChannelGroup - PVR::CPVRChannelGroup::RemoveDeletedChannels - deleted radio channel '[B][COLOR blue]RTP Internacional[/B][/COLOR]' from group 'Todos os canais de rádio'
18:15:08 T:788   DEBUG: PVR - PVR::CPVRDatabase::Delete - deleting channel '[B][COLOR blue]RTP Internacional[/B][/COLOR]' from the database
18:15:08 T:788   DEBUG: CPVRChannelGroup - PVR::CPVRChannelGroup::Persist - persisting channel group 'Todos os canais de rádio' with 0 channels
18:15:08 T:788   DEBUG: PVR - PVR::CPVRChannelGroups::LoadUserDefinedChannelGroups - 0 new user defined radio channel groups fetched from clients
18:15:08 T:788   DEBUG: PVR - PVR::CPVRChannelGroups::PersistAll - persisting all changes in channel groups
18:15:08 T:5200   DEBUG: CRecentlyAddedJob::UpdateVideos() - Running RecentlyAdded home screen update
18:15:08 T:788   DEBUG: PVR - PVR::CPVRChannelGroups::Load - 1 radio channel groups loaded
18:15:08 T:788   DEBUG: PVR - PVR::CPVRChannelGroups::Load - loading all TV channel groups
18:15:08 T:788   DEBUG: PVR - PVR::CPVRDatabase::Get - group 'Todos os canais de TV' loaded from the database
18:15:08 T:788   DEBUG: PVR - PVR::CPVRChannelGroups::Load - 1 TV groups fetched from the database
18:15:08 T:788   DEBUG: PVRChannelGroup - PVR::CPVRChannelGroup::Load - 3 channels loaded from the database for group 'Todos os canais de TV'
18:15:08 T:788    INFO: PVRChannelGroup - PVR::CPVRChannelGroup::RemoveDeletedChannels - deleted TV channel '' from group 'Todos os canais de TV'
18:15:08 T:788    INFO: Previous line repeats 2 times.
18:15:08 T:788    INFO: PVRChannelGroupInternal - PVR::CPVRChannelGroupInternal::AddAndUpdateChannels - added TV channel '[B][COLOR blue]RTP Internacional[/B][/COLOR]'
18:15:08 T:788    INFO: PVRChannelGroupInternal - PVR::CPVRChannelGroupInternal::AddAndUpdateChannels - added TV channel '[B][COLOR blue]RTP1[/B][/COLOR]'
18:15:08 T:788    INFO: PVRChannelGroupInternal - PVR::CPVRChannelGroupInternal::AddAndUpdateChannels - added TV channel '[B][COLOR blue]RTP2[/B][/COLOR]'
18:15:08 T:788   DEBUG: CPVRChannelGroup - PVR::CPVRChannelGroup::Persist - persisting channel group 'Todos os canais de TV' with 3 channels
18:15:08 T:5200   DEBUG: CVideoDatabase::RunQuery took 4 ms for 10 items query: select * from movieview  ORDER BY dateAdded desc, idMovie desc LIMIT 10
18:15:08 T:788   DEBUG: CPVRChannelGroup - PVR::CPVRChannelGroup::Persist - persisting channel group 'Todos os canais de TV' with 3 channels

every channel is deleted and added to the database on startup, which results in an intial iLastWatched value of 0 = not watched.
Reply
#7
please post your IPTV simple addon channel XML
Reply
#8
I don't know where to find this file. I've searched for it on the "userdata" folder, but nothing.
I'm getting my list of channels from a m3u file stored localy. Which works fine on GOTHAM on a windows system and on a raspberry-pi/openelec system.

Here is the m3u file:
https://dl.dropboxusercontent.com/u/1206..._FINAL.m3u
Reply
#9
your m3u playlist looks good.

could you please remove all of your TV database files and check if it works?
Reply
#10
It worked!!

I reseted both EPG and PVR databases, and now it's working as it should!

Thanks for your support!
Reply
#11
its actually under settings, INTERFACE, startup, perform on startup, play tv
Reply

Logout Mark Read Team Forum Stats Members Help
LiveTV doesn't autostart [KODI-RC1]0