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-19, 19:10)kaner007 Wrote: [ -> ]hi I'm new to this topic and struggle with the installation on my mac IOS.

Can somebody tell me in details how to read the following instruction?

I have completed the first 2 steps:

Install this addon via my repo. https://github.com/primaeval/repository....-0.0.2.zip > done
Download ffmpeg for your device > done

But now need some help doing the next step:

Point to the ffmpeg exe in Settings.How is this done? I have installed ffmpeg version 4.1.3 on my mac just now... 

Apologies about this basic question but may be you can point me to a direction to get more familiar with this..
Hi.
Settings \ Jobs and Rules \ ffmpeg exe = wherever ffmpeg was installed to
I haven't got a mac so I don't know where it might end up but this might help:
https://ericholsinger.com/install-ffmpeg-on-a-mac
(2019-04-19, 19:41)primaeval Wrote: [ -> ]
(2019-04-19, 19:10)kaner007 Wrote: [ -> ]hi I'm new to this topic and struggle with the installation on my mac IOS.

Can somebody tell me in details how to read the following instruction?

I have completed the first 2 steps:

Install this addon via my repo. https://github.com/primaeval/repository....-0.0.2.zip > done
Download ffmpeg for your device > done

But now need some help doing the next step:

Point to the ffmpeg exe in Settings.How is this done? I have installed ffmpeg version 4.1.3 on my mac just now... 

Apologies about this basic question but may be you can point me to a direction to get more familiar with this..
Hi.
Settings \ Jobs and Rules \ ffmpeg exe = wherever ffmpeg was installed to
I haven't got a mac so I don't know where it might end up but this might help:
https://ericholsinger.com/install-ffmpeg-on-a-mac 
Thanks for your quick reply...
Settings \ Jobs and Rules \ -> does this refer to a navigation tree in KODI?
(2019-04-19, 20:37)kaner007 Wrote: [ -> ]
(2019-04-19, 19:41)primaeval Wrote: [ -> ]
(2019-04-19, 19:10)kaner007 Wrote: [ -> ]hi I'm new to this topic and struggle with the installation on my mac IOS.

Can somebody tell me in details how to read the following instruction?

I have completed the first 2 steps:

Install this addon via my repo. https://github.com/primaeval/repository....-0.0.2.zip > done
Download ffmpeg for your device > done

But now need some help doing the next step:

Point to the ffmpeg exe in Settings.How is this done? I have installed ffmpeg version 4.1.3 on my mac just now... 

Apologies about this basic question but may be you can point me to a direction to get more familiar with this..
Hi.
Settings \ Jobs and Rules \ ffmpeg exe = wherever ffmpeg was installed to
I haven't got a mac so I don't know where it might end up but this might help:
https://ericholsinger.com/install-ffmpeg-on-a-mac  
Thanks for your quick reply...
Settings \ Jobs and Rules \ -> does this refer to a navigation tree in KODI? 
No. Settings means
IPTV Recorder \ Settings
You get to the Settings from the context menu of the IPTV Recorder addon in the Kodi \ Video Addons section.
You get to the context menu with the C key or Right Mouse button.
(2019-04-19, 20:47)primaeval Wrote: [ -> ]
(2019-04-19, 20:37)kaner007 Wrote: [ -> ]
(2019-04-19, 19:41)primaeval Wrote: [ -> ]Hi.
Settings \ Jobs and Rules \ ffmpeg exe = wherever ffmpeg was installed to
I haven't got a mac so I don't know where it might end up but this might help:
https://ericholsinger.com/install-ffmpeg-on-a-mac  
Thanks for your quick reply...
Settings \ Jobs and Rules \ -> does this refer to a navigation tree in KODI?   
No. Settings means
IPTV Recorder \ Settings
You get to the Settings from the context menu of the IPTV Recorder addon in the Kodi \ Video Addons section.
You get to the context menu with the C key or Right Mouse button.  

It seems I don't have IPTV Recorder addon in Video Add-ons sections. I can only see "primavela's beta dev repository" under "Add-ons / Add-on repository" and "PVR IPTV Simple Client" under "Add-ons / PVR Clients". Video Add-ons section is empty. Sorry to ask from where do I get IPTV Recorder addon?
(2019-04-19, 21:24)kaner007 Wrote: [ -> ]
(2019-04-19, 20:47)primaeval Wrote: [ -> ]
(2019-04-19, 20:37)kaner007 Wrote: [ -> ]Thanks for your quick reply...
Settings \ Jobs and Rules \ -> does this refer to a navigation tree in KODI?   
No. Settings means
IPTV Recorder \ Settings
You get to the Settings from the context menu of the IPTV Recorder addon in the Kodi \ Video Addons section.
You get to the context menu with the C key or Right Mouse button.    

It seems I don't have IPTV Recorder addon in Video Add-ons sections. I can only see "primavela's beta dev repository" under "Add-ons / Add-on repository" and "PVR IPTV Simple Client" under "Add-ons / PVR Clients". Video Add-ons section is empty. Sorry to ask from where do I get IPTV Recorder addon?  
primaeval's beta dev repository \ Video Addons \ IPTV Recorder

Make sure you turned on
Kodi \ Settings \ System \ Add-ons \ Unknown Sources
Great thanks so much for all of your support. I'm almost there. If I want to record something the following message appears:  ITPV Recorder not found. Any idea what is wrong?
error log:
2019-04-19 22:28:20.106 T:123145449922560   ERROR: {'confidence': 0.99, 'language': '', 'encoding': 'utf-8'}
2019-04-19 22:28:20.127 T:123145449922560 WARNING: [xbmcswift2] No converter provided, unicode should be used, but returning str value
2019-04-19 22:28:41.970 T:4618573248 WARNING: Previous line repeats 56997 times.
2019-04-19 22:28:41.970 T:4618573248 WARNING: CGUIWindowManager - HandleAction - ignoring action 92, because topmost modal dialog closing animation is running
2019-04-19 22:28:42.059 T:4618573248 WARNING: CGUIWindowManager - HandleAction - ignoring action 103, because topmost modal dialog closing animation is running
2019-04-19 22:28:47.692 T:123145453678592  NOTICE: virtual bool CAESinkDARWINOSX::Initialize(AEAudioFormat &, std:Confusedtring &): Opening default device Built-in Output
(2019-04-19, 22:05)kaner007 Wrote: [ -> ]Great thanks so much for all of your support. I'm almost there. If I want to record something the following message appears:  ITPV Recorder not found. Any idea what is wrong?

You'll have to give me more clues.
What was not found?
What exactly were you trying to do?

Have you set up IPTV Simple Client correctly so that it shows programs and plays channels?
Have you restarted Kodi?
Is
IPTV Recorder \ Channel Groups \ All Channels
full of the same channels and programs as
Kodi \ TV \ Guide
?
Can you play the channels in IPTV Recorder?
Can you record in IPTV Recorder?
(2019-04-20, 08:20)primaeval Wrote: [ -> ]
(2019-04-19, 22:05)kaner007 Wrote: [ -> ]Great thanks so much for all of your support. I'm almost there. If I want to record something the following message appears:  ITPV Recorder not found. Any idea what is wrong?

You'll have to give me more clues.
What was not found?
What exactly were you trying to do?

Have you set up IPTV Simple Client correctly so that it shows programs and plays channels? -> YES. I can see a lot of channels and swtich between the channels
Have you restarted Kodi? -> YES several times
Is
IPTV Recorder \ Channel Groups \ All Channels
full of the same channels and programs as
Kodi \ TV \ Guide? -> Yes the same channels are visible in IPTV Recorder and ITPV Simple Client
Can you play the channels in IPTV Recorder? -> Yes
Can you record in IPTV Recorder? -> partially working I can add "Add on time Rule" and record forexample 5 minutes this works perfectly.

 
If I'm in ITPV Simple Client and want to "Schedule ITPV Recorder" on a channel an error comes up ITPV Recorder not found.

The error log looks like: I marked the errors in amber which I think are the relevant once from the action done...

2019-04-20 08:50:59.455 T:123145373655040 WARNING: [xbmcswift2] No converter provided, unicode should be used, but returning str value
2019-04-20 08:51:01.076 T:123145375264768 WARNING: Previous line repeats 187 times.
2019-04-20 08:51:01.076 T:123145375264768  NOTICE: [xbmcswift2] Request for "/channel/Arte.de/Arte+FHD+DE" matches rule for function "channel"
2019-04-20 08:51:01.087 T:123145375264768 WARNING: [xbmcswift2] No converter provided, unicode should be used, but returning str value
2019-04-20 08:51:02.831 T:123145375801344 WARNING: Previous line repeats 5 times.
2019-04-20 08:51:02.831 T:123145375801344  NOTICE: [xbmcswift2] Request for "/group/LIVE%3A+Germany" matches rule for function "group"
2019-04-20 08:51:02.832 T:123145375801344 WARNING: [xbmcswift2] No converter provided, unicode should be used, but returning str value
2019-04-20 08:51:02.951 T:123145375801344 WARNING: Previous line repeats 69 times.
2019-04-20 08:51:02.951 T:123145375801344   ERROR: /Users/USER/Library/Application Support/Kodi/addons/plugin.video.iptv.recorder/main.py:2330: UnicodeWarning: Unicode equal comparison failed to convert both arguments to Unicode - interpreting them as being unequal
                                              if channelname not in favourites and channelid:
2019-04-20 08:51:02.952 T:123145375801344 WARNING: [xbmcswift2] No converter provided, unicode should be used, but returning str value
2019-04-20 08:52:03.908 T:123145377947648 WARNING: Previous line repeats 186 times.
2019-04-20 08:52:03.908 T:123145377947648  NOTICE: virtual bool CAESinkDARWINOSX::Initialize(AEAudioFormat &, std:Confusedtring &): Opening default device Built-in Output
2019-04-20 08:53:05.153 T:123145374191616 WARNING: DARWINOSX: underflow (0 vs 4096 bytes)
2019-04-20 08:53:22.934 T:123145373655040   ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                             - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                            Error Type: <class 'locale.Error'>
                                            Error Contents: unsupported locale setting
                                            Traceback (most recent call last):
                                              File "/Users/USER/Library/Application Support/Kodi/addons/plugin.video.iptv.recorder/contextEPG.py", line 44, in <module>
                                                locale.setlocale(locale.LC_TIME, language)
                                              File "/Users/Shared/jenkins/workspace/OSX-64/tools/depends/xbmc-depends/macosx10.13_x86_64-target-release/lib/python2.7/locale.py", line 581, in setlocale
                                            Error: unsupported locale setting
                                            -->End of Python script error report<--
2019-04-20 08:53:22.940 T:123145377947648  NOTICE: virtual bool CAESinkDARWINOSX::Initialize(AEAudioFormat &, std:Confusedtring &): Opening default device Built-in Output
2019-04-20 08:54:28.637 T:123145374728192 WARNING: DARWINOSX: underflow (0 vs 4096 bytes)
(2019-04-20, 08:58)kaner007 Wrote: [ -> ]
(2019-04-20, 08:20)primaeval Wrote: [ -> ]
(2019-04-19, 22:05)kaner007 Wrote: [ -> ]Great thanks so much for all of your support. I'm almost there. If I want to record something the following message appears:  ITPV Recorder not found. Any idea what is wrong?

You'll have to give me more clues.
What was not found?
What exactly were you trying to do?

Have you set up IPTV Simple Client correctly so that it shows programs and plays channels? -> YES. I can see a lot of channels and swtich between the channels
Have you restarted Kodi? -> YES several times
Is
IPTV Recorder \ Channel Groups \ All Channels
full of the same channels and programs as
Kodi \ TV \ Guide? -> Yes the same channels are visible in IPTV Recorder and ITPV Simple Client
Can you play the channels in IPTV Recorder? -> Yes
Can you record in IPTV Recorder? -> partially working I can add "Add on time Rule" and record forexample 5 minutes this works perfectly. 
If I'm in ITPV Simple Client and want to "Schedule ITPV Recorder" on a channel an error comes up ITPV Recorder not found.

The error log looks like: I marked the errors in amber which I think are the relevant once from the action done...

2019-04-20 08:50:59.455 T:123145373655040 WARNING: [xbmcswift2] No converter provided, unicode should be used, but returning str value
2019-04-20 08:51:01.076 T:123145375264768 WARNING: Previous line repeats 187 times.
2019-04-20 08:51:01.076 T:123145375264768  NOTICE: [xbmcswift2] Request for "/channel/Arte.de/Arte+FHD+DE" matches rule for function "channel"
2019-04-20 08:51:01.087 T:123145375264768 WARNING: [xbmcswift2] No converter provided, unicode should be used, but returning str value
2019-04-20 08:51:02.831 T:123145375801344 WARNING: Previous line repeats 5 times.
2019-04-20 08:51:02.831 T:123145375801344  NOTICE: [xbmcswift2] Request for "/group/LIVE%3A+Germany" matches rule for function "group"
2019-04-20 08:51:02.832 T:123145375801344 WARNING: [xbmcswift2] No converter provided, unicode should be used, but returning str value
2019-04-20 08:51:02.951 T:123145375801344 WARNING: Previous line repeats 69 times.
2019-04-20 08:51:02.951 T:123145375801344   ERROR: /Users/USER/Library/Application Support/Kodi/addons/plugin.video.iptv.recorder/main.py:2330: UnicodeWarning: Unicode equal comparison failed to convert both arguments to Unicode - interpreting them as being unequal
                                              if channelname not in favourites and channelid:
2019-04-20 08:51:02.952 T:123145375801344 WARNING: [xbmcswift2] No converter provided, unicode should be used, but returning str value
2019-04-20 08:52:03.908 T:123145377947648 WARNING: Previous line repeats 186 times.
2019-04-20 08:52:03.908 T:123145377947648  NOTICE: virtual bool CAESinkDARWINOSX::Initialize(AEAudioFormat &, std:Confusedtring &): Opening default device Built-in Output
2019-04-20 08:53:05.153 T:123145374191616 WARNING: DARWINOSX: underflow (0 vs 4096 bytes)
2019-04-20 08:53:22.934 T:123145373655040   ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                             - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                            Error Type: <class 'locale.Error'>
                                            Error Contents: unsupported locale setting
                                            Traceback (most recent call last):
                                              File "/Users/USER/Library/Application Support/Kodi/addons/plugin.video.iptv.recorder/contextEPG.py", line 44, in <module>
                                                locale.setlocale(locale.LC_TIME, language)
                                              File "/Users/Shared/jenkins/workspace/OSX-64/tools/depends/xbmc-depends/macosx10.13_x86_64-target-release/lib/python2.7/locale.py", line 581, in setlocale
                                            Error: unsupported locale setting
                                            -->End of Python script error report<--
2019-04-20 08:53:22.940 T:123145377947648  NOTICE: virtual bool CAESinkDARWINOSX::Initialize(AEAudioFormat &, std:Confusedtring &): Opening default device Built-in Output
2019-04-20 08:54:28.637 T:123145374728192 WARNING: DARWINOSX: underflow (0 vs 4096 bytes)
 

It looks like this is an osx problem with getting the correct locale.
https://stackoverflow.com/questions/1629...ems-on-osx

You'll have to do a bit of remote debugging for me.

Add a
log(language)
at line 44 in
"addons\plugin.video.iptv.recorder\contextEPG.py"
so it looks like this

fullFormat = get_format()
language = xbmc.getLanguage()
log(language)
locale.setlocale(locale.LC_TIME, language)

Tell me what that is and what it should be.

Then try something like setting the language to whatever yours should be like
fullFormat = get_format()
language = xbmc.getLanguage()
language = "en_US.UTF-8"
locale.setlocale(locale.LC_TIME, language)

If that works I'm not sure what a good generic solution is.
(2019-04-20, 09:21)primaeval Wrote: [ -> ]
(2019-04-20, 08:58)kaner007 Wrote: [ -> ]
(2019-04-20, 08:20)primaeval Wrote: [ -> ]You'll have to give me more clues.
What was not found?
What exactly were you trying to do?

Have you set up IPTV Simple Client correctly so that it shows programs and plays channels? -> YES. I can see a lot of channels and swtich between the channels
Have you restarted Kodi? -> YES several times
Is
IPTV Recorder \ Channel Groups \ All Channels
full of the same channels and programs as
Kodi \ TV \ Guide? -> Yes the same channels are visible in IPTV Recorder and ITPV Simple Client
Can you play the channels in IPTV Recorder? -> Yes
Can you record in IPTV Recorder? -> partially working I can add "Add on time Rule" and record forexample 5 minutes this works perfectly.
If I'm in ITPV Simple Client and want to "Schedule ITPV Recorder" on a channel an error comes up ITPV Recorder not found.

The error log looks like: I marked the errors in amber which I think are the relevant once from the action done...

2019-04-20 08:50:59.455 T:123145373655040 WARNING: [xbmcswift2] No converter provided, unicode should be used, but returning str value
2019-04-20 08:51:01.076 T:123145375264768 WARNING: Previous line repeats 187 times.
2019-04-20 08:51:01.076 T:123145375264768  NOTICE: [xbmcswift2] Request for "/channel/Arte.de/Arte+FHD+DE" matches rule for function "channel"
2019-04-20 08:51:01.087 T:123145375264768 WARNING: [xbmcswift2] No converter provided, unicode should be used, but returning str value
2019-04-20 08:51:02.831 T:123145375801344 WARNING: Previous line repeats 5 times.
2019-04-20 08:51:02.831 T:123145375801344  NOTICE: [xbmcswift2] Request for "/group/LIVE%3A+Germany" matches rule for function "group"
2019-04-20 08:51:02.832 T:123145375801344 WARNING: [xbmcswift2] No converter provided, unicode should be used, but returning str value
2019-04-20 08:51:02.951 T:123145375801344 WARNING: Previous line repeats 69 times.
2019-04-20 08:51:02.951 T:123145375801344   ERROR: /Users/USER/Library/Application Support/Kodi/addons/plugin.video.iptv.recorder/main.py:2330: UnicodeWarning: Unicode equal comparison failed to convert both arguments to Unicode - interpreting them as being unequal
                                              if channelname not in favourites and channelid:
2019-04-20 08:51:02.952 T:123145375801344 WARNING: [xbmcswift2] No converter provided, unicode should be used, but returning str value
2019-04-20 08:52:03.908 T:123145377947648 WARNING: Previous line repeats 186 times.
2019-04-20 08:52:03.908 T:123145377947648  NOTICE: virtual bool CAESinkDARWINOSX::Initialize(AEAudioFormat &, std:Confusedtring &): Opening default device Built-in Output
2019-04-20 08:53:05.153 T:123145374191616 WARNING: DARWINOSX: underflow (0 vs 4096 bytes)
2019-04-20 08:53:22.934 T:123145373655040   ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                             - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                            Error Type: <class 'locale.Error'>
                                            Error Contents: unsupported locale setting
                                            Traceback (most recent call last):
                                              File "/Users/USER/Library/Application Support/Kodi/addons/plugin.video.iptv.recorder/contextEPG.py", line 44, in <module>
                                                locale.setlocale(locale.LC_TIME, language)
                                              File "/Users/Shared/jenkins/workspace/OSX-64/tools/depends/xbmc-depends/macosx10.13_x86_64-target-release/lib/python2.7/locale.py", line 581, in setlocale
                                            Error: unsupported locale setting
                                            -->End of Python script error report<--
2019-04-20 08:53:22.940 T:123145377947648  NOTICE: virtual bool CAESinkDARWINOSX::Initialize(AEAudioFormat &, std:Confusedtring &): Opening default device Built-in Output
2019-04-20 08:54:28.637 T:123145374728192 WARNING: DARWINOSX: underflow (0 vs 4096 bytes)
 

It looks like this is an osx problem with getting the correct locale.
https://stackoverflow.com/questions/1629...ems-on-osx

You'll have to do a bit of remote debugging for me.

Add a
log(language)
at line 44 in
"addons\plugin.video.iptv.recorder\contextEPG.py"
so it looks like this

fullFormat = get_format()
language = xbmc.getLanguage()
log(language)
locale.setlocale(locale.LC_TIME, language)

Tell me what that is and what it should be.

Then try something like setting the language to whatever yours should be like
fullFormat = get_format()
language = xbmc.getLanguage()
language = "en_US.UTF-8"
locale.setlocale(locale.LC_TIME, language)

If that works I'm not sure what a good generic solution is. 

I have added the log. Not sure if I look at the correct loge entry but I assume that I need to use 'utf-8' as languange. I will give a try

2019-04-20 10:00:35.214 T:123145496465408   ERROR: {'confidence': 0.99, 'language': '', 'encoding': 'utf-8'}
(2019-04-20, 10:06)kaner007 Wrote: [ -> ]
(2019-04-20, 09:21)primaeval Wrote: [ -> ]
(2019-04-20, 08:58)kaner007 Wrote: [ -> ]If I'm in ITPV Simple Client and want to "Schedule ITPV Recorder" on a channel an error comes up ITPV Recorder not found.

The error log looks like: I marked the errors in amber which I think are the relevant once from the action done...

2019-04-20 08:50:59.455 T:123145373655040 WARNING: [xbmcswift2] No converter provided, unicode should be used, but returning str value
2019-04-20 08:51:01.076 T:123145375264768 WARNING: Previous line repeats 187 times.
2019-04-20 08:51:01.076 T:123145375264768  NOTICE: [xbmcswift2] Request for "/channel/Arte.de/Arte+FHD+DE" matches rule for function "channel"
2019-04-20 08:51:01.087 T:123145375264768 WARNING: [xbmcswift2] No converter provided, unicode should be used, but returning str value
2019-04-20 08:51:02.831 T:123145375801344 WARNING: Previous line repeats 5 times.
2019-04-20 08:51:02.831 T:123145375801344  NOTICE: [xbmcswift2] Request for "/group/LIVE%3A+Germany" matches rule for function "group"
2019-04-20 08:51:02.832 T:123145375801344 WARNING: [xbmcswift2] No converter provided, unicode should be used, but returning str value
2019-04-20 08:51:02.951 T:123145375801344 WARNING: Previous line repeats 69 times.
2019-04-20 08:51:02.951 T:123145375801344   ERROR: /Users/USER/Library/Application Support/Kodi/addons/plugin.video.iptv.recorder/main.py:2330: UnicodeWarning: Unicode equal comparison failed to convert both arguments to Unicode - interpreting them as being unequal
                                              if channelname not in favourites and channelid:
2019-04-20 08:51:02.952 T:123145375801344 WARNING: [xbmcswift2] No converter provided, unicode should be used, but returning str value
2019-04-20 08:52:03.908 T:123145377947648 WARNING: Previous line repeats 186 times.
2019-04-20 08:52:03.908 T:123145377947648  NOTICE: virtual bool CAESinkDARWINOSX::Initialize(AEAudioFormat &, std:Confusedtring &): Opening default device Built-in Output
2019-04-20 08:53:05.153 T:123145374191616 WARNING: DARWINOSX: underflow (0 vs 4096 bytes)
2019-04-20 08:53:22.934 T:123145373655040   ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                             - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                            Error Type: <class 'locale.Error'>
                                            Error Contents: unsupported locale setting
                                            Traceback (most recent call last):
                                              File "/Users/USER/Library/Application Support/Kodi/addons/plugin.video.iptv.recorder/contextEPG.py", line 44, in <module>
                                                locale.setlocale(locale.LC_TIME, language)
                                              File "/Users/Shared/jenkins/workspace/OSX-64/tools/depends/xbmc-depends/macosx10.13_x86_64-target-release/lib/python2.7/locale.py", line 581, in setlocale
                                            Error: unsupported locale setting
                                            -->End of Python script error report<--
2019-04-20 08:53:22.940 T:123145377947648  NOTICE: virtual bool CAESinkDARWINOSX::Initialize(AEAudioFormat &, std:Confusedtring &): Opening default device Built-in Output
2019-04-20 08:54:28.637 T:123145374728192 WARNING: DARWINOSX: underflow (0 vs 4096 bytes)

It looks like this is an osx problem with getting the correct locale.
https://stackoverflow.com/questions/1629...ems-on-osx

You'll have to do a bit of remote debugging for me.

Add a
log(language)
at line 44 in
"addons\plugin.video.iptv.recorder\contextEPG.py"
so it looks like this

fullFormat = get_format()
language = xbmc.getLanguage()
log(language)
locale.setlocale(locale.LC_TIME, language)

Tell me what that is and what it should be.

Then try something like setting the language to whatever yours should be like
fullFormat = get_format()
language = xbmc.getLanguage()
language = "en_US.UTF-8"
locale.setlocale(locale.LC_TIME, language)

If that works I'm not sure what a good generic solution is.   

I have added the log. Not sure if I look at the correct loge entry but I assume that I need to use 'utf-8' as languange. I will give a try

2019-04-20 10:00:35.214 T:123145496465408   ERROR: {'confidence': 0.99, 'language': '', 'encoding': 'utf-8'}  

That message is from the function that reads in the m3u playlist.

To make the new message stand out a bit change it to something like:
log(("LANGUAGE>>>", language))
(2019-04-20, 10:10)primaeval Wrote: [ -> ]
(2019-04-20, 10:06)kaner007 Wrote: [ -> ]
(2019-04-20, 09:21)primaeval Wrote: [ -> ]It looks like this is an osx problem with getting the correct locale.
https://stackoverflow.com/questions/1629...ems-on-osx

You'll have to do a bit of remote debugging for me.

Add a
log(language)
at line 44 in
"addons\plugin.video.iptv.recorder\contextEPG.py"
so it looks like this

fullFormat = get_format()
language = xbmc.getLanguage()
log(language)
locale.setlocale(locale.LC_TIME, language)

Tell me what that is and what it should be.

Then try something like setting the language to whatever yours should be like
fullFormat = get_format()
language = xbmc.getLanguage()
language = "en_US.UTF-8"
locale.setlocale(locale.LC_TIME, language)

If that works I'm not sure what a good generic solution is.   

I have added the log. Not sure if I look at the correct loge entry but I assume that I need to use 'utf-8' as languange. I will give a try

2019-04-20 10:00:35.214 T:123145496465408   ERROR: {'confidence': 0.99, 'language': '', 'encoding': 'utf-8'}   

That message is from the function that reads in the m3u playlist.

To make the new message stand out a bit change it to something like:
log(("LANGUAGE>>>", language))
 
this is the message I get: 

2019-04-20 10:34:03.717 T:123145322323968   ERROR: ('LANGUAGE>>>', 'English')

I changed to: 

fullFormat = get_format()
language = xbmc.getLanguage()
language = "English"
locale.setlocale(locale.LC_TIME, language)

But still if I want to record a channel "Schedule IPTV Recorder" in PVR ITPV Simple Client > Guide it gives me the error "ITPV Recorder error"

Log Entry:


2019-04-20 10:44:50.716 T:123145367429120   ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                             - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                            Error Type: <class 'locale.Error'>
                                            Error Contents: unsupported locale setting
                                            Traceback (most recent call last):
                                              File "/Users/User/Library/Application Support/Kodi/addons/plugin.video.iptv.recorder/contextEPG.py", line 45, in <module>
                                                locale.setlocale(locale.LC_TIME, language)
                                              File "/Users/Shared/jenkins/workspace/OSX-64/tools/depends/xbmc-depends/macosx10.13_x86_64-target-release/lib/python2.7/locale.py", line 581, in setlocale
                                            Error: unsupported locale setting
                                            -->End of Python script error report<--
(2019-04-20, 10:49)kaner007 Wrote: [ -> ]
(2019-04-20, 10:10)primaeval Wrote: [ -> ]
(2019-04-20, 10:06)kaner007 Wrote: [ -> ]I have added the log. Not sure if I look at the correct loge entry but I assume that I need to use 'utf-8' as languange. I will give a try

2019-04-20 10:00:35.214 T:123145496465408   ERROR: {'confidence': 0.99, 'language': '', 'encoding': 'utf-8'}   

That message is from the function that reads in the m3u playlist.

To make the new message stand out a bit change it to something like:
log(("LANGUAGE>>>", language))
 
this is the message I get: 

2019-04-20 10:34:03.717 T:123145322323968   ERROR: ('LANGUAGE>>>', 'English')

I changed to: 

fullFormat = get_format()
language = xbmc.getLanguage()
language = "English"
locale.setlocale(locale.LC_TIME, language)

But still if I want to record a channel "Schedule IPTV Recorder" in PVR ITPV Simple Client > Guide it gives me the error "ITPV Recorder error"

Log Entry:


2019-04-20 10:44:50.716 T:123145367429120   ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                             - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                            Error Type: <class 'locale.Error'>
                                            Error Contents: unsupported locale setting
                                            Traceback (most recent call last):
                                              File "/Users/User/Library/Application Support/Kodi/addons/plugin.video.iptv.recorder/contextEPG.py", line 45, in <module>
                                                locale.setlocale(locale.LC_TIME, language)
                                              File "/Users/Shared/jenkins/workspace/OSX-64/tools/depends/xbmc-depends/macosx10.13_x86_64-target-release/lib/python2.7/locale.py", line 581, in setlocale
                                            Error: unsupported locale setting
                                            -->End of Python script error report<-- 
It doesn't like English as the locale for some osx reason.

Look in the file
"system\Python\Lib\locale.py"
in the locale_alias table for the closest locale to yours.
Try using that as the language argument for locale.setlocale
@kaner007 - Super repo is a banned addon (wiki) repo, and references to it are not allowed here under our forum rules (wiki).

Devices with items from that list installed are not eligible for support here.