(2019-03-18, 15:59)encol Wrote: [ -> ] (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!
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
There are 3 things you could try.
Try to not pipe the output through kodi by turning off
Settings \ Jobs and Rules \ pipe ffmpeg through Kodi
Turn on
Settings \ Debug \ debug ffmpeg stdout/stderr
and see if ffmpeg creates any stdout stderr files in the jobs folder.
Turn it off again after or it won't record to the ts file.
Find out if it is actually copying ffmpeg to the right place for spmc and it is runnable from there.
spmc has some non-standard paths, I seem to remember.
The ffmpeg location should be in the jobs py files in the cmd.
The logic for copying ffmpeg and making it runnable is in the ffmpeg_location function.
https://github.com/primaeval/plugin.vide...in.py#L407
Maybe the problem is the 1000000 parameter of the stdout.read?
(2019-03-18, 16:25)encol Wrote: [ -> ]Maybe the problem is the 1000000 parameter of the stdout.read?
You could experiment with that too.
(2019-03-18, 16:25)encol Wrote: [ -> ]Maybe the problem is the 1000000 parameter of the stdout.read?
Also try using the xml and m3u in tests.
It should be easier to debug Big Buck Bunny than an iptv stream.
Ok, I have to go work now. I'll try later
Hi there @
primaeval
Hoping for one more thing
When I do have an EPG and I can select the show name, would it be possible to come up with the option to record weekly?
The parameters are already there so just need the date in weekly, that way if the EPG runs out you still have the recording rule.
(2019-03-18, 20:12)ed_davidson01 Wrote: [ -> ]Hi there @primaeval
Hoping for one more thing
When I do have an EPG and I can select the show name, would it be possible to come up with the option to record weekly?
The parameters are already there so just need the date in weekly, that way if the EPG runs out you still have the recording rule.
No.
The point of the Daily recordings is to only record when your program is scheduled.
So it will already only record Weekly if the show is only on one night a week. Like Fridays.
And it won't record when the show is off-air.
If the Daily recording with a Title falls back to a timed recording it will just record every day forever.
There is no easy way to tell if a program is not scheduled or if it is missing in the xmltv that day.
This is one of those cases that the easier something appears to an end user the more difficult it is to work out the logic in the back end.
If you think you can work out the gory details of all the cases write some pseudo-code in the service_thread function and I'll see if it can be implemented.
https://github.com/primaeval/plugin.vide...n.py#L2341
(2019-03-18, 21:25)primaeval Wrote: [ -> ] (2019-03-18, 20:12)ed_davidson01 Wrote: [ -> ]Hi there @primaeval
Hoping for one more thing
When I do have an EPG and I can select the show name, would it be possible to come up with the option to record weekly?
The parameters are already there so just need the date in weekly, that way if the EPG runs out you still have the recording rule.
No.
The point of the Daily recordings is to only record when your program is scheduled.
So it will already only record Weekly if the show is only on one night a week. Like Fridays.
And it won't record when the show is off-air.
If the Daily recording with a Title falls back to a timed recording it will just record every day forever.
There is no easy way to tell if a program is not scheduled or if it is missing in the xmltv that day.
This is one of those cases that the easier something appears to an end user the more difficult it is to work out the logic in the back end.
If you think you can work out the gory details of all the cases write some pseudo-code in the service_thread function and I'll see if it can be implemented.
https://github.com/primaeval/plugin.vide...n.py#L2341
You know my python skills [emoji1]
Hi Primaeval, since I Updated to Kodi 18.1 on my Raspberry the recorder does not work anymore. When I press the IPTV recorder Button on the EPG nothing happens. Hopefully you can help me further to find out the issue. I am using now a list created with Webgrabplus.
Https://paste.kodi.tv/kuxovezoca
(2019-03-19, 00:35)invincible Wrote: [ -> ]Hi Primaeval, since I Updated to Kodi 18.1 on my Raspberry the recorder does not work anymore. When I press the IPTV recorder Button on the EPG nothing happens. Hopefully you can help me further to find out the issue. I am using now a list created with Webgrabplus.
Https://paste.kodi.tv/kuxovezoca
The error in the log is
OperationalError: database is locked
By default IPTV Recorder won't start loading the xml and m3u for 60 seconds after startup.
You can change it in Settings \ Service.
You might also need to delete the database by hand in
userdata\addon_data\plugin.video.iptv.recorder\xmltv.db
and also a partial .journal file.
If it gets farther after that pm me your xml and m3u and I'll have a look.
@
primaeval , thanks for your great support, please I just noticed that there is " Add Rule " "Rules" in the Addon Recorder , please what does that do? what are they used for? am sorry to sound noob. just want to make sure am not missing something.
Regards
(2019-03-19, 16:38)samueljones Wrote: [ -> ]@primaeval , thanks for your great support, please I just noticed that there is " Add Rule " "Rules" in the Addon Recorder , please what does that do? what are they used for? am sorry to sound noob. just want to make sure am not missing something.
Regards
I haven't written anything much about Addon Recorder.
As an example if you want to record all new Eastenders episodes from iplayerWWW:
Go into
Addon Recorder \ Library \ Video Addons \ iplayer WWW \ Most Popular
right click on Eastenders ...
Add Rule
and change it to something that will always match your program.
In this case just
Eastenders
It uses python regexes if you want to get fancy.
https://www.w3schools.com/python/python_regex.asp
.* is anything
Then if you do Record at the top level or wait for the next Settings\Service it will try and match all the Rules and record all the new Eastenders episodes.
Hi Primaeval, I have deleted the database in the mentioned database. when searching for journal I have found two files: journalctl and journal.conf. Which of the 2 is it and what do I need to do? Thanks again for your support!
(2019-03-19, 18:33)invincible Wrote: [ -> ]Hi Primaeval, I have deleted the database in the mentioned database. when searching for journal I have found two files: journalctl and journal.conf. Which of the 2 is it and what do I need to do? Thanks again for your support!
Don't delete those or bad things will happen to your operating system!!!
A stuck IPTV Recorder db file will probably be:
userdata\addon_data\plugin.video.iptv.recorder\xmltv.db-journal