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.
@kaner007 
Quote:Ok I was looking up the locale_alias and changed it to language = "de_CH.ISO8859-1". Seems to work. however there is a next error coming up:-).

Any idea what I need to change?

ITPV Recorder error parsing dates. 

Log file: 

2019-04-20 11:43:02.612 T:123145507229696   ERROR: "IPTV Recorder: Error parsing dates (time data 'Saturday, April 20, 2019, 12:03 PM' does not match format '%A, %B %d, %Y, %I:%M %p')"
 

What locale is Kodi showing the program date in Kodi \ TV \ Guide ?
Is it in German or English?
If it is in English then the locale setting needs to be the same so that it can parse the date string into a date.
'Saturday, April 20, 2019, 12:03 PM'
(2019-04-20, 12:02)primaeval Wrote: [ -> ]@kaner007 
Quote:Ok I was looking up the locale_alias and changed it to language = "de_CH.ISO8859-1". Seems to work. however there is a next error coming up:-).

Any idea what I need to change?

ITPV Recorder error parsing dates. 

Log file: 

2019-04-20 11:43:02.612 T:123145507229696   ERROR: "IPTV Recorder: Error parsing dates (time data 'Saturday, April 20, 2019, 12:03 PM' does not match format '%A, %B %d, %Y, %I:%M %p')"
 

What locale is Kodi showing the program date in Kodi \ TV \ Guide ?
Is it in German or English?
If it is in English then the locale setting needs to be the same so that it can parse the date string into a date.
'Saturday, April 20, 2019, 12:03 PM' 

ok it is English. Can you give me a hint where to change the locale setting?
(2019-04-20, 12:27)kaner007 Wrote: [ -> ]
(2019-04-20, 12:02)primaeval Wrote: [ -> ]@kaner007 
Quote:Ok I was looking up the locale_alias and changed it to language = "de_CH.ISO8859-1". Seems to work. however there is a next error coming up:-).

Any idea what I need to change?

ITPV Recorder error parsing dates. 

Log file: 

2019-04-20 11:43:02.612 T:123145507229696   ERROR: "IPTV Recorder: Error parsing dates (time data 'Saturday, April 20, 2019, 12:03 PM' does not match format '%A, %B %d, %Y, %I:%M %p')"
 

What locale is Kodi showing the program date in Kodi \ TV \ Guide ?
Is it in German or English?
If it is in English then the locale setting needs to be the same so that it can parse the date string into a date.
'Saturday, April 20, 2019, 12:03 PM'  

ok it is English. Can you give me a hint where to change the locale setting? 

Try to match whatever region Kodi is set to. The default is US English.
Maybe if you set Kodi to de_CH it will match the date locale.

So start simple with "english", "en", "en_us" etc from that table
It might be picky about the captial E in "English"
Maybe en_US.ISO8859-1

    'en_uk':                                'en_GB.ISO8859-1',
    'en_us':                                'en_US.ISO8859-1',
    'en_us.88591':                          'en_US.ISO8859-1',
    'en_us.885915':                         'en_US.ISO8859-15',
    'en_us.iso88591':                       'en_US.ISO8859-1',
    'en_us.iso885915':                      'en_US.ISO8859-15',
    'en_us.iso885915@euro':                 'en_US.ISO8859-15',
    'en_us@euro':                           'en_US.ISO8859-15',
    'en_us@euro@euro':                      'en_US.ISO8859-15',
    'eng_gb':                               'en_GB.ISO8859-1',
    'eng_gb.8859':                          'en_GB.ISO8859-1',
    'english':                              'en_EN.ISO8859-1',
    'english.iso88591':                     'en_EN.ISO8859-1',
    'english_uk':                           'en_GB.ISO8859-1',
    'english_uk.8859':                      'en_GB.ISO8859-1',
    'english_united-states':                'en_US.ISO8859-1',
    'english_united-states.437':            'C',
    'english_us':                           'en_US.ISO8859-1',
    'english_us.8859':                      'en_US.ISO8859-1',
    'english_us.ascii':                     'en_US.ISO8859-1',
great job it works now. Thank you! I can now schedule. In the contextEPG.py file I use: language = "de_ch.ISO8859-15". In Kodi I use regional settings German / CH.

In the ITPV Simple client I get the error Timer: The PVR backend does not support timers . How to solve this?
(2019-04-20, 14:02)kaner007 Wrote: [ -> ]great job it works now. Thank you! I can now schedule. In the contextEPG.py file I use: language = "de_ch.ISO8859-15". In Kodi I use regional settings German / CH.

In the ITPV Simple client I get the error Timer: The PVR backend does not support timers . How to solve this?

Good.
I'm not sure how to do a generic fix right now. When I do an update the language= fix will break.
If anyone else does please let me know.

You can't use the Kodi PVR menus for Recording. They are linked to the IPTV Simple Client internally.

You can do a timed recording from
Kodi \ TV \ Channels \ context menu \ IPTV Recorder Timer
or from
IPTV Recorder \ Channel Groups \ All Channels \ context menu \ Add One|Daily|Weekly Time Rule
(2019-04-20, 14:11)primaeval Wrote: [ -> ]
(2019-04-20, 14:02)kaner007 Wrote: [ -> ]great job it works now. Thank you! I can now schedule. In the contextEPG.py file I use: language = "de_ch.ISO8859-15". In Kodi I use regional settings German / CH.

In the ITPV Simple client I get the error Timer: The PVR backend does not support timers . How to solve this?

Good.
I'm not sure how to do a generic fix right now. When I do an update the language= fix will break.
If anyone else does please let me know.

You can't use the Kodi PVR menus for Recording. They are linked to the IPTV Simple Client internally.

You can do a timed recording from
Kodi \ TV \ Channels \ context menu \ IPTV Recorder Timer
or from
IPTV Recorder \ Channel Groups \ All Channels \ context menu \ Add One|Daily|Weekly Time Rule 

okk perfect thanks so much for your support!! Very appreciated and I learned a lot!! Thanks
Hi
I have installed recorder and face some concerns.
I configured 'all' in recorder settings but nothing appears in plugin folder. I can't see epg list nor programs nor groups.
When I schedule timer in IPTV SC it confirmes it has been scheduled
no errors so far
but nothing is recorded and in logs I have this https://paste.kodi.tv/emalonefus.kodi
appreciate any helps
PS
everything works fine in IPTV, full epg and can choose each channel from it
ignore there is error in first line of xmltv file
(2019-04-22, 14:13)zloty777 Wrote: [ -> ]Hi
I have installed recorder and face some concerns.
I configured 'all' in recorder settings but nothing appears in plugin folder. I can't see epg list nor programs nor groups.
When I schedule timer in IPTV SC it confirmes it has been scheduled
no errors so far
but nothing is recorded and in logs I have this https://paste.kodi.tv/emalonefus.kodi
appreciate any helps
PS
everything works fine in IPTV, full epg and can choose each channel from it
ignore there is error in first line of xmltv file

If you have no channels and no programs in
IPTV Recorder \ Channel Groups \ All Channels
then there is a problem reading your xmltv and m3u files.

Did you restart Kodi and wait 60 seconds before IPTV Recorder loads the xmltv and m3u file?

There should be some errors in kodi.log about plugin.video.iptv.recorder if that failed.

If it loaded ok there should be at least 3 files in
userdata\addon_data\plugin.video.iptv.recorder
channels1.m3u, xmltv1.xml and xmltv.db
(2019-04-22, 14:23)primaeval Wrote: [ -> ]
(2019-04-22, 14:13)zloty777 Wrote: [ -> ]Hi
I have installed recorder and face some concerns.
I configured 'all' in recorder settings but nothing appears in plugin folder. I can't see epg list nor programs nor groups.
When I schedule timer in IPTV SC it confirmes it has been scheduled
no errors so far
but nothing is recorded and in logs I have this https://paste.kodi.tv/emalonefus.kodi
appreciate any helps
PS
everything works fine in IPTV, full epg and can choose each channel from it
ignore there is error in first line of xmltv file

If you have no channels and no programs in
IPTV Recorder \ Channel Groups \ All Channels
then there is a problem reading your xmltv and m3u files.

Did you restart Kodi and wait 60 seconds before IPTV Recorder loads the xmltv and m3u file?

There should be some errors in kodi.log about plugin.video.iptv.recorder if that failed.

If it loaded ok there should be at least 3 files in
userdata\addon_data\plugin.video.iptv.recorder
channels1.m3u, xmltv1.xml and xmltv.db 
Sorry for delay
I have some progress. Epg is loaded, kind of start recording. json file created with name of recorded program. ts file created but 0 bytes size as recording endings after few seconde.
Are you polish by any chance? I have spotted something could suggest so :
CCurlFile::Open failed with code 404 for https://raw.githubusercontent.com/neopack1/KODI_WTYCZKI/master/md5/addons.xml.md5
might this be the issue ?
ERROR: {'confidence': 0.99, 'language': '', 'encoding': 'utf-8'}
In Kodi I use polish or english coding page files
(2019-04-22, 21:37)zloty777 Wrote: [ -> ]
(2019-04-22, 14:23)primaeval Wrote: [ -> ]
(2019-04-22, 14:13)zloty777 Wrote: [ -> ]Hi
I have installed recorder and face some concerns.
I configured 'all' in recorder settings but nothing appears in plugin folder. I can't see epg list nor programs nor groups.
When I schedule timer in IPTV SC it confirmes it has been scheduled
no errors so far
but nothing is recorded and in logs I have this https://paste.kodi.tv/emalonefus.kodi
appreciate any helps
PS
everything works fine in IPTV, full epg and can choose each channel from it
ignore there is error in first line of xmltv file

If you have no channels and no programs in
IPTV Recorder \ Channel Groups \ All Channels
then there is a problem reading your xmltv and m3u files.

Did you restart Kodi and wait 60 seconds before IPTV Recorder loads the xmltv and m3u file?

There should be some errors in kodi.log about plugin.video.iptv.recorder if that failed.

If it loaded ok there should be at least 3 files in
userdata\addon_data\plugin.video.iptv.recorder
channels1.m3u, xmltv1.xml and xmltv.db  
Sorry for delay
I have some progress. Epg is loaded, kind of start recording. json file created with name of recorded program. ts file created but 0 bytes size as recording endings after few seconde.
Are you polish by any chance? I have spotted something could suggest so :
  
I'm not Polish. Someone probably forked a copy of my code. Quite a few Polish people have asked questions about my addons.

If it creates a ts file it means that ffmpeg must have started but failed.

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-22, 21:55)primaeval Wrote: [ -> ]
(2019-04-22, 21:37)zloty777 Wrote: [ -> ]
(2019-04-22, 14:23)primaeval Wrote: [ -> ]If you have no channels and no programs in
IPTV Recorder \ Channel Groups \ All Channels
then there is a problem reading your xmltv and m3u files.

Did you restart Kodi and wait 60 seconds before IPTV Recorder loads the xmltv and m3u file?

There should be some errors in kodi.log about plugin.video.iptv.recorder if that failed.

If it loaded ok there should be at least 3 files in
userdata\addon_data\plugin.video.iptv.recorder
channels1.m3u, xmltv1.xml and xmltv.db  
Sorry for delay
I have some progress. Epg is loaded, kind of start recording. json file created with name of recorded program. ts file created but 0 bytes size as recording endings after few seconde.
Are you polish by any chance? I have spotted something could suggest so :
   
I'm not Polish. Someone probably forked a copy of my code. Quite a few Polish people have asked questions about my addons.

If it creates a ts file it means that ffmpeg must have started but failed.

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 https://paste.kodi.tv/ufomizijok.kodi
(2019-04-22, 22:12)zloty777 Wrote: [ -> ]
(2019-04-22, 21:55)primaeval Wrote: [ -> ]
(2019-04-22, 21:37)zloty777 Wrote: [ -> ]Sorry for delay
I have some progress. Epg is loaded, kind of start recording. json file created with name of recorded program. ts file created but 0 bytes size as recording endings after few seconde.
Are you polish by any chance? I have spotted something could suggest so :
   
I'm not Polish. Someone probably forked a copy of my code. Quite a few Polish people have asked questions about my addons.

If it creates a ts file it means that ffmpeg must have started but failed.

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 https://paste.kodi.tv/ufomizijok.kodi 
forgot to add that after few seconds recording stops an .ts file is empty
(2019-04-22, 22:12)zloty777 Wrote: [ -> ]
(2019-04-22, 21:55)primaeval Wrote: [ -> ]
(2019-04-22, 21:37)zloty777 Wrote: [ -> ]Sorry for delay
I have some progress. Epg is loaded, kind of start recording. json file created with name of recorded program. ts file created but 0 bytes size as recording endings after few seconde.
Are you polish by any chance? I have spotted something could suggest so :
   
I'm not Polish. Someone probably forked a copy of my code. Quite a few Polish people have asked questions about my addons.

If it creates a ts file it means that ffmpeg must have started but failed.

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 https://paste.kodi.tv/ufomizijok.kodi 
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.
(2019-04-22, 22:19)primaeval Wrote: [ -> ]
(2019-04-22, 22:12)zloty777 Wrote: [ -> ]
(2019-04-22, 21:55)primaeval Wrote: [ -> ]I'm not Polish. Someone probably forked a copy of my code. Quite a few Polish people have asked questions about my addons.

If it creates a ts file it means that ffmpeg must have started but failed.

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 https://paste.kodi.tv/ufomizijok.kodi  
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