Kodi Community Forum

Full Version: IPTV Recorder
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
(2019-03-17, 22:26)encol Wrote: [ -> ]I think we're close: https://paste.kodi.tv/yikasesobu.kodi
 Try this.
https://github.com/primaeval/plugin.vide...04438c20cc
I suspect the real problems are going to start when it starts recording and ffmpeg can't cope with your hardware but let's see. Fingers crossed.
(2019-03-17, 22:38)encol Wrote: [ -> ]same for seconds: https://paste.kodi.tv/esomavalif.kodi
total_seconds was in the wrong place.
https://github.com/primaeval/plugin.vide...mpare/spmc
This is tricky without being able to run the code to test it.
If it complains about microseconds take it out again.
Ok, another little step: now hour input pops up, but recording doesn't start: https://paste.kodi.tv/kenejudome.kodi
(2019-03-17, 23:55)encol Wrote: [ -> ]Ok, another little step: now hour input pops up, but recording doesn't start: https://paste.kodi.tv/kenejudome.kodi
 That probably affected the main branch too.
All the spmc changes including the sane_name fix are now in version 0.0.121.
(2019-03-18, 11:14)encol Wrote: [ -> ]now i have this: https://paste.kodi.tv/gagodagiwu.kodi
I have no idea how to fix that one.
I give up.

[EDIT] It looks like a bug in your version of python which can only be fixed by upgrading.
https://bugs.launchpad.net/bzr/+bug/542691
That's sad.
We were so close!  Sad
(2019-03-18, 12:12)encol Wrote: [ -> ]That's sad.
We were so close!  Sad
 The only clue that might help is that some of the bug reports were due to running out of memory or storage space.
https://bugs.launchpad.net/bzr/+bug/723234
Make sure wherever you are recording to has enough space and is writeable by kodi.
(2019-03-17, 18:56)encol Wrote: [ -> ]
(2019-03-17, 16:42)ed_davidson01 Wrote: [ -> ]I can’t find any specs on it. If it is an Amlogic chip then you might have luck.
If not time to buy a new one. 
It is sold under different names, you can find some specs here
Anyway, processor is an ARM Cortex-A7.
I succesfully rooted it and installed play store  Cool
(2019-03-17, 17:17)primaeval Wrote: [ -> ] I've fixed the other dict comprehensions but I haven't got anything to test it on.
https://github.com/primaeval/plugin.vide.../tree/spmc
If there are more problems open an issue on github and we'll discuss the details there. 
Thanks a lot, now channel search works fine, but i have another error.

Unfortunately, now i have some problem in creating an account on github, so (for now) i cannot open an issue.
However, i pasted the error here: sedemotece.kodi (paste)


I can’t open the link to the box.
(2019-03-18, 15:23)ed_davidson01 Wrote: [ -> ]
(2019-03-17, 18:56)encol Wrote: [ -> ]
(2019-03-17, 16:42)ed_davidson01 Wrote: [ -> ]I can’t find any specs on it. If it is an Amlogic chip then you might have luck.
If not time to buy a new one. 
It is sold under different names, you can find some specs here
Anyway, processor is an ARM Cortex-A7.
I succesfully rooted it and installed play store  Cool
(2019-03-17, 17:17)primaeval Wrote: [ -> ] I've fixed the other dict comprehensions but I haven't got anything to test it on.
https://github.com/primaeval/plugin.vide.../tree/spmc
If there are more problems open an issue on github and we'll discuss the details there. 
Thanks a lot, now channel search works fine, but i have another error.

Unfortunately, now i have some problem in creating an account on github, so (for now) i cannot open an issue.
However, i pasted the error here: sedemotece.kodi (paste) 


I can’t open the link to the box. 
http://4pda.ru/forum/index.php?showtopic=788880
Edit
Looks like it’s an android tv. Not a box at all.
(2019-03-18, 15:35)ed_davidson01 Wrote: [ -> ]Looks like it’s an android tv. Not a box at all.
Yes, it is.

(2019-03-18, 12:26)primaeval Wrote: [ -> ]
(2019-03-18, 12:12)encol Wrote: [ -> ]That's sad.
We were so close!  Sad
 The only clue that might help is that some of the bug reports were due to running out of memory or storage space.
https://bugs.launchpad.net/bzr/+bug/723234
Make sure wherever you are recording to has enough space and is writeable by kodi.  
I checked this. I have 3.7GB free in the recording location and it's writeable: in the recording folder was created a folder "Other", and inside it a folder with the channel name.
Inside that folder, two files:
- .json (79 bytes)
- .ts (0 bytes)

the error is raised by the instruction:
data = p.stdout.read(1000000)
in a file
/storage/emulated/0/Android/data/com.semperpax.spmc16/files/.spmc/userdata/addon_data/plugin.video.iptv.recorder/jobs/af5044c7-4793-11e9-ae1f-bb7a85059de8.py