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.
(2019-05-05, 13:28)rossi29 Wrote: [ -> ]
(2019-05-05, 09:56)primaeval Wrote: [ -> ]
(2019-05-05, 09:51)rossi29 Wrote: [ -> ]Bonjour tout le monde, désolé j'utilise un traducteur. Je ne sais pas quelle version ffmpeg utilisée pour une boîte androïde zidoo x10. Merci à tous pour votre aide.
Installez "Droid Hardware Info" à partir du Play Store pour trouver votre architecture. https://play.google.com/store/apps/detai...info&hl=fr Puis récupérez ffmpeg pour cette architecture. Vous pouvez probablement utiliser la version linux de ffmpeg à partir d’ici https://github.com/vot/ffbinaries-prebui...s/tag/v4.1 ou certains des autres liens du premier message de ce fil de discussion. 
Merci primitive de m'aider, je suis un débutant, j'ai téléchargé "Droid Hardware Info" et il m'a dit: Architecture de processeur ARMv7-A
Architecture centrale armv8I quelle version de ffmpeg prendre? Pouvez - vous me montrer un lien?
Merci 
According to this you need armhf
https://superuser.com/questions/1009540/...-and-armhf
I'm trying to use it on different devices.
Now I'm on a Xiaomi with Android TV, but I don't understand how to install ffmpeg.
It's not like libreelect that have a Kodi plugin..
(2019-05-09, 02:06)Abba2 Wrote: [ -> ]I'm trying to use it on different devices.
Now I'm on a Xiaomi with Android TV, but I don't understand how to install ffmpeg.
It's not like libreelect that have a Kodi plugin..

Try this:
2852043 (post)
Hi.
@primaeval

Your repo is off?
I can not connect
(2018-03-22, 12:03)primaeval Wrote: [ -> ]IPTV Recorderplugin.video.iptv.recorder

https://github.com/primaeval/plugin.video.iptv.recorder

NEW!Record directly from the IPTV Simple Client PVR EPG grid!NEW! Record and Play to mimic Live Stream Pausing

Kodi addon for recording streams from the IPTV Simple Client pvr plugin or xmltv/m3u files.

Adding recording from the IPTV Simple Client is possible and has been done but it is too hard for most people to build for their devices.
This addon is an easily extensible python addon that should work with any device.

You will need a version of ffmpeg for your device. https://ffmpeg.org/
Android builds are here:
NEW https://github.com/vot/ffbinaries-prebui...s/tag/v4.1
or
https://github.com/Khang-NT/ffmpeg-binary-android
or
https://github.com/WritingMinds/ffmpeg-a...ses/latest
On Android this addon will copy ffmpeg to the /data/data folder so it can run.

Quick Start
  • Install this addon via my repo. https://github.com/primaeval/repository....-0.0.2.zip
  • Download ffmpeg for your device
  • Point to the ffmpeg exe in Settings.
  • Set a Recordings folder that you can write to. (press backspace to get out of temp)
  • Make sure IPTV Simple Client is enabled and works or set your xmltv/m3u data sources.
  • Turn on the Web Server in Kodi and enable Remote Control. (this addon uses jsonrpc)
  • Go into the addon \ Channel Groups and find a program to Record Once.
Recomendations
  • Use Show Items on Two Lines mode to see Now and Next programs clearly.
  • Use Arial-Based fonts for unicode characters and better display in multiline mode.
  • Use the Windows Scheduler if possible in case Kodi crashes or shuts down.
  • Use an external player if your streams go through a python addon as a redirect server.
  • Krypton Estuary doesn't display channel icons in Wide List mode. Try Leia or a different skin.
  • Add a margin of time to recordings so they have time to stabilise.
  • Turn on the Debug menus to Nuke the database (delete it and start again).
  • Change the Login delay if your IPTV Simple Client downloads the xmltv file first.
  • Set the Service schedule time to the middle of the night, preferably after the xmltv is updated.
TODO
  • cron jobs on Linux.
  • Repeat Timers.
  • Watch Timers.
  • More robust ffmpeg process handling.
  • More meta nfo.
  • Pull in xmltv and m3u directly.
WARNING
Make sure you have legal permission in your country to record streams.
Do not discuss anything that might get you, me or Kodi into legal trouble.

ImageImageImageImageImage 
Can I please get help?
Thanks in advance
I followed the instructions
But this windows it jumps
https://www.photobox.co.uk/my/photo/full...1861688677
How to proceed from there?
@primaeval. First, many thanks for this addon. I've installed on a Windows 64 bit / Kodi 18.2 system using Simple IPTV PVR. My channels play in both PVR and the IPTV Recorder addon fine. When I try to record I get the notification that recording has started, but this is soon followed by a recording finished notification. I've checked the kodi.log file which includes the following

2019-05-14 14:04:51.910 T:9372   ERROR: XFILE::CDirectory::GetDirectory - Error getting plugin://plugin.video.iptv.recorder/record_once/1126/ENT%3A+BBC+1+HD/UK%3A+BBC+1+FHD
2019-05-14 14:04:51.910 T:28212 WARNING: [xbmcswift2] No converter provided, unicode should be used, but returning str value
2019-05-14 14:04:51.915 T:13304   ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.video.iptv.recorder/record_once/1126/ENT%3A+BBC+1+HD/UK%3A+BBC+1+FHD) failed

The .json and .ts files are created in the recordings folder. The .ts file is empty.

Any help appreciated
I had a similar problem, the program did not record because it was over but your epg shows it is now

check: https://www.tvguide.co.uk/ do you have the same program at the same time in kodi and in your browser
(2019-05-14, 21:48)Atamans Wrote: [ -> ]I had a similar problem, the program did not record because it was over but your epg shows it is now

check: https://www.tvguide.co.uk/ do you have the same program at the same time in kodi and in your browser

Many thanks for the tip. My EPG was one hour out which I've corrected. Just finished a brief test and all looks good. Thanks again.
(2019-05-15, 09:40)berkhornet Wrote: [ -> ]now clear data epg / system pvr or tv / guide / clear data / close and run kodi and wait about 1 minute until xmltv loads
(2019-05-15, 11:15)Atamans Wrote: [ -> ]
(2019-05-15, 09:40)berkhornet Wrote: [ -> ]now clear data epg / system pvr or tv / guide / clear data / close and run kodi and wait about 1 minute until xmltv loads


All looking good now. Great add on.
Hello

Sorry for this question, perhaps it has been post before, but i didn't read the 74's pages.

So, i'm french, and i prefer using english interface in kodi.

When i try to record with IPTV, i have the following error :
' error parsing date'

I check the log, and the plugin was unable to convert date from french (my os) to english (kodi).

I put kodi in french, and now it's working.

How i could keep english language and iptv recorder able to record ?

I will try to change my OS regional setting...

Great works by the way !!!

PS : is there a way to have multiple tuner recording ?
Thanks for all your work with this program. I look forward to being able to use it.

I have setup following your instructions.

I am using LibreElec and I get to the part where the dialog says 'Copying XMTV file' and it stops and says error, and to check the log. Other times it has failed while unzipping.

I havent used the logs much so I am not sure what I am looking for. Any help would be appreciated.

Thank you
Hi again @primaeval,

in Android I still work very well, but in Windows 10 when I'm in the Guide and pulse any event I get the message "Program not found" and "Error Parsing dates".

I use the same configuration and lists as in Android but in Windows I can not record from the guide.

Image


 esihokipur.kodi (paste)
Well, on Linux or Libre/Coreelec I think it's better to setup local Tvheadend, setup tv (dvb or iptv) and play tv with pvr.hts addon. Rich features, like timeshift and advanced recording support.

Shame old simpleiptv fork with recording/timeshift support is abandoned. Tvh configuration is not straighforward and tvh does not work well with some iptv providers
Hello,
To make it short: amazing add-on! Thumbs up!


Just one doubt, I have added to the jobs queue a series of TV shows and they are recorded. Great. However, I have noticed that a show that includes the dot character "." has not been recorded. Maybe the dot character it not being parsed? Because I have noticed colons ":' are parsed correctly as %3A

Code:
video = xbmcvfs.File(r"/home/user/Recordings/Other/SP%3A M. CHANNEL/Prodigious%3A Ladybug - SP%3A M. CHANNEL - 2019-06-14 08-10.ts","wb")

Here is a link to the python code that includes the job that has not been recorded.

Thank you for your attention and, again, amazing add-on!

PS. Kodi 18.2 running on Raspbian Stretch 9.9

PS2.

-rwxr-xr-x 1 user user   0 Jun 14 08:04 Prodigious%3A Ladybug - SP%3A M. CHANNEL - 2019-06-14 08-10.ts