![]() |
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 - primaeval - 2018-04-16 Last attempt for now in 0.0.30. If reading the xml header encoding doesn't work it will use chardet to guess the encoding. <?xml encoding="" I'm not convinced chardet knows what it is doing as it detected utf8 as ascii but the rest of the addon still managed to output some Korean programs correctly. RE: IPTV Recorder - wigee - 2018-04-16 here's the first line of my XML file <tv generator-info-name="WebGrab+Plus/w MDB & REX Postprocess -- version V2.0.4 -- generator-info-url="http://www.webgrabplus.com"> the next line is the first channel id RE: IPTV Recorder - primaeval - 2018-04-16 Good. It shows the difference between c and python. c takes 10 times as long to program as python but is 10 times quicker to run. If you can't find an equivalent python library in c, make that 100 times longer to write. RE: IPTV Recorder - primaeval - 2018-04-16 (2018-04-16, 15:02)wigee Wrote: here's the first line of my XML fileCould you post of pm me a link to the file. Now I've spent all this time on it I'd like to actually know what the encoding is and how they have implemented it. It might be a BOM or just luck. RE: IPTV Recorder - primaeval - 2018-04-16 Thanks for the pm. The xmltv is a standard webgrab file with utf8 encoding and a utf8 BOM too. The first line does include the encoding: Code: <?xml version="1.0" encoding="UTF-8"?> I don't know why the program title error happened earlier as all the <title>'s are on one line and none are empty. Let me know if anything else goes wrong. RE: IPTV Recorder - primaeval - 2018-04-16 0.0.31 does a case insensitive match on channels with missing ids. I'm staring to see some real lazy-arse xmltv/m3u combinations out there. ![]() This should find a few more playable channels in your epg. RE: IPTV Recorder - hotshot2k3 - 2018-04-17 Can anything be done about the naming of recordings in the future? For example this is the file name that gets auto generated: CBS+-+Living+Biblically%3A+Show+Hospitality+%5BCOLOR+grey%5D2018-04-16+21%3A30%3A00+-+2018-04-16+22%3A00%3A00%5B%2FCOLOR%5D Thanks for the hard work IPTV Recorder - ed_davidson01 - 2018-04-17 (2018-04-17, 03:40)hotshot2k3 Wrote: Can anything be done about the naming of recordings in the future? What’s wrong with it? [emoji3] RE: IPTV Recorder - primaeval - 2018-04-17 (2018-04-17, 03:40)hotshot2k3 Wrote: Can anything be done about the naming of recordings in the future?I can do anything I like with it. You can too. ![]() What do you want it to look like? The reason it is like that is because Windows has a hard time with non-ascii characters and special file characters have to be encoded (< > : " / \ | ? *). The file name is url encoded with pluses for spaces. Luckily Kodi can translate url encoded filenames without any addon intervention. To make it unique the channel name, title, start and stop times have to be included. The colors make it easy to read in the addon or Kodi's Recordings folder. There is an easily readable json file with more meta info in the Recordings folder. If you want to rename it just load that data into python and use that. If you come up with a workable alternative that meets all the criteria above I'll add it in for you. RE: IPTV Recorder - primaeval - 2018-04-17 Try 0.0.32 for a start. There is an option for Plain File Names in Settings \ Jobs and Rules. That will create file names like this: Code: 5USA - Law %26 Order - 2018-04-17 11-15 - 12-10.ts RE: IPTV Recorder - bladerunner82 - 2018-04-17 I am a noob, but i hope i can Test it out ![]() First,.. One question, i downloadet the ffmpeg zip File for Android from your Link in the Start post, can i install it in kodi like any other zip File or have i to unzip it first, and if so in wich folder i have to install it ? sorry for that noob question RE: IPTV Recorder - primaeval - 2018-04-17 (2018-04-17, 13:02)bladerunner82 Wrote: I am a noob, but i hope i can Test it outHi. You need to extract the ffmpeg program from the zip file and put it somewhere where you can browse to it in Settings \ Jobs and Rules \ ffmpeg exe So if you downloaded the zip in Android to the Downloads folder just extract it there and point "ffmpeg exe" to that extracted ffmpeg file. The first time IPTV Recorder tries to record on Android it will try to copy ffmpeg to the kodi system data storage path so that it can be run from Kodi. /data/data/org.xbmc.kodi/ffmpeg Android has restrictions on where you can run programs from for security reasons. RE: IPTV Recorder - hotshot2k3 - 2018-04-17 Here is the XMLTV data:
The TVDB scaper needs a name like this: The Game S05E09 ( <title lang="en">The Game</title> <episode-num system="common">S05E09</episode-num> ) Maybe something like a TVDB naming option in settings. TVDB also needs a folder to be made in order to scrape. So if a Folder can be made for the recording based of the title and then the recording is named according to TVDB standards it would help Kodi keep organized Hmm this can become complicated, maybe there could a question when you schedule a recording asking if this is a TV show or a Movie RE: IPTV Recorder - primaeval - 2018-04-17 If you want to pull the recordings in to the Kodi library it would be better with an nfo file. I've been using the xmltv_ns episode number as the actual season and episode numbers. Are you sure they are 0 based and not 1 based like the common numbers? How do they deal with specials? RE: IPTV Recorder - hotshot2k3 - 2018-04-17 TVDB uses S00 for specials I am not sure if the xmltv from zap2it uses that that episode naming https://kodi.wiki/view/Video_library/Naming_files/TV_shows#TV_Show_Folder |