Beta DNA TV plugin (finnish tv recording service)
#16
Appreciated...in the meanwhile i will make sure none of my ever so helpful familymembers have not gone to change the password
Reply
#17
(2016-01-21, 09:35)munselo Wrote: Thanks for log. That error is created because there is not so much error checking and when login fails in this kind of situation recordings variable is not assigned. So it just tells that login fails.

I'm busy until monday but i'll check then if there is anything i can find out without having a booxtv account.
if it helps. I am sure we can do something with my user if necessary...
Reply
#18
I hope it works now. Just download and install again.
Reply
#19
now the live streams work but the recordings do not Sad
Reply
#20
looked into the error-logs a little more....could it have anything to do with the fact that the error-log says it can not find a folder "recordings" and when I use my desktop to access the service, my recordings are found under https://webui.booxtv.fi/webui/myrecordings

just a thought...
Reply
#21
Watching recordings was also broken for dnatv. There has been some kind of change in service. json response includes now recordings that have been removed or something. I added some exception handling to get through these and now it should work again.
Reply
#22
It works again! Smile
thanks!!
Reply
#23
Can't get it running. The plug in starts, but when I select either recordings or live TV it always says that the script fails. I'm using Kodi 16.0 with requests 2.8.1
Reply
#24
Just tried with Kodi 16 rc2 and requests 2.8.1 on linux mint with no problems.

First check that your login information is correct in add-on settings.

If that's not the problem logout from context menu before choosing live tv or recordings.

Last possibility to get it work is to download newest version of dnatv plugin, remove settings.xml or reset to defaults from add-on settings and try again.

I know that there is some problem with plugin that's solved by removing settings.xml. Recording list and some cookie information are stored in settings.xml ( very bad but easy way to do it ). I haven't been able to find out the reason for the problem but it might have something to do with handling of invalid json response. Maybe i'll make it so that logging out from service removes cookie and recording data from settings.xml. Problem won't be fixed but then there shouldn't be need for manually removing setting.xml. I also need to start using xbmc.log() instead of print to get anything written to kodi.log.
Reply
#25
Still not able to make it run. I have Kodi 16 rc2 and requests 2.8.1 on Ubuntu 12.04.5 LTS. I triple checked the login credentials.

The log file is not very helpfull:
18:28:34 T:3008297344 DEBUG: ParentPath = [addons://sources/video/]
18:28:34 T:2847058752 DEBUG: StartScript - calling plugin DNATV('plugin://plugin.video.dnatv/','1','')
18:28:34 T:2847058752 DEBUG: WaitOnScriptResult - waiting on the DNATV (id=1) plugin...
18:28:34 T:2804869952 NOTICE: Thread LanguageInvoker start, auto delete: false
18:28:34 T:2804869952 INFO: initializing python engine.
18:28:34 T:2804869952 DEBUG: CPythonInvoker(1, /home/info/.kodi/addons/plugin.video.dnatv/addon.py): start processing
18:28:34 T:2804869952 NOTICE: -->Python Interpreter Initialized<--
18:28:34 T:2804869952 DEBUG: CPythonInvoker(1, /home/info/.kodi/addons/plugin.video.dnatv/addon.py): entering source directory /home/matti/.kodi/addons/plugin.video.dnatv
18:28:34 T:2804869952 DEBUG: CPythonInvoker(1, /home/info/.kodi/addons/plugin.video.dnatv/addon.py): instantiating addon using automatically obtained id of "plugin.video.dnatv" dependent on version 2.1.0 of the xbmc.python api
18:28:34 T:2804869952 DEBUG: LocalizeStrings: no strings.po file exist at /home/info/.kodi/addons/plugin.video.dnatv/resources/language/English, fallback to strings.xml
18:28:34 T:2847058752 DEBUG: WaitOnScriptResult- plugin returned successfully
18:28:34 T:2804869952 INFO: CPythonInvoker(1, /home/info/.kodi/addons/plugin.video.dnatv/addon.py): script successfully run
18:28:34 T:2796477248 NOTICE: Thread BackgroundLoader start, auto delete: false
18:28:34 T:3008297344 DEBUG: ------ Window Deinit (Pointer.xml) ------
18:28:34 T:2796477248 DEBUG: Thread BackgroundLoader 2796477248 terminating
18:28:34 T:2804869952 INFO: Python script stopped
18:28:34 T:2804869952 DEBUG: Thread LanguageInvoker 2804869952 terminating
18:28:35 T:3008297344 DEBUG: ------ Window Init (Pointer.xml) ------
18:28:36 T:2957376320 DEBUG: Version Check: Already notified one time for upgrading.
18:28:36 T:2957376320 INFO: CPythonInvoker(0, /home/info/.kodi/addons/service.xbmc.versioncheck/service.py): script successfully run
18:28:36 T:2957376320 INFO: Python script stopped
Reply
#26
Im using latest dnatv plugin and latest kodi with win7. Works fine first 30mins and then it stop. need start playback every 30mins. I replaced username with ***** to log. Here is log:

14:14:50 T:968 NOTICE: Thread JobWorker start, auto delete: true
14:14:50 T:3900 NOTICE: CDVDPlayer::CloseFile()
14:14:50 T:3900 NOTICE: DVDPlayer: waiting for threads to exit
14:14:50 T:3900 NOTICE: DVDPlayer: finished waiting
14:14:50 T:3900 NOTICE: CDVDPlayer::CloseFile()
14:14:50 T:3900 NOTICE: DVDPlayer: waiting for threads to exit
14:14:50 T:3900 NOTICE: DVDPlayer: finished waiting
14:14:50 T:968 ERROR: InputStream: Error opening, plugin://plugin.video.dnatv/?videoUrl=https%3A%2F%2Ftv.dna.fi%2Fapi%2Fuser%2F********%2540gmail.com%2Fchannel%2F17%2Fstream%2F1%2Fplay%3Fservice%3Ddnaclient&mode=watch
14:14:50 T:3048 NOTICE: Thread JobWorker start, auto delete: true
14:14:50 T:968 ERROR: InputStream: Error opening, plugin://plugin.video.dnatv/?videoUrl=https%3A%2F%2Ftv.dna.fi%2Fapi%2Fuser%2F*******%2540gmail.com%2Fchannel%2F905%2Fstream%2F98%2Fplay%3Fservice%3Ddnaclient&mode=watch
14:14:50 T:3048 ERROR: InputStream: Error opening, plugin://plugin.video.dnatv/?videoUrl=https%3A%2F%2Ftv.dna.fi%2Fapi%2Fuser%2F*****%2540gmail.com%2Fchannel%2F3315%2Fstream%2F45%2Fplay%3Fservice%3Ddnaclient&mode=watch
14:14:50 T:968 ERROR: InputStream: Error opening, plugin://plugin.video.dnatv/?videoUrl=https%3A%2F%2Ftv.dna.fi%2Fapi%2Fuser%2F*****%2540gmail.com%2Fchannel%2F305%2Fstream%2F41%2Fplay%3Fservice%3Ddnaclient&mode=watch
14:14:50 T:3048 ERROR: InputStream: Error opening, plugin://plugin.video.dnatv/?videoUrl=https%3A%2F%2Ftv.dna.fi%2Fapi%2Fuser%2F*******%2540gmail.com%2Fchannel%2F257%2Fstream%2F46%2Fplay%3Fservice%3Ddnaclient&mode=watch
14:14:50 T:968 ERROR: InputStream: Error opening, plugin://plugin.video.dnatv/?videoUrl=https%3A%2F%2Ftv.dna.fi%2Fapi%2Fuser%2F*****%2540gmail.com%2Fchannel%2F225%2Fstream%2F47%2Fplay%3Fservice%3Ddnaclient&mode=watch
14:14:50 T:3048 ERROR: InputStream: Error opening, plugin://plugin.video.dnatv/?videoUrl=https%3A%2F%2Ftv.dna.fi%2Fapi%2Fuser%2F*****%2540gmail.com%2Fchannel%2F209%2Fstream%2F40%2Fplay%3Fservice%3Ddnaclient&mode=watch
14:14:50 T:968 ERROR: InputStream: Error opening, plugin://plugin.video.dnatv/?videoUrl=https%3A%2F%2Ftv.dna.fi%2Fapi%2Fuser%2*****3%2540gmail.com%2Fchannel%2F113%2Fstream%2F4%2Fplay%3Fservice%3Ddnaclient&mode=watch
14:14:50 T:3048 ERROR: InputStream: Error opening, plugin://plugin.video.dnatv/?videoUrl=https%3A%2F%2Ftv.dna.fi%2Fapi%2Fuser%2F*****%2540gmail.com%2Fchannel%2F81%2Fstream%2F3%2Fplay%3Fservice%3Ddnaclient&mode=watch
14:14:50 T:968 ERROR: InputStream: Error opening, plugin://plugin.video.dnatv/?videoUrl=https%3A%2F%2Ftv.dna.fi%2Fapi%2Fuser%2F*****%2540gmail.com%2Fchannel%2F33%2Fstream%2F2%2Fplay%3Fservice%3Ddnaclient&mode=watch
14:14:58 T:3268 NOTICE: Thread LanguageInvoker start, auto delete: false
14:14:58 T:3268 NOTICE: -->Python Interpreter Initialized<--
14:14:58 T:3268 ERROR: C:\Users\*****\AppData\Roaming\Kodi\addons\script.module.requests\lib\requests\packages\urllib3\util\ssl_.py:315: SNIMissingWarning: An HTTPS request has been made, but the SNI (Subject Name Indication) extension to TLS is not available on this platform. This may cause the server to present an incorrect TLS certificate, which can cause validation failures. For more information, see https://urllib3.readthedocs.org/en/lates...ingwarning.
SNIMissingWarning
14:14:58 T:3268 ERROR: C:\Users\*****\AppData\Roaming\Kodi\addons\script.module.requests\lib\requests\packages\urllib3\util\ssl_.py:120: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. For more information, see https://urllib3.readthedocs.org/en/lates...ormwarning.
InsecurePlatformWarning
14:14:59 T:3268 WARNING: Attempt to use invalid handle 14
14:14:59 T:3900 WARNING: Previous line repeats 2 times.
14:14:59 T:3900 NOTICE: DVDPlayer: Opening: https://tv.booxmedia.com/premium/8eae368...x/209.m3u8
14:14:59 T:3900 WARNING: CDVDMessageQueue(player):Tongueut MSGQ_NOT_INITIALIZED
14:14:59 T:3900 NOTICE: DXVA::CProcessorHD:TonguereInit - The Direct3d device doesn't support DXVA-HD.
14:14:59 T:3900 NOTICE: CWinRenderer:Tonguereinit - could not init DXVA-HD processor - skipping
14:14:59 T:2300 NOTICE: Thread DVDPlayer start, auto delete: false
14:14:59 T:2300 NOTICE: Creating InputStream
14:15:00 T:4848 NOTICE: Thread FileCache start, auto delete: false
14:15:00 T:2300 NOTICE: Creating Demuxer
Reply
#27
Just watched Willow with kodi 16 rc3 on windows computer. No interruptions occured. I hope you have tried to watch something else to be sure that the problem exists only with this plugin.

Those inputstream errors appeared after kodi 15 update. Maybe i'm doing something wrong when adding those listitems but as long as everything else is working i don't mind flooding kodi.log

I also have to ask everyone not to send any logs if using kodi 16 before i update this plugin. Python's print command doesn't log anything when using kodi 16 and that's the only way log is written in current version. I need to start using xbmc.log() but that's not going to happen today.
Reply
#28
Looked there error messages more closely. There was an error relating to ssl authentication. Turned out I had a bad ssl object and fixing that solved the problem. There dnatv script now works
Reply
#29
Keep up the good work munselo!
Reply
#30
I am back Sad
the plugin works but the live feed links for the first two channels are gone....only YLE FEM and YLE TEEMA shown YLE 1 and 2 are missing...
Reply

Logout Mark Read Team Forum Stats Members Help
DNA TV plugin (finnish tv recording service)0