Guest - Testers are needed for the reworked CDateTime core component. See... https://forum.kodi.tv/showthread.php?tid=378981 (September 29) x
  • 1
  • 21
  • 22
  • 23(current)
  • 24
  • 25
  • 90
Release IPTV Recorder
Hi, in the meantime I've restarted my pc. And now timer is working fine with my german set. Very strange.
But many thanks again for your help and the excellent addon.
Reply
(2018-07-23, 17:24)rb01 Wrote: Hi, in the meantime I've restarted my pc. And now timer is working fine with my german set. Very strange.
But many thanks again for your help and the excellent addon.
 Good.  Thanks.

You have to be a bit forceful shutting down Kodi if there are ffmpeg recording jobs running in the background.
Reply
Hi,

Trying to get your addon to run on Windows 10 with Kodi 17.6 Krypton. Have downloaded ffmpeg and pointed to exe-file. Also checked other settings in your addon. It will start to initialize, but before it is finished it throws an error and asks to check log files.

This is what the log file says:

19:35:18.172 T:8328   ERROR: [plugin.video.iptv.recorder] service started...
19:35:18.388 T:720  NOTICE: AddOnLog: PVR IPTV Simple Client: Loaded 11050 channels.
19:35:19.042 T:5500 WARNING: [xbmcswift2] No converter provided, unicode should be used, but returning str value
19:35:19.064 T:5500  NOTICE: [xbmcswift2] Request for "/renew_jobs" matches rule for function "renew_jobs"
19:35:37.921 T:1944  NOTICE: EPG::CEpgContainer::Start - EPG thread started
19:36:23.837 T:7176  NOTICE: AddOnLog: PVR IPTV Simple Client: EPG Loaded.
19:37:18.833 T:6716 WARNING: [xbmcswift2] No converter provided, unicode should be used, but returning str value
19:37:18.854 T:6716  NOTICE: [xbmcswift2] Request for "/full_service" matches rule for function "full_service"
19:37:18.955 T:6716 WARNING: [xbmcswift2] No converter provided, unicode should be used, but returning str value
19:37:56.391 T:6716 WARNING: Previous line repeats 22102 times.
19:37:56.391 T:6716   ERROR: EXCEPTION: Unknown exception thrown from the call "read"
19:37:56.454 T:6716   ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                             - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                            Error Type: <type 'exceptions.RuntimeError'>
                                            Error Contents: Unknown exception thrown from the call "read"
                                            Traceback (most recent call last):
                                              File "C:\Users\Gaspode\AppData\Roaming\Kodi\addons\plugin.video.iptv.recorder\main.py", line 2909, in <module>
                                                plugin.run()
                                              File "C:\Users\Gaspode\AppData\Roaming\Kodi\addons\script.module.xbmcswift2\lib\xbmcswift2\plugin.py", line 332, in run
                                                items = self._dispatch(self.request.path)
                                              File "C:\Users\Gaspode\AppData\Roaming\Kodi\addons\script.module.xbmcswift2\lib\xbmcswift2\plugin.py", line 306, in _dispatch
                                                listitems = view_func(**items)
                                              File "C:\Users\Gaspode\AppData\Roaming\Kodi\addons\plugin.video.iptv.recorder\main.py", line 2102, in full_service
                                                xmltv()
                                              File "C:\Users\Gaspode\AppData\Roaming\Kodi\addons\plugin.video.iptv.recorder\main.py", line 2471, in xmltv
                                                data = f.read()
                                            RuntimeError: Unknown exception thrown from the call "read"
                                            -->End of Python script error report<--
19:42:13.256 T:7176  NOTICE: AddOnLog: PVR IPTV Simple Client: EPG Loaded.
20:19:22.922 T:8708  NOTICE: Previous line repeats 6 times.
20:19:22.922 T:8708   ERROR: XFILE::CDirectory::GetDirectory - Error getting
20:19:24.014 T:9900   ERROR: Previous line repeats 6 times.
20:19:24.014 T:9900 WARNING: [xbmcswift2] No converter provided, unicode should be used, but returning str value
20:19:24.050 T:9900  NOTICE: [xbmcswift2] Request for "/" matches rule for function "index"
20:19:24.050 T:9900 WARNING: [xbmcswift2] No converter provided, unicode should be used, but returning str value
20:19:28.822 T:7756 WARNING: Previous line repeats 2 times.
20:19:28.822 T:7756  NOTICE: [xbmcswift2] Request for "/groups" matches rule for function "groups"
20:19:28.837 T:7756 WARNING: [xbmcswift2] No converter provided, unicode should be used, but returning str value
20:19:31.421 T:6760 WARNING: Previous line repeats 1 times.
20:19:31.421 T:6760  NOTICE: [xbmcswift2] Request for "/group/All+Channels" matches rule for function "group"
20:19:31.422 T:6760 WARNING: [xbmcswift2] No converter provided, unicode should be used, but returning str value
20:19:32.888 T:7492 WARNING: Previous line repeats 2 times.
20:19:32.888 T:7492   ERROR: XFILE::CDirectory::GetDirectory - Error getting plugin://plugin.video.iptv.recorder/groups
20:19:32.891 T:7492   ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.video.iptv.recorder/groups) failed
20:19:33.258 T:6764 WARNING: [xbmcswift2] No converter provided, unicode should be used, but returning str value
20:19:33.294 T:6764  NOTICE: [xbmcswift2] Request for "/groups" matches rule for function "groups"
20:19:59.286 T:7492  NOTICE: Storing total System Uptime
20:19:59.286 T:7492  NOTICE: Saving settings
20:19:59.295 T:7492  NOTICE: Saving skin settings
20:19:59.300 T:7492  NOTICE: stop all
20:19:59.300 T:7492  NOTICE: stop player
20:19:59.300 T:7492  NOTICE: ES: Stopping event server
20:19:59.300 T:7492  NOTICE: stopping upnp
20:19:59.454 T:7492  NOTICE: CWebServer[8080]: Stopped
20:19:59.920 T:8568  NOTICE: ES: UDP Event server stopped
20:20:00.118 T:7492  NOTICE: clean cached files!
20:20:00.136 T:7492  NOTICE: closing down remote control service
20:20:00.136 T:7492  NOTICE: stopped
20:20:00.337 T:7492  NOTICE: destroy
20:20:00.337 T:7492  NOTICE: unload skin
20:20:00.359 T:7492 WARNING: CGUITextureManager::Cleanup: Having to cleanup texture windows/pvr/epg_progress.png
20:20:00.612 T:7492  NOTICE: unload sections
20:20:00.614 T:7492  NOTICE: special://profile/ is mapped to: special://masterprofile/
20:20:00.632 T:7492  NOTICE: PVRManager - stopping
20:20:01.706 T:7492  NOTICE: application stopped...

Any help would be appreciated.
Reply
It can't read your xmltv file.
If you have pointed to the correct xmltv file in Settings\Data see if it has copied it correctly to
userdata\addon_data\plugin.video.iptv.recorder\xmltv1.xml
Reply
Hi,
I'm confused. I downloaded the Android link you posted for the ffmpeg, what is the correct exe? There is loads in that folder, which one do I point it to in the settings? Doesn't help that there is no video guide on how to do this either.
Reply
(2018-08-23, 02:48)Samboy08 Wrote: Hi,
I'm confused. I downloaded the Android link you posted for the ffmpeg, what is the correct exe? There is loads in that folder, which one do I point it to in the settings? Doesn't help that there is no video guide on how to do this either.
 Android has lots of different architectures, hence there are many different builds of ffmpeg.
You might be able to use this to work out what your device's architecture is:
https://play.google.com/store/apps/detai....droidinfo
Look at System \ Processor.

You'll have to brush up on your reading and Google-Fu. I'm not a YouTuber.

Watch out for folder permissions on your device for the recordings folder.
Don't fill in the "ffmpeg recording folder" unless you are using network storage and you know what you're external paths are, just set the "kodi recording folder".
Reply
Good day...I have been away from Kodi for a long time due to simple client not having a recording function. Then I found this thread and installed the recorder. Works great except for one thing as I was doing a test recording and wanted to delete the recording. I couldn't find the stop recording option as apparently the recording needs to be stopped before deleting. Other than not being able to record from the native epg, the Full EPG option does not have a guide appearance as the native epg does. Great work BTW as this is what I have been waiting for. Just and FYI, this is using K17.6 on a windows 10 box. Thanks in advance for any information or redirection to another option.
Reply
Hi. Thanks.

You can cancel and stop recordings either where you started them in the program listings or in Maintenance\Jobs or Rules.
Cancel Record won't appear until you re-enter the listings.
There is something strange going on in Kodi with refreshing folders since Krypton so I haven't enabled an automatic refresh after adding a recording.

There is no epg style view in this addon. It uses simple listing views.

If you really want an epg view you could try either:
https://forum.kodi.tv/showthread.php?tid=326896
but you will have to compile it yourself.
or
https://forum.kodi.tv/showthread.php?tid=282157
In TV Guide Fullscreen the AutoPlayWith function can record.
Set the ffmpeg path in Settings \ Program Scheduler.

A good alternative on Windows is to use NextPVR which has a frontend in the official Kodi repo.
You can pull in an iptv playlist as long as it can be played from the NextPVR windows service.
Reply
@Primeval

G'day mate. 

Thanks for the reply. I will test your suggestions out regarding the stopping of recording. It did however stop recording when the piece reached its end of time, so that is good to know. Then I was able to delete it. All in all, this is some good work as this has been a feature that many peeps have wanted. Thanks again for your work on this.

I will try out the Fullscreen option as this is a direct addon and would eliminate any subtle issues I may encounter with the other option you mentioned. I have tried NPVR in the past (about 3 years ago or more) but I was having issues with it. Can't exactly remember what the issues were but I remember removing it from my PC. Maybe they have enhanced it by now so I may revisit it. But I do see that your Fullscreen option may just be what I am looking for. Cheers!
Reply
@Primeval

The Recorder is working just fine. So now I decided to test out your TVGF on my W10, 64bit system simply because of the Guide that comes with it. I am however having a few problems with the initial setup. I was trying to send you a pm but I probably don't meet the minimum post since I cannot send a pm just yet. Any way her is what I have done so far. Believe it or not I read all 172 posts regarding TVGF and although I did find some detailed info on 8/222017 and 4/17/2018 posts, I am at a loss. I have experimented all sorts of ways and still no guide pops up. All I get is that it is loading then it fails and tells me I have the setup wrong.

Here is what I have currently, source XMLTV Url=http://$$$$.$$/p2.xml.gz under optional I have channel mappings>import m3u enabled and the url is http://api.$$$.$$/vget?username=$$$$&password=$$$$&format=ts. I have tried variations on putting this information just about every place that seemed to be the right place and no joy. I was originally just using the default skin but decided to use the WMC skin and I am glad I did because I was able to see some heading information that TVGF was pulling in so I think I am getting close. Also, since the m3u url has my username and password included in it, I to0k those elements out and put them in the Optional Authentication area but still no joy. Which is where I am now. I can send you both url's so you can test out yourself in case there is something wrong with them but I don't think there is since Kodi accepts them with no issues. So can you help me out? TIA
Reply
@Primeval

Just an update for you as I have made some progress. I decided to dump my computer of Kodi and performed a deep scraping to find any remnants. I was going to actually reinstall W10 but decided I would do that as a last resort. Anyway, I reinstalled a fresh copy of Kodi 17.6 32bit on my W10 64bit box. Next I extracted the xmltv data from the .gz file and also extracted the m3u data from its file. Next I loaded in the xml file first from the local drive and ran with that only. It worked! So now I knew that the xml file is good. I also checked it beforehand using an online source you mentioned in one of your posts. This told me it was good so that is why I proceeded to just load it in and try it. So figuring that the xml file was good I next used the Url source function and named the location of the xml.gz file and it too worked flawlessly. I enabled the "look for .gz files" and "convert & to &amp". 

Next going to the optional tab, I enabled the authentication and provided my UN and PW. I tried using the m3u playlist subscriptions, no joy. Import addons.ini as a url and file, no joy. I also tried the channel mappings import mapping.ini section for my m3u file, no joy. Next I enabled the import m3u and as both a url and file but no joy on that as well. So, although I do have an EPG guide popping up, I do not have channel numbers, or group control. I am pretty sure it has something to do with the m3u file because TVGF works fine with only the XML file activated. So, what do you think it could be? I am calling it a day and try again tomorrow. Thanks for any help you can give me. Cheers mate!
Reply
Hi. It is a bit tricky to set up.
I've added many options as people request them and tried not to break other people's already installed version.
If I started again I would make it more automatic.

You need 10 posts before you can pm I think.

It looks like you found the xmltv gz trick.
Put in the xmltv url up to the .xml and tick the "look for gz" box.

Your m3u file should just go in the "Settings\Optional\Import m3u url" box as it is with the password in the url.
The channels will only match up if the tvg-id values in the m3u match the "channel id" in the xmltv file exactly.

If they don't match you can pull the m3u channels into the addons.ini file in "Menu\Stream Setup\Import Playlist".
When you play a channel it should try to match the xmltv channel to the m3u channel by name rather than id.

The user and password in Settings\Optional is for web servers that use that kind of authentication.
Yours is just encoded in the url so set those back to their defaults.
Reply
Can I watch a show while it is recording?  I'd like to be able to pause an resume it as well.
Reply
Depends on how many connections your IPTV provider allows, but probably yes you can record one channel and watch another.
Once the recording starts you can pause and resume the download yes.
Reply
(2018-08-27, 19:51)purplehorseshoes Wrote: Can I watch a show while it is recording?  I'd like to be able to pause an resume it as well.
 As long as your stream source provider lets you have more than one connection at the same time you can record and watch the channel at the same time but it will double the bandwidth.

You can probably watch the saved recording file as it is recording but I've experienced problems doing it in Kodi. You'll have to experiment.
That is why I added in the option to use an external player. I use ffplay as it is very lightweight but vlc or any other player should work too.

If you use anything other than a simple ts type container you probably won't be able to view it on some players while it is recording as the header won't be filled in until the recording finishes.

There is no pausing/resuming as the recording is handed off to ffmpeg on the command line.
You can do a timed recording if you want to record longer than a single program. That might help.
Reply
  • 1
  • 21
  • 22
  • 23(current)
  • 24
  • 25
  • 90

Logout Mark Read Team Forum Stats Members Help
IPTV Recorder4