primaeval / plugin.video.iptv.recorder

GNU General Public License v3.0
43 stars 28 forks source link

IPTV Recorder buttons missing #20

Open fred-cardoso opened 5 years ago

fred-cardoso commented 5 years ago

Hi @primaeval

Awesome job you are doing here! ^^

I am facing a issue with two exact, clean and equal Kodi installations with only two Addons installed additionally by me.

So, on one installation the record buttons appear on the EPG, on the other they don't. Check this image: image So, as you can see, these buttons appear on one Kodi on one PC, and on the other one they are missing. Same config AFAIK. The rest is working.

PS: Do you know a addon, or is it possible to add in the future something like instant recording where the program is always being recorder for a few minutes (120min e.g.) and you can pull the live transmission back and forward? Something like we already have on YouTube, but the recording is done locally.

Thanks and keep up with the good work.

primaeval commented 5 years ago

Thanks. Post the contents of the file "\addons\skin.estuary.iptv.recorder\xml\DialogPVRInfo.xml" and I'll have a look.

There are a few ways you could do an instant record with my addons.

In IPTV Recorder do a timed record from the PVR Channels menu or IPTV Recorder \ Channel Groups. It fills in the start time as now. You can just add a couple of hours after that for the end time. Then you can watch it in the Recordings folder, pause and scroll.

My Replay addon can also record the last watched stream in Kodi. Again you could make a shortcut to its recording folder and watch it from there.

TV Guide Fullscreen can do an instant record with the 8 start and 9 stop keys if you set ffmpeg in Settings \ Program Scheduler \ AutoPlayWiths.

If you can code you could adapt those programs to automate it.

primaeval commented 5 years ago

I've added in a "Record and Play" to the PVR Channels menu "IPTV Recorder Timer" for you in version 0.0.114. Try that. It will give you a dialog for the number of hours you want to record from now, start the recording and start playing it if it succeeds or leave you in the Recordings folder if it doesn't. Press back to get back to the PVR Channels menu.

primaeval commented 5 years ago

IPTV Simple Client could have enabled Pause in the code but they didn't for some reason. If you ever want to compile it yourself then change CanPauseStream to true like I do here. https://github.com/primaeval/pvr.iptvsimple/commit/6c95a87cedf450882cb1ef18332765850906c37d#diff-34f48ad91ac6c202ac60b0348ae90e30R532

fred-cardoso commented 5 years ago

Hi!

Thank you very much for your time.

I can program it yes. I am more confortable with Java and Arduino but I can look into this as well.

Right now I don't have the time needed to check this. I will update the plugin and will get back to you ASAP.

EDIT: I don't know if I missed it, but I had a problem with recordings (simply not working) on a folder with special chars (something like ç and õ) so it would be helpful for fellow users if you give a warning for this issue (on Read me). Maybe it's ffmpeg who doesn't like. I changed the folder name from Gravações (Portuguese) to Recordings (same meaning) and it started wortking again.