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-04-22, 23:10)zloty777 Wrote: [ -> ]
(2019-04-22, 22:19)primaeval Wrote: [ -> ]
(2019-04-22, 22:12)zloty777 Wrote: [ -> ]Turn on
Settings \ Debug \ ffmpeg stdout/stderr
Then try to record something else.
Look in
userdata\addon_data\plugin.video.iptv.recorder\jobs
for the stdout and stderr files.
They should tell you where ffmpeg failed.

Turn the debug setting back off again to record properly. To be absolutely sure I have just downloaded newest version of ffmpeg.exe
so now I have this in my log file ufomizijok.kodi (paste)  
You haven't set the location of ffmpeg correctly or the permissions are wrong.
Also start with Record Once from within IPTV Recorder. It looks like you started in the Channels menu of the Kodi PVR.  

I tried couple versions of ffmpeg.exe (working with other plugins withing MY kodi). Also recording folder has write permissions
and still fails after few second. Do not know how you spotted I previously tried to record from PVR not from IPTV recorder plugin but still .ts file is empty 

The record_and_play function is intended for the Kodi PVR only.
That is how I knew you probably tried that first.
There are a lot of other problems that can happen when using the PVR menus so first make sure it records directly from IPTV Recorder.

Anyway, back to trying to work out what your ffmpeg is doing:

Turn on
Settings \ Debug \ ffmpeg stdout/stderr
Then try to record something else.
Look in
userdata\addon_data\plugin.video.iptv.recorder\jobs
for the stdout and stderr files.
They should tell you where ffmpeg failed.

Turn the debug setting back off again to record properly.
(2019-04-23, 08:56)primaeval Wrote: [ -> ]
(2019-04-22, 23:10)zloty777 Wrote: [ -> ]
(2019-04-22, 22:19)primaeval Wrote: [ -> ]You haven't set the location of ffmpeg correctly or the permissions are wrong.
Also start with Record Once from within IPTV Recorder. It looks like you started in the Channels menu of the Kodi PVR.  

I tried couple versions of ffmpeg.exe (working with other plugins withing MY kodi). Also recording folder has write permissions
and still fails after few second. Do not know how you spotted I previously tried to record from PVR not from IPTV recorder plugin but still .ts file is empty  

The record_and_play function is intended for the Kodi PVR only.
That is how I knew you probably tried that first.
There are a lot of other problems that can happen when using the PVR menus so first make sure it records directly from IPTV Recorder.

Anyway, back to trying to work out what your ffmpeg is doing:

Turn on
Settings \ Debug \ ffmpeg stdout/stderr
Then try to record something else.
Look in
userdata\addon_data\plugin.video.iptv.recorder\jobs
for the stdout and stderr files.
They should tell you where ffmpeg failed.

Turn the debug setting back off again to record properly. 

Appreciate your help and work at all
All works fine now
I used incorrect or not working ffmpeg.exe
I have imported from installation of iSpy and now works fine
Thanks again
(2019-04-23, 14:18)zloty777 Wrote: [ -> ]
(2019-04-23, 08:56)primaeval Wrote: [ -> ]
(2019-04-22, 23:10)zloty777 Wrote: [ -> ]I tried couple versions of ffmpeg.exe (working with other plugins withing MY kodi). Also recording folder has write permissions
and still fails after few second. Do not know how you spotted I previously tried to record from PVR not from IPTV recorder plugin but still .ts file is empty  

The record_and_play function is intended for the Kodi PVR only.
That is how I knew you probably tried that first.
There are a lot of other problems that can happen when using the PVR menus so first make sure it records directly from IPTV Recorder.

Anyway, back to trying to work out what your ffmpeg is doing:

Turn on
Settings \ Debug \ ffmpeg stdout/stderr
Then try to record something else.
Look in
userdata\addon_data\plugin.video.iptv.recorder\jobs
for the stdout and stderr files.
They should tell you where ffmpeg failed.

Turn the debug setting back off again to record properly.  

Appreciate your help and work at all
All works fine now
I used incorrect or not working ffmpeg.exe
I have imported from installation of iSpy and now works fine
Thanks again 

just one confusion
how can I cancel one time recording of currently being streamed program ?
Can't find an option to do it. There is no trace of a job in Jobs folder
No problem if it is scheduled for a future one
(2019-04-23, 15:50)zloty777 Wrote: [ -> ]
(2019-04-23, 14:18)zloty777 Wrote: [ -> ]
(2019-04-23, 08:56)primaeval Wrote: [ -> ]The record_and_play function is intended for the Kodi PVR only.
That is how I knew you probably tried that first.
There are a lot of other problems that can happen when using the PVR menus so first make sure it records directly from IPTV Recorder.

Anyway, back to trying to work out what your ffmpeg is doing:

Turn on
Settings \ Debug \ ffmpeg stdout/stderr
Then try to record something else.
Look in
userdata\addon_data\plugin.video.iptv.recorder\jobs
for the stdout and stderr files.
They should tell you where ffmpeg failed.

Turn the debug setting back off again to record properly.  

Appreciate your help and work at all
All works fine now
I used incorrect or not working ffmpeg.exe
I have imported from installation of iSpy and now works fine
Thanks again  

just one confusion
how can I cancel one time recording of currently being streamed program ?
Can't find an option to do it. There is no trace of a job in Jobs folder
No problem if it is scheduled for a future one 
It should be in
IPTV Recorder \ Maintenance \ Jobs
with the name you gave it when you created it.
not start record on any skin and on any version of kodi


- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                            Error Type: <type 'exceptions.ValueError'>
                                            Error Contents: time data '' does not match format '%d.%m.%Y %H:%M'
                                            Traceback (most recent call last):
                                              File "C:\Users\Desktop\kodi-18.2-Leia-x64\portable_data\addons\plugin.video.iptv.recorder\default.py", line 38, in <module>
                                                start_time = datetime.datetime.fromtimestamp(time.mktime(time.strptime(date, format)))
                                              File "C:\Users\Desktop\kodi-18.2-Leia-x64\system\python\Lib\_strptime.py", line 478, in _strptime_time
                                                return _strptime(data_string, format)[0]
                                              File "C:\Users\Desktop\kodi-18.2-Leia-x64\system\python\Lib\_strptime.py", line 332, in _strptime
                                                (data_string, format))
                                            ValueError: time data '' does not match format '%d.%m.%Y %H:%M'
                                            -->End of Python script error report<--


I do not know what I'm doing wrong
(2019-04-26, 14:43)Atamans Wrote: [ -> ]not start record on any skin and on any version of kodi


- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                            Error Type: <type 'exceptions.ValueError'>
                                            Error Contents: time data '' does not match format '%d.%m.%Y %H:%M'
                                            Traceback (most recent call last):
                                              File "C:\Users\Desktop\kodi-18.2-Leia-x64\portable_data\addons\plugin.video.iptv.recorder\default.py", line 38, in <module>
                                                start_time = datetime.datetime.fromtimestamp(time.mktime(time.strptime(date, format)))
                                              File "C:\Users\Desktop\kodi-18.2-Leia-x64\system\python\Lib\_strptime.py", line 478, in _strptime_time
                                                return _strptime(data_string, format)[0]
                                              File "C:\Users\Desktop\kodi-18.2-Leia-x64\system\python\Lib\_strptime.py", line 332, in _strptime
                                                (data_string, format))
                                            ValueError: time data '' does not match format '%d.%m.%Y %H:%M'
                                            -->End of Python script error report<--
I do not know what I'm doing wrong

There have been some problems with different regions and dates  recently with the skin modifications.
What Kodi region settings are you using and what is your Windows region?
How did you add the skin modifications?
What skin are you using?
It is not picking up the program time from the skin labels.
All / UK

Skin Esuary / SiLVO
(2019-04-26, 15:00)Atamans Wrote: [ -> ]All / UK

How did you add the skin modifications?
What skin are you using?
used skin  Esuary / SiLVO

the button I added

Code:
<control type="button" id="810">
<texturefocus colordiffuse="$VAR[CustomColorListSelectnf]">osd/buttons/OSDTeleTextFO.png</texturefocus>
<texturenofocus colordiffuse="$VAR[CustomColorListSelectfo]">osd/buttons/OSDTeleTextFO.png</texturenofocus>
<label />
<width>100</width>
<height>100</height>
<font />
<onclick>Action(close)</onclick>
<onclick>RunScript(plugin.video.iptv.recorder,$ESCINFO[ListItem.ChannelName],$ESCINFO[ListItem.Title],$ESCINFO[ListItem.Date],$ESCINFO[ListItem.Duration],$ESCINFO[ListItem.Plot])</onclick>
<visible>System.hasAddon(plugin.video.iptv.recorder</visible>
</control>
(2019-04-26, 15:07)Atamans Wrote: [ -> ]used skin  Esuary / SiLVO

the button I added

Code:
<control type="button" id="810">
<texturefocus colordiffuse="$VAR[CustomColorListSelectnf]">osd/buttons/OSDTeleTextFO.png</texturefocus>
<texturenofocus colordiffuse="$VAR[CustomColorListSelectfo]">osd/buttons/OSDTeleTextFO.png</texturenofocus>
<label />
<width>100</width>
<height>100</height>
<font />
<onclick>Action(close)</onclick>
<onclick>RunScript(plugin.video.iptv.recorder,$ESCINFO[ListItem.ChannelName],$ESCINFO[ListItem.Title],$ESCINFO[ListItem.Date],$ESCINFO[ListItem.Duration],$ESCINFO[ListItem.Plot])</onclick>
<visible>System.hasAddon(plugin.video.iptv.recorder</visible>
</control>

Try the skin that IPTV Recorder can create first:
Estuary (IPTV Recorder)

I had a look at the Silvio mod a while ago and I think there was something strange in relation to IPTV Recorder.
The PVR Program Dialog had something missing or extra.
@primaeval

thanks for trying to help

Nothing helps
IPTV Recording skin missing record label

I check on kodi 18.1 but there should be no differences with kodi 18.2
(2019-04-26, 15:33)Atamans Wrote: [ -> ]@primaeval

thanks for trying to help

Nothing helps
IPTV Recording skin missing record label

I check on kodi 18.1 but there should be no differences with kodi 18.2

Did you run the command in yellow at the top of IPTV Recorder?
NEW! Create Estuary (IPTV Recorder) Skin
yes, downloaded skin and changed does not work
I made a zip and reinstalled it also does not work
(2019-04-26, 16:11)Atamans Wrote: [ -> ]yes, downloaded skin and changed does not work
I made a zip and reinstalled it also does not work

You don't download the skin, the addon creates a copy of the default Estuary skin, makes some modifications, and enables it.
The new skin will be called
Estuary (IPTV Recorder)
Image

Yes, I know, but it is as a new skin in the addons folder

I also changed skins, I made a restart, it did not work, there is no download button