Kodi Community Forum
Release IPTV Recorder - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: Add-on Support (https://forum.kodi.tv/forumdisplay.php?fid=27)
+---- Forum: Video Add-ons (https://forum.kodi.tv/forumdisplay.php?fid=154)
+---- Thread: Release IPTV Recorder (/showthread.php?tid=329991)



RE: IPTV Recorder - dzejms - 2018-05-29

It loads the EPG, but does not record Sad

Code:
12:37:08.722 T:123145412362240  NOTICE: [xbmcswift2] Request for "/channel/TVN+Fabula+PL/TVN+Fabu%C5%82a+FHD" matches rule for function "channel"
12:37:08.748 T:123145412362240 WARNING: [xbmcswift2] No converter provided, unicode should be used, but returning str value
12:37:10.009 T:123145407533056 WARNING: Previous line repeats 576 times.

I'm happy to go back to ASCII titles.


RE: IPTV Recorder - primaeval - 2018-05-29

Try 0.0.62.

I've added a Setting:
Jobs and Rules \ Url Encode ("|*/<>\?)

Turn that off and see if it works.

Don't come crying to me if it records somewhere stupid. Wink

Windows is a pain in the arse when it comes to unicode.


RE: IPTV Recorder - dzejms - 2018-05-29

It now creates a file with / instead of :

Code:
Big Cats/ The Science of - BBC Earth HD - 2018-05-29 12-00.json

and does not record it. Please drop it. I can live with that and the one below.

The non-ascii channels are not throwing errors, but still are not recorded.


RE: IPTV Recorder - primaeval - 2018-05-29

It's probably not a good idea to allow file system characters even on non-windows systems.
I should probably remove that setting.

I'll see if I can find out what is going wrong with the channel ids later.
If you've got the time and skills see if you can spot where the channelid is going wrong in main.py.
It probably needs a .decode("utf8") or .encode("utf8") somewhere.


RE: IPTV Recorder - dzejms - 2018-05-29

(2018-05-29, 14:16)primaeval Wrote: It's probably not a good idea to allow file system characters even on non-windows systems.
I should probably remove that setting.

I'll see if I can find out what is going wrong with the channel ids later.
If you've got the time and skills see if you can spot where the channelid is going wrong in main.py.
It probably needs a .decode("utf8") or .encode("utf8") somewhere.
Sure. I can have a look thanks.


RE: IPTV Recorder - dzejms - 2018-06-01

Having more issues with file system characters. Also „/„ causes issues. I had to use replace option to get the recording going for some of the programs.


RE: IPTV Recorder - primaeval - 2018-06-01

It's safer if I just take that option out. Is that going to cause you any problems?


RE: IPTV Recorder - primaeval - 2018-06-01

I think I've fixed the problem with utf8 tvg-ids in 0.0.64.
Could you have a check for me.
I just used a channel id and name of BBC1é to test everything.

There were some other problems in Search due to the change to listing by channel name.


RE: IPTV Recorder - princesabt821 - 2018-06-05

Hey!

i use a wetek core with libreelec 8.2.5 which ffmpeg version i need and whre i install thatHuh

big, big thankz Love


RE: IPTV Recorder - primaeval - 2018-06-05

I think the LibreELEC ffmpeg should be in
/usr/bin/ffmpeg

It is probably good enough for most stream types.
I'm not sure if it can deal with smb drives though.


RE: IPTV Recorder - kt666 - 2018-06-10

Hi,
first of all, Thank you very much for this addon!!! I don't watch much TV and usually there's only one tv show that i like. Of course, i usually not at home or doing something else. Because of it, i tried tvheadend and myth, while was a real pain in the a** with all configs. All that i needed was your add on!!

Right now i am having a error with the new version. Not sure in which one started (version 0.58 is working fine now), but when i tried the version 0.64, i cannot record anything. The usual Record Once produced nothing, no job, nothing. And the record always (using the name of the program) was being show at the maintence/rules, but also nothing happens. 

No matter which channel (and of course, its working when i go directly to the channel, to watch tv), when i select something to record, this error can be found at the log:

16:24:14.372 T:140429982406400  NOTICE: [xbmcswift2] Request for "/record_once/1578/VOX/VOX" matches rule for function "record_once"
16:24:14.378 T:140429982406400 WARNING: [xbmcswift2] No converter provided, unicode should be used, but returning str value
16:24:14.381 T:140428904224512   ERROR: No url for VOX

After the downgrade to version 0.58, its working normal..  I am using Fedora 28 64 bits amd Kodi 17.6


RE: IPTV Recorder - primaeval - 2018-06-10

Hi. Thanks.

I probably haven't got the migration code right.

If you are on Fedora I presume you know your way around a linux filesystem.
See if it works if you rename or move the addon_data folder and effectively start fresh.
userdata\addon_data\plugin.video.iptv.recorder
A NUKE should work too.


RE: IPTV Recorder - dzejms - 2018-06-10

(2018-06-10, 17:28)kt666 Wrote: Hi,
first of all, Thank you very much for this addon!!! I don't watch much TV and usually there's only one tv show that i like. Of course, i usually not at home or doing something else. Because of it, i tried tvheadend and myth, while was a real pain in the a** with all configs. All that i needed was your add on!!

Right now i am having a error with the new version. Not sure in which one started (version 0.58 is working fine now), but when i tried the version 0.64, i cannot record anything. The usual Record Once produced nothing, no job, nothing. And the record always (using the name of the program) was being show at the maintence/rules, but also nothing happens. 

No matter which channel (and of course, its working when i go directly to the channel, to watch tv), when i select something to record, this error can be found at the log:

16:24:14.372 T:140429982406400  NOTICE: [xbmcswift2] Request for "/record_once/1578/VOX/VOX" matches rule for function "record_once"
16:24:14.378 T:140429982406400 WARNING: [xbmcswift2] No converter provided, unicode should be used, but returning str value
16:24:14.381 T:140428904224512   ERROR: No url for VOX

After the downgrade to version 0.58, its working normal..  I am using Fedora 28 64 bits amd Kodi 17.6

It looks like your xml file is missing tvg-name=„channel name”. Since i’ve added it to my xml i’ve no longers any issues with recording.

Can you paste part of your xml file? You cam remove user and pass if it has any.


RE: IPTV Recorder - kt666 - 2018-06-10

(2018-06-10, 17:40)dzejms Wrote: It looks like your xml file is missing tvg-name=„channel name”. Since i’ve added it to my xml i’ve no longers any issues with recording.
Can you paste part of your xml file? You cam remove user and pass if it has any. 
 Hi,

Thanks, but isnt missing.. Here is a small part of it (its 59 channels, so no need to put everything, i guess)
#EXTM3U
#EXTINF:-1,(01) tvg-id="Das Erste" tvg-name="Das Erste", Das Erste
rtp://@239.35.10.4:10000

#EXTINF:-1,(02) tvg-id="ZDF" tvg-name="Zdf", ZDF
rtp://@239.35.10.5:10000

#EXTINF:-1,(03) tvg-id="SAT.1" tvg-name="Sat.1", SAT.1
rtp://@239.35.20.20:10000

#EXTINF:-1,(04) tvg-id="SAT.1 Gold" tvg-name="Sat.1 Gold", SAT.1 Gold
rtp://@239.35.20.24:10000

#EXTINF:-1,(05) tvg-id="RTL" tvg-name="Rtl", RTL
rtp://@239.35.20.10:10000

#EXTINF:-1,(06) tvg-id="RTL II" tvg-name="Rtl Ii", RTL II
rtp://@239.35.20.22:10000


RE: IPTV Recorder - primaeval - 2018-06-10

All those different cases for the ids and names look problematic to me.
Do the tvg-id values exactly match the xmltv channel ids including the case?

I haven't seen that #EXTINF:-1,(01) style used before either.
The regex matches the name after the last comma but it might get confused by the first comma.

Does it look like all the channels are getting through to the database from the xmltv and m3u files?
You can't pm yet as you haven't made 10 posts but you can post a link here if there are no passwords in it.

Have a look in the database with something like this if you can't solve it.
https://sqlitebrowser.org/

I wonder if the rtp links are causing a problem too.
I might have assumed http somewhere in the code.