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.
Hi all,
I try to post here withou opening a new thread.
I've setup IPTVRecorder on my KODI setup on qnap nas, I receive an error trying to schedule a recorder. The error is "error parsing date".
I try to search in this thread but I was not able to find any reference.
Could someone help me to solve this issue ?
Thanks
i find logs into   Android/data/org.xbmc.kodi/files/.kodi/temp/

i try to use iptv recorder with kodi on my shield tv but i have alwways this error message hen i try to record : "FFMPEG EXE NOT FOUND" , i have try with different ffmpeg version arm-v7a but it did not works....i have no access to /data/data folder , how is it copied to this folder ?

thanks for your help
(2020-03-28, 12:23)ThePsy Wrote: [ -> ]
(2020-03-19, 23:01)_MarSs_ Wrote: [ -> ]Hello,
can anybody help me with two problems.
1. IPTV Recorder addon on OSMC on Raspbery Pi 3. Locale set to English US.
All works decent but if the EPG program has a unicode character it crushes like this: 
LOG

2. The same config but Locale set to Polish.
Recording does not work at all:
Log PL

I would appreciate any help.

I get the same error. The problem is that when the program title you try to record contain special characters like european characters, ex: éèîàäüö and others.
It would be nice if someone could provide a solution for this. 
I've made a workaround for Polish language EPG.
(2020-04-02, 17:11)Lorenzo101 Wrote: [ -> ]Hello,
I've this error in my log when i try to record (shield tv using kodi leia) :

ange(128)
-->End of Python script error report<--][/syntax]

Thanks for your help resolving this issue
For those who have errors when trying to record from EPG, but their language contains special characters here's my workaround:
Edit File "/home/osmc/.kodi/addons/plugin.video.iptv.recorder/main.py"
In line 31 insert this:
Code:


reguly ={
       u"ę": "e",
       u"ó": "o",
       u"ą": "a",
       u"ś": "s",
       u"ł": "l",
       u"ż": "z",
       u"ź": "z",
       u"ć": "c",
       u"ń": "n",
       u"Ą": "A",
       u"Ć": "C",
       u"Ę": "E",
       u"Ł": "L",
       u"Ń": "N",
       u"Ó": "O",
       u"Ś": "S",
       u"Ż": "Z",
       u"Ź": "Z"
}

def remove_accents(do_zmiany):
    wynik = []
    for znak in range(len(do_zmiany)):
        if reguly.get(do_zmiany[znak]):
            wynik.append(reguly[do_zmiany[znak]])
        else:
            wynik.append(do_zmiany[znak])
    return "".join(wynik)
    
of course if Your language is diferent than Polish than change the characters in table reguly.

In line about 575 in the function def record_epg(channelname, name, start, stop):
after line  name = name.decode("utf8")
insert new line: 
Code:

    name = remove_accents(name)

it shoul be like this:
Code:

def record_epg(channelname, name, start, stop):

    channelname = channelname.decode("utf8")
    name = name.decode("utf8")
    name = remove_accents(name) 
    start = get_utc_from_string(start.decode("utf8"))
    stop = get_utc_from_string(stop.decode("utf8"))

    log("Scheduling record for '{}: {} ({} to {})'".format(channelname, name, start, stop))

    do_refresh = False
    watch = False
    remind = False
    channelid = None
    threading.Thread(target=record_once_thread,args=[None, do_refresh, watch, remind, channelid, channelname, start, stop, False, name]).start()

Save file, reboot and recording from EPG is working fine!
It is just impossible to use IPTV recorder on non-rooted Shield TV...i have Always error ffmpeg not found, it seems to be very difficult to install ffmpeg , is there any person who give the right method to install ffmpeg on Shield TV, any tuto exist?
Thanks for any help
(2020-04-02, 22:31)_MarSs_ Wrote: [ -> ]
(2020-04-02, 17:11)Lorenzo101 Wrote: [ -> ]Hello,
I've this error in my log when i try to record (shield tv using kodi leia) :

ange(128)
-->End of Python script error report<--][/syntax]

Thanks for your help resolving this issue
For those who have errors when trying to record from EPG, but their language contains special characters here's my workaround:
Edit File "/home/osmc/.kodi/addons/plugin.video.iptv.recorder/main.py"
In line 31 insert this:
Code:


reguly ={
       u"ę": "e",
       u"ó": "o",
       u"ą": "a",
       u"ś": "s",
       u"ł": "l",
       u"ż": "z",
       u"ź": "z",
       u"ć": "c",
       u"ń": "n",
       u"Ą": "A",
       u"Ć": "C",
       u"Ę": "E",
       u"Ł": "L",
       u"Ń": "N",
       u"Ó": "O",
       u"Ś": "S",
       u"Ż": "Z",
       u"Ź": "Z"
}

def remove_accents(do_zmiany):
    wynik = []
    for znak in range(len(do_zmiany)):
        if reguly.get(do_zmiany[znak]):
            wynik.append(reguly[do_zmiany[znak]])
        else:
            wynik.append(do_zmiany[znak])
    return "".join(wynik)
    
of course if Your language is diferent than Polish than change the characters in table reguly.

In line about 575 in the function def record_epg(channelname, name, start, stop):
after line  name = name.decode("utf8")
insert new line: 
Code:

    name = remove_accents(name)

it shoul be like this:
Code:

def record_epg(channelname, name, start, stop):

    channelname = channelname.decode("utf8")
    name = name.decode("utf8")
    name = remove_accents(name) 
    start = get_utc_from_string(start.decode("utf8"))
    stop = get_utc_from_string(stop.decode("utf8"))

    log("Scheduling record for '{}: {} ({} to {})'".format(channelname, name, start, stop))

    do_refresh = False
    watch = False
    remind = False
    channelid = None
    threading.Thread(target=record_once_thread,args=[None, do_refresh, watch, remind, channelid, channelname, start, stop, False, name]).start()

Save file, reboot and recording from EPG is working fine! 
Thank you a lot for code. I got it working with French characters.
I need help to configure FFMPEG on my non-rooted Shield TV , thanks
Hello,

I just found this amazing addon but I stuck on FFmpeg step. I have Android TV OS 9 (Pie) device with armeabi-v7a, armeabi.

1.Which FFmpeg to download?
2.Do I need to to anything with it or I can just throw it in Downloads folder and redirect IPTV Recorder to it?


Thanks!
@primaeval

Since Kodi 19 now has catchup built in to the Simple PVR client, can we get a primeval to work for 19? There are several Python dependencies that fail, ie, xmbcswift2

Thanks for all your hard work.
@techjohnny , I think  @primaeval  walked away long time. hopefully someone will adopt all his great addon. what a shame he walked away. trust me he is very rare gem
Hi, I currently can only use the "record and watch" option if I change my time zone. I noticed when I first hit "Record and Play" it would actually schedule it with the Coordinated Universal Time Zone and I am currently Pacific Time so I had to change my timezone to the Coordinated Universal Time Zone in windows. Any way I could make IPTV Recorder use my normal time zone? I am currently on Windows 10 on Kodi 18.6
Can someone assist me with step where I need to configure Ffmpeg?

I have absolutely no idea what to download, does it need to be installed, where it should be placed?

On Android we install apps, Ffmpeg is not an app right?

I use Arctic Zephyr 2 skin and record button is greyed out, I want to make it usable with this insanely usable IPTV recorder Add-on!

1.Does recording require 2nd connection?
2.Can this Add-on record in background?
3.Can I record catch-up?
4.Can I schedule recording?

Thanks!
So this not working with libreelec?