Record iptv (from epg)

  Thread Rating:
  • 2 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
azh1000 Offline
Junior Member
Posts: 4
Joined: Mar 2017
Reputation: 0
Post: #61
HI Ryan,
Thanks for putting together the package.
I've never been able to get the osmc packge to run. These are the error's in the log.
18:34:21.183 T:139820236007168 ERROR: Unable to load /storage/.kodi/addons/pvr.iptvsimple/pvr.iptvsimple.so.3.0.1, reason: /storage/.kodi/addons/pvr.iptvsimple/pvr.iptvsimple.so.3.0.1: wrong ELF class: ELFCLASS32
18:34:41.319 T:139820236007168 ERROR: UpdateAddons - failed to create add-on PVR IPTV Simple Client, status = 6

Only the Ubuntu package works for me - that's where I have observed the video files vanishing.
find quote
johoja Offline
Fan
Posts: 579
Joined: Aug 2009
Reputation: 0
Post: #62
Hey - I was trying this on osx el captain, with 17.1 and it is crashing kodi - not sure if it works with that yet.
find quote
amilino Offline
Member
Posts: 50
Joined: Apr 2016
Reputation: 0
Post: #63
I have the same problem with video vanishing after recording. I am using this https://github.com/rkubera/pvr.iptvsimpl...inple-osmc version on my Kodi 17.1 on Raspberry Pi 3. Can this work also on pure Kodi or just on OSMC? And how to configure parameters in settings for this to work?

This is my log with your test package:
Code:
12:10:31.638 T:1945890816  NOTICE: VideoPlayer: Opening: pvr://channels/tv/All channels/pvr.iptvsimple_1544176965.pvr
12:10:31.638 T:1945890816 WARNING: CDVDMessageQueue(player)::Put MSGQ_NOT_INITIALIZED
12:10:31.639 T:1588233136  NOTICE: Creating InputStream
12:10:31.902 T:1588233136  NOTICE: Creating Demuxer
12:10:35.824 T:1588233136  NOTICE: Opening stream: 0 source: 256
12:10:35.876 T:1588233136  NOTICE: Creating video thread
12:10:35.877 T:1588233136  NOTICE: Opening stream: 1 source: 256
12:10:35.881 T:1588233136  NOTICE: Creating audio thread
12:10:36.017 T:1588233136  NOTICE: OMXClock using audio as reference
12:10:37.143 T:1765422000 WARNING: CRenderManager::WaitForBuffer - timeout waiting for buffer
12:10:38.672 T:1945890816 WARNING: Previous line repeats 2 times.
12:10:38.672 T:1945890816   ERROR: Control 602 in window 12901 has been asked to focus, but it can't
12:10:38.993 T:1765422000 WARNING: CRenderManager::WaitForBuffer - timeout waiting for buffer
12:10:41.436 T:1757033392 WARNING: Previous line repeats 5 times.
12:10:41.436 T:1757033392  NOTICE: AddOnLog: PVR IPTV Simple Client: Add job entry News
12:10:41.439 T:1757033392  NOTICE: AddOnLog: PVR IPTV Simple Client: Starting recording News
12:10:41.441 T:1757033392  NOTICE: AddOnLog: PVR IPTV Simple Client: Updated job entry News
12:10:41.444 T:1858069424  NOTICE: Previous line repeats 2 times.
12:10:41.444 T:1858069424  NOTICE: AddOnLog: PVR IPTV Simple Client: Try to open stream http://urltoiptv_removed.m3u8|User-Agent="AppleCoreMedia"
12:10:41.541 T:1858069424  NOTICE: AddOnLog: PVR IPTV Simple Client: File to write: /home/pi/Videos/IPTV/News (2017-04-09 12-10-41).flv
12:10:41.542 T:1858069424  NOTICE: AddOnLog: PVR IPTV Simple Client: Starting ffmpeg: /usr/bin/avconv -i "http://urltoiptv_removed.m3u8|User-Agent="AppleCoreMedia"" -ar 44100 -f flv -
12:10:41.670 T:1858069424  NOTICE: AddOnLog: PVR IPTV Simple Client: Set stream timeout: 60
12:10:50.001 T:1577743280  NOTICE: AddOnLog: PVR IPTV Simple Client: Updated job entry News
12:10:57.619 T:1832903600  NOTICE: AddOnLog: PVR IPTV Simple Client: Stopping recording News
12:10:57.620 T:1832903600  NOTICE: AddOnLog: PVR IPTV Simple Client: Updated job entry News
12:10:57.621 T:1858069424  NOTICE: AddOnLog: PVR IPTV Simple Client: Recording stopped News
12:10:57.621 T:1858069424  NOTICE: AddOnLog: PVR IPTV Simple Client: Warning - recording can be corrupted
12:10:57.626 T:1858069424  NOTICE: AddOnLog: PVR IPTV Simple Client: Updated job entry News
12:11:00.000 T:1608459184  NOTICE: AddOnLog: PVR IPTV Simple Client: Try to reschedule recording News
12:11:00.000 T:1608459184  NOTICE: AddOnLog: PVR IPTV Simple Client: Try to delete recording News
12:11:00.000 T:1608459184  NOTICE: AddOnLog: PVR IPTV Simple Client: Deleted job entry News
12:11:02.496 T:1945890816  NOTICE: CVideoPlayer::CloseFile()
12:11:02.496 T:1945890816  NOTICE: VideoPlayer: waiting for threads to exit
12:11:02.505 T:1588233136  NOTICE: CVideoPlayer::OnExit()
12:11:02.505 T:1588233136  NOTICE: Closing stream player 1
12:11:02.511 T:1481634736  NOTICE: thread end: OMXPlayerAudio::OnExit()
12:11:02.593 T:1588233136  NOTICE: Closing stream player 2
12:11:02.599 T:1765422000  NOTICE: thread end: video_thread
12:11:02.718 T:1945890816  NOTICE: VideoPlayer: finished waiting
12:11:03.422 T:1945890816  NOTICE: CVideoPlayer::CloseFile()
12:11:03.422 T:1945890816  NOTICE: VideoPlayer: waiting for threads to exit
12:11:03.422 T:1945890816  NOTICE: VideoPlayer: finished waiting
12:11:03.422 T:1945890816  NOTICE: CVideoPlayer::CloseFile()
12:11:03.422 T:1945890816  NOTICE: VideoPlayer: waiting for threads to exit
12:11:03.422 T:1945890816  NOTICE: VideoPlayer: finished waiting

Thank you in advance.
(This post was last modified: 2017-04-09 12:15 by amilino.)
find quote
amilino Offline
Member
Posts: 50
Joined: Apr 2016
Reputation: 0
Post: #64
Any help would be appreciated. Sad
find quote
carrion21 Offline
Junior Member
Posts: 1
Joined: Jun 2017
Reputation: 0
Post: #65
Is anyone out there able to compile this as a windows addon, I tried direct replacement and it makes the addon disappear
find quote
amilino Offline
Member
Posts: 50
Joined: Apr 2016
Reputation: 0
Post: #66
Don't bother with trying to make it reality. It doesn't work, already spend so much time investigating and debugging on all platforms.
find quote
masinad Offline
Member
Posts: 64
Joined: Sep 2013
Reputation: 2
Post: #67
I downloaded from here https://github.com/rkubera/pvr.iptvsimple/releases amd64 rls and it works great in libreelec x64. only the pause future does not work, but recording works fine (Y)
find quote
amilino Offline
Member
Posts: 50
Joined: Apr 2016
Reputation: 0
Post: #68
(2017-08-03 13:04)masinad Wrote:  I downloaded from here https://github.com/rkubera/pvr.iptvsimple/releases amd64 rls and it works great in libreelec x64. only the pause future does not work, but recording works fine (Y)

This doesn't work on Raspberry PI with Kodi installed on Raspbian.
find quote
wigee Offline
Junior Member
Posts: 3
Joined: Mar 2014
Reputation: 0
Post: #69
Hi, i managed to install the package on (Librelec kodi 17.4 raspberry pi 3) and after filling in the recording path + ffmpeg and rtmdump path i manage to record something.
I found the recording file in the path i have selected but it cannot be opened to view in Kodi or VLC...
Is there still another setting to be changed or is this addon simply not working?
(This post was last modified: 2017-09-01 11:42 by wigee.)
find quote
sasagr Offline
Senior Member
Posts: 124
Joined: Oct 2012
Reputation: 0
Post: #70
(2017-09-01 11:38)wigee Wrote:  Hi, i managed to install the package on (Librelec kodi 17.4 raspberry pi 3) and after filling in the recording path + ffmpeg and rtmdump path i manage to record something.
I found the recording file in the path i have selected but it cannot be opened to view in Kodi or VLC...
Is there still another setting to be changed or is this addon simply not working?

I m exactly in the same situation.

The recording is there (format .flv as default) but I cannot play.

Did u find a solution?
find quote
sasagr Offline
Senior Member
Posts: 124
Joined: Oct 2012
Reputation: 0
Post: #71
This is how it is working for me at the moment:

- Raspberry Pi 3 with latest OSMC version
- Updated and Installed rtmpdump:
sudo apt-get update
sudo apt-get install rtmpdump libav-tools

- Copied over the existing pvr.iptvsimple the version pvr.iptvsimple.osmc-test
- Settings of the add ons:
store folder:... as you like it
file extension: fly
path rtmpdump: /usr/bin/rtmpdump
path ffmpeg: /usr/bin/avcon
recompress..: -ar 44100 -vcodec copy
rest as default

the "-vcodec copy" will leave the file as it is from the source at least on the video side, w/o any compression

What works for me:
Recording
Add timer from Timers tab

What does not work:
Pausing/Time Shifting
Add timer from EPG
The Recordings are not linked to the Recording Tab of the Live TV
find quote
Post Reply