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-04-09, 16:11)Ampsys Wrote: [ -> ]
(2019-04-09, 07:48)primaeval Wrote: [ -> ]
(2019-04-09, 01:51)Ampsys Wrote: [ -> ]Set Jobs and Rules to defaults, remapped to the SMB recording location, ensured 'pipe ffmpeg output through Kodi (for network folders)' was enabled (it was anyway), and ensured the ffmpeg exe location is correct.

Still no luck.

Also, the py file looks wonky but no invalid characters I know of for a file name...  Here's what I see:
Code:

# -*- coding: utf-8 -*-
import os, subprocess, time
cmd = ['C:\\Users\\<ME>\\Downloads\\ffmpeg-4.1.1-win64-static\\ffmpeg-4.1.1-win64-static\\bin\\ffmpeg.exe', '-i', u'http://<iptvproviderstuff>', '-y', '-t', '4200', '-c', 'copy', '-reconnect_at_eof', '1', '-reconnect_streamed', '1', '-reconnect_delay_max', '300', 'smb://<NASCREDENTIALS>@192.168.0.4/Media/Recordings/Other\\24%2F7 FAMILY GUY\\24%2F7 FAMILY GUY - 2019-04-07 20-33.ts']
p = subprocess.Popen(cmd, shell=True)
f = open(r'C:\Users\<ME>\AppData\Roaming\Kodi\userdata\addon_data\plugin.video.iptv.recorder\jobs\705f4140-5974-11e9-ae95-cc4b7364fa95.py.pid', 'w+')
f.write(repr(p.pid))
f.close()
p.wait()

Is there a different ffmpeg version I should use?     

You didn't turn on "pipe ffmpeg through Kodi".
If you did the last cmd argument would be "-" which means pipe the stdout output through kodi.
cmd = ['D:\\utils\\ffmpeg.exe', '-i', u'http://****', '-y', '-t', '6620', '-c', 'copy', '-reconnect_at_eof', '1', '-reconnect_streamed', '1', '-reconnect_delay_max', '300', '-f', 'mpegts', '-']

The whole job file should also have a while loop which uses kodi to write the output to a file.
# -*- coding: utf-8 -*-
import os, subprocess, time
import xbmc,xbmcvfs,xbmcgui
xbmcgui.Dialog().notification("Recording: ESPN HD", "MLS Soccer", sound=True)
cmd = ['D:\\utils\\ffmpeg.exe', '-i', u'http://****', '-y', '-t', '6620', '-c', 'copy', '-reconnect_at_eof', '1', '-reconnect_streamed', '1', '-reconnect_delay_max', '300', '-f', 'mpegts', '-']
p = subprocess.Popen(cmd, stdout=subprocess.PIPE, shell=True)
f = open(r'D:\kodi-18.1-Leia-x64\portable_data\userdata\addon_data\plugin.video.iptv.recorder\jobs\72e2f600-5960-11e9-acf5-5404a6420d2f.py.pid', 'w+')
f.write(repr(p.pid))
f.close()
video = xbmcvfs.File(r"D:\kodi-18.1-Leia-x64\portable_data\cache\Other\ESPN HD\MLS Soccer - ESPN HD - 2019-04-07 20-00.ts","wb")
playing = False
while True:
  data = p.stdout.read(1000000)
  if data:
      video.write(data)
  else:
      break
video.close()
xbmcgui.Dialog().notification("Recording finished: ESPN HD", "MLS Soccer", sound=True)
 

Is this NOT the correct setting?  Or is there some other place?  This is what I have had set all along so I'm either missing something, or the setting is being ignored.

Screencap 

The jobs files get made in advance when you create a Rule.
Maybe they were left over from before.
It could also be a bug.

It might be an idea to rename or delete the addon_data folder and start again.
"userdata\addon_data\plugin.video.iptv.recorder"

Make sure you've turned off the ffmpeg debugging again.
In the file
"userdata\addon_data\plugin.video.iptv.recorder\settings.xml"
you should have
<setting id="debug.ffmpeg" default="true">false</setting>
<setting id="ffmpeg.pipe">true</setting>
<setting id="ffmpeg.reconnect">true</setting>
<setting id="ffmpeg.recordings" default="true"></setting>
<setting id="recordings" default="true">special://temp</setting>
with your smb path instead of special://temp.
(2019-04-09, 17:37)primaeval Wrote: [ -> ]
(2019-04-09, 16:11)Ampsys Wrote: [ -> ]
(2019-04-09, 07:48)primaeval Wrote: [ -> ]You didn't turn on "pipe ffmpeg through Kodi".
If you did the last cmd argument would be "-" which means pipe the stdout output through kodi.
cmd = ['D:\\utils\\ffmpeg.exe', '-i', u'http://****', '-y', '-t', '6620', '-c', 'copy', '-reconnect_at_eof', '1', '-reconnect_streamed', '1', '-reconnect_delay_max', '300', '-f', 'mpegts', '-']

The whole job file should also have a while loop which uses kodi to write the output to a file.
# -*- coding: utf-8 -*-
import os, subprocess, time
import xbmc,xbmcvfs,xbmcgui
xbmcgui.Dialog().notification("Recording: ESPN HD", "MLS Soccer", sound=True)
cmd = ['D:\\utils\\ffmpeg.exe', '-i', u'http://****', '-y', '-t', '6620', '-c', 'copy', '-reconnect_at_eof', '1', '-reconnect_streamed', '1', '-reconnect_delay_max', '300', '-f', 'mpegts', '-']
p = subprocess.Popen(cmd, stdout=subprocess.PIPE, shell=True)
f = open(r'D:\kodi-18.1-Leia-x64\portable_data\userdata\addon_data\plugin.video.iptv.recorder\jobs\72e2f600-5960-11e9-acf5-5404a6420d2f.py.pid', 'w+')
f.write(repr(p.pid))
f.close()
video = xbmcvfs.File(r"D:\kodi-18.1-Leia-x64\portable_data\cache\Other\ESPN HD\MLS Soccer - ESPN HD - 2019-04-07 20-00.ts","wb")
playing = False
while True:
  data = p.stdout.read(1000000)
  if data:
      video.write(data)
  else:
      break
video.close()
xbmcgui.Dialog().notification("Recording finished: ESPN HD", "MLS Soccer", sound=True)

Is this NOT the correct setting?  Or is there some other place?  This is what I have had set all along so I'm either missing something, or the setting is being ignored.

Screencap 

The jobs files get made in advance when you create a Rule.
Maybe they were left over from before.
It could also be a bug.

It might be an idea to rename or delete the addon_data folder and start again.
"userdata\addon_data\plugin.video.iptv.recorder"

Make sure you've turned off the ffmpeg debugging again.
In the file
"userdata\addon_data\plugin.video.iptv.recorder\settings.xml"
you should have
<setting id="debug.ffmpeg" default="true">false</setting>
<setting id="ffmpeg.pipe">true</setting>
<setting id="ffmpeg.reconnect">true</setting>
<setting id="ffmpeg.recordings" default="true"></setting>
<setting id="recordings" default="true">special://temp</setting>
with your smb path instead of special://temp. 

Deleted the folder, and confirmed xml contents are identical.  Still no recording, just json.

What DOES work, is if I direct the recordings to a local folder (i.e. - C:\Recordings), then use Group Policy to create a mapping and Symlink to the path of the mapped folder.  So I guess that will work for me.

I don't have 'Recording Jobs' and/or 'Recording Rules' options on my IPTV Record home page.

Screenshot
(2019-04-09, 18:59)Ampsys Wrote: [ -> ]
(2019-04-09, 17:37)primaeval Wrote: [ -> ]
(2019-04-09, 16:11)Ampsys Wrote: [ -> ]Is this NOT the correct setting?  Or is there some other place?  This is what I have had set all along so I'm either missing something, or the setting is being ignored.

Screencap

The jobs files get made in advance when you create a Rule.
Maybe they were left over from before.
It could also be a bug.

It might be an idea to rename or delete the addon_data folder and start again.
"userdata\addon_data\plugin.video.iptv.recorder"

Make sure you've turned off the ffmpeg debugging again.
In the file
"userdata\addon_data\plugin.video.iptv.recorder\settings.xml"
you should have
<setting id="debug.ffmpeg" default="true">false</setting>
<setting id="ffmpeg.pipe">true</setting>
<setting id="ffmpeg.reconnect">true</setting>
<setting id="ffmpeg.recordings" default="true"></setting>
<setting id="recordings" default="true">special://temp</setting>
with your smb path instead of special://temp.  

Deleted the folder, and confirmed xml contents are identical.  Still no recording, just json.

What DOES work, is if I direct the recordings to a local folder (i.e. - C:\Recordings), then use Group Policy to create a mapping and Symlink to the path of the mapped folder.  So I guess that will work for me.

I don't have 'Recording Jobs' and/or 'Recording Rules' options on my IPTV Record home page.

Screenshot 
The Jobs and Rules lists are in Maintenance.

Something strange is going on with your setup.
Post the contents of
"userdata\addon_data\plugin.video.iptv.recorder\settings.xml"

Are you sure Kodi can write to your recordings folder.
Try and create a file there from
Kodi \ Settings \ File Manager
(2019-04-09, 19:08)primaeval Wrote: [ -> ]
(2019-04-09, 18:59)Ampsys Wrote: [ -> ]
(2019-04-09, 17:37)primaeval Wrote: [ -> ]The jobs files get made in advance when you create a Rule.
Maybe they were left over from before.
It could also be a bug.

It might be an idea to rename or delete the addon_data folder and start again.
"userdata\addon_data\plugin.video.iptv.recorder"

Make sure you've turned off the ffmpeg debugging again.
In the file
"userdata\addon_data\plugin.video.iptv.recorder\settings.xml"
you should have
<setting id="debug.ffmpeg" default="true">false</setting>
<setting id="ffmpeg.pipe">true</setting>
<setting id="ffmpeg.reconnect">true</setting>
<setting id="ffmpeg.recordings" default="true"></setting>
<setting id="recordings" default="true">special://temp</setting>
with your smb path instead of special://temp.  

Deleted the folder, and confirmed xml contents are identical.  Still no recording, just json.

What DOES work, is if I direct the recordings to a local folder (i.e. - C:\Recordings), then use Group Policy to create a mapping and Symlink to the path of the mapped folder.  So I guess that will work for me.

I don't have 'Recording Jobs' and/or 'Recording Rules' options on my IPTV Record home page.

Screenshot 
The Jobs and Rules lists are in Maintenance.

Something strange is going on with your setup.
Post the contents of
"userdata\addon_data\plugin.video.iptv.recorder\settings.xml"

Are you sure Kodi can write to your recordings folder.
Try and create a file there from
Kodi \ Settings \ File Manager    


Ah, maintenance.  Thanks.

Here's the settings.xml NOT working (i.e. - putting in the SMB path for recordings):


<settings version="2">
    <setting id="add.context.searches">true</setting>
    <setting id="add.favourite.channel">true</setting>
    <setting id="debug" default="true">false</setting>
    <setting id="debug.ffmpeg" default="true">false</setting>
    <setting id="external.m3u.1" default="true">0</setting>
    <setting id="external.m3u.2" default="true">0</setting>
    <setting id="external.m3u.file.1" default="true"></setting>
    <setting id="external.m3u.file.2" default="true"></setting>
    <setting id="external.m3u.shift.1" default="true">0</setting>
    <setting id="external.m3u.shift.2" default="true">0</setting>
    <setting id="external.m3u.url.1" default="true"></setting>
    <setting id="external.m3u.url.2" default="true"></setting>
    <setting id="external.player">C:\Users\<USER>\Downloads\ffmpeg-4.1.1-win64-static\ffmpeg-4.1.1-win64-static\bin\ffplay.exe</setting>
    <setting id="external.player.args" default="true">-fs</setting>
    <setting id="external.player.watch">true</setting>
    <setting id="external.xmltv.1" default="true">0</setting>
    <setting id="external.xmltv.2" default="true">0</setting>
    <setting id="external.xmltv.file.1" default="true"></setting>
    <setting id="external.xmltv.file.2" default="true"></setting>
    <setting id="external.xmltv.url.1" default="true"></setting>
    <setting id="external.xmltv.url.2" default="true"></setting>
    <setting id="ffmpeg">C:\Users\Andrew\Downloads\ffmpeg-4.1.1-win64-static\ffmpeg-4.1.1-win64-static\bin\ffmpeg.exe</setting>
    <setting id="ffmpeg.args" default="true"></setting>
    <setting id="ffmpeg.ext" default="true">ts</setting>
    <setting id="ffmpeg.last" default="true"></setting>
    <setting id="ffmpeg.pipe" default="true">true</setting>
    <setting id="ffmpeg.reconnect">true</setting>
    <setting id="ffmpeg.recordings" default="true"></setting>
    <setting id="filename.urlencode" default="true">false</setting>
    <setting id="hide.channel.name" default="true">false</setting>
    <setting id="last.update" default="true">1554828121.26</setting>
    <setting id="m3u.regex.replace" default="true"></setting>
    <setting id="m3u.regex.search" default="true"></setting>
    <setting id="meta" default="true">plugin.video.meta</setting>
    <setting id="minutes.after">5</setting>
    <setting id="minutes.before">5</setting>
    <setting id="multiline">true</setting>
    <setting id="post.command" default="true"></setting>
    <setting id="python" default="true">pythonw.exe</setting>
    <setting id="recordings">smb://<CREDENTIALS>@192.168.0.4/Media/Recordings/</setting>
    <setting id="refresh" default="true">false</setting>
    <setting id="scroll.ms">2000</setting>
    <setting id="scroll.now">true</setting>
    <setting id="service">true</setting>
    <setting id="service.delay.seconds">60</setting>
    <setting id="service.interval">6</setting>
    <setting id="service.startup">true</setting>
    <setting id="service.time">03:00</setting>
    <setting id="service.type">2</setting>
    <setting id="show.categories" default="true">false</setting>
    <setting id="show.finished">true</setting>
    <setting id="show.now.next.all" default="true">false</setting>
    <setting id="show.now.next.favourites">true</setting>
    <setting id="show.now.next.hide.empty" default="true">false</setting>
    <setting id="show.now.next.lists" default="true">false</setting>
    <setting id="show.skin">true</setting>
    <setting id="silent" default="true">false</setting>
    <setting id="sort.channels">true</setting>
    <setting id="task.scheduler">true</setting>
    <setting id="version" default="true">0.0.128</setting>
    <setting id="view.mode" default="true">0</setting>
    <setting id="xmltv.title.regex.replace" default="true"></setting>
    <setting id="xmltv.title.regex.search" default="true"></setting>
</settings>

<USER> and <CREDENTIALS> on lines 14 and 41 are my substitutions.

Yes, I can write to the share fine.  In fact, I don't see how I would be getting the 'Other' folder created with an internal .json file if I couldn't....right?
And here's the XML that IS working, if I direct to C:\Recordings and enforce a policy to Symlink to the SMB path:


<settings version="2">
    <setting id="add.context.searches">true</setting>
    <setting id="add.favourite.channel">true</setting>
    <setting id="debug" default="true">false</setting>
    <setting id="debug.ffmpeg" default="true">false</setting>
    <setting id="external.m3u.1" default="true">0</setting>
    <setting id="external.m3u.2" default="true">0</setting>
    <setting id="external.m3u.file.1" default="true"></setting>
    <setting id="external.m3u.file.2" default="true"></setting>
    <setting id="external.m3u.shift.1" default="true">0</setting>
    <setting id="external.m3u.shift.2" default="true">0</setting>
    <setting id="external.m3u.url.1" default="true"></setting>
    <setting id="external.m3u.url.2" default="true"></setting>
    <setting id="external.player">C:\Users\<USER>\Downloads\ffmpeg-4.1.1-win64-static\ffmpeg-4.1.1-win64-static\bin\ffplay.exe</setting>
    <setting id="external.player.args" default="true">-fs</setting>
    <setting id="external.player.watch">true</setting>
    <setting id="external.xmltv.1" default="true">0</setting>
    <setting id="external.xmltv.2" default="true">0</setting>
    <setting id="external.xmltv.file.1" default="true"></setting>
    <setting id="external.xmltv.file.2" default="true"></setting>
    <setting id="external.xmltv.url.1" default="true"></setting>
    <setting id="external.xmltv.url.2" default="true"></setting>
    <setting id="ffmpeg">C:\Users\Andrew\Downloads\ffmpeg-4.1.1-win64-static\ffmpeg-4.1.1-win64-static\bin\ffmpeg.exe</setting>
    <setting id="ffmpeg.args" default="true"></setting>
    <setting id="ffmpeg.ext" default="true">ts</setting>
    <setting id="ffmpeg.last" default="true"></setting>
    <setting id="ffmpeg.pipe">false</setting>
    <setting id="ffmpeg.reconnect">true</setting>
    <setting id="ffmpeg.recordings" default="true"></setting>
    <setting id="filename.urlencode" default="true">false</setting>
    <setting id="hide.channel.name" default="true">false</setting>
    <setting id="last.update" default="true">1554828121.26</setting>
    <setting id="m3u.regex.replace" default="true"></setting>
    <setting id="m3u.regex.search" default="true"></setting>
    <setting id="meta" default="true">plugin.video.meta</setting>
    <setting id="minutes.after">5</setting>
    <setting id="minutes.before">5</setting>
    <setting id="multiline">true</setting>
    <setting id="post.command" default="true"></setting>
    <setting id="python" default="true">pythonw.exe</setting>
    <setting id="recordings">C:\Recordings\</setting>
    <setting id="refresh" default="true">false</setting>
    <setting id="scroll.ms">2000</setting>
    <setting id="scroll.now">true</setting>
    <setting id="service">true</setting>
    <setting id="service.delay.seconds">60</setting>
    <setting id="service.interval">6</setting>
    <setting id="service.startup">true</setting>
    <setting id="service.time">03:00</setting>
    <setting id="service.type">2</setting>
    <setting id="show.categories" default="true">false</setting>
    <setting id="show.finished">true</setting>
    <setting id="show.now.next.all" default="true">false</setting>
    <setting id="show.now.next.favourites">true</setting>
    <setting id="show.now.next.hide.empty" default="true">false</setting>
    <setting id="show.now.next.lists" default="true">false</setting>
    <setting id="show.skin">true</setting>
    <setting id="silent" default="true">false</setting>
    <setting id="sort.channels">true</setting>
    <setting id="task.scheduler">true</setting>
    <setting id="version" default="true">0.0.128</setting>
    <setting id="view.mode" default="true">0</setting>
    <setting id="xmltv.title.regex.replace" default="true"></setting>
    <setting id="xmltv.title.regex.search" default="true"></setting>
</settings>

Honestly, this is fine for me.  As long as I can record and they (recordings) land on the NAS instead of the Kodi box, I'm happy and should be able to convince wife to cut the cord once and for all.  LOL. 

Now that I know where the Jobs and Rules are, I'll test those and if no issues - I'm good to go!
(2019-04-09, 19:33)Ampsys Wrote: [ -> ]
(2019-04-09, 19:08)primaeval Wrote: [ -> ]
(2019-04-09, 18:59)Ampsys Wrote: [ -> ]Deleted the folder, and confirmed xml contents are identical.  Still no recording, just json.

What DOES work, is if I direct the recordings to a local folder (i.e. - C:\Recordings), then use Group Policy to create a mapping and Symlink to the path of the mapped folder.  So I guess that will work for me.

I don't have 'Recording Jobs' and/or 'Recording Rules' options on my IPTV Record home page.

Screenshot
The Jobs and Rules lists are in Maintenance.

Something strange is going on with your setup.
Post the contents of
"userdata\addon_data\plugin.video.iptv.recorder\settings.xml"

Are you sure Kodi can write to your recordings folder.
Try and create a file there from
Kodi \ Settings \ File Manager     


Ah, maintenance.  Thanks.

Here's the settings.xml NOT working (i.e. - putting in the SMB path for recordings):


<settings version="2">
    <setting id="add.context.searches">true</setting>
    <setting id="add.favourite.channel">true</setting>
    <setting id="debug" default="true">false</setting>
    <setting id="debug.ffmpeg" default="true">false</setting>
    <setting id="external.m3u.1" default="true">0</setting>
    <setting id="external.m3u.2" default="true">0</setting>
    <setting id="external.m3u.file.1" default="true"></setting>
    <setting id="external.m3u.file.2" default="true"></setting>
    <setting id="external.m3u.shift.1" default="true">0</setting>
    <setting id="external.m3u.shift.2" default="true">0</setting>
    <setting id="external.m3u.url.1" default="true"></setting>
    <setting id="external.m3u.url.2" default="true"></setting>
    <setting id="external.player">C:\Users\<USER>\Downloads\ffmpeg-4.1.1-win64-static\ffmpeg-4.1.1-win64-static\bin\ffplay.exe</setting>
    <setting id="external.player.args" default="true">-fs</setting>
    <setting id="external.player.watch">true</setting>
    <setting id="external.xmltv.1" default="true">0</setting>
    <setting id="external.xmltv.2" default="true">0</setting>
    <setting id="external.xmltv.file.1" default="true"></setting>
    <setting id="external.xmltv.file.2" default="true"></setting>
    <setting id="external.xmltv.url.1" default="true"></setting>
    <setting id="external.xmltv.url.2" default="true"></setting>
    <setting id="ffmpeg">C:\Users\Andrew\Downloads\ffmpeg-4.1.1-win64-static\ffmpeg-4.1.1-win64-static\bin\ffmpeg.exe</setting>
    <setting id="ffmpeg.args" default="true"></setting>
    <setting id="ffmpeg.ext" default="true">ts</setting>
    <setting id="ffmpeg.last" default="true"></setting>
    <setting id="ffmpeg.pipe" default="true">true</setting>
    <setting id="ffmpeg.reconnect">true</setting>
    <setting id="ffmpeg.recordings" default="true"></setting>
    <setting id="filename.urlencode" default="true">false</setting>
    <setting id="hide.channel.name" default="true">false</setting>
    <setting id="last.update" default="true">1554828121.26</setting>
    <setting id="m3u.regex.replace" default="true"></setting>
    <setting id="m3u.regex.search" default="true"></setting>
    <setting id="meta" default="true">plugin.video.meta</setting>
    <setting id="minutes.after">5</setting>
    <setting id="minutes.before">5</setting>
    <setting id="multiline">true</setting>
    <setting id="post.command" default="true"></setting>
    <setting id="python" default="true">pythonw.exe</setting>
    <setting id="recordings">smb://<CREDENTIALS>@192.168.0.4/Media/Recordings/</setting>
    <setting id="refresh" default="true">false</setting>
    <setting id="scroll.ms">2000</setting>
    <setting id="scroll.now">true</setting>
    <setting id="service">true</setting>
    <setting id="service.delay.seconds">60</setting>
    <setting id="service.interval">6</setting>
    <setting id="service.startup">true</setting>
    <setting id="service.time">03:00</setting>
    <setting id="service.type">2</setting>
    <setting id="show.categories" default="true">false</setting>
    <setting id="show.finished">true</setting>
    <setting id="show.now.next.all" default="true">false</setting>
    <setting id="show.now.next.favourites">true</setting>
    <setting id="show.now.next.hide.empty" default="true">false</setting>
    <setting id="show.now.next.lists" default="true">false</setting>
    <setting id="show.skin">true</setting>
    <setting id="silent" default="true">false</setting>
    <setting id="sort.channels">true</setting>
    <setting id="task.scheduler">true</setting>
    <setting id="version" default="true">0.0.128</setting>
    <setting id="view.mode" default="true">0</setting>
    <setting id="xmltv.title.regex.replace" default="true"></setting>
    <setting id="xmltv.title.regex.search" default="true"></setting>
</settings>

<USER> and <CREDENTIALS> on lines 14 and 41 are my substitutions.

Yes, I can write to the share fine.  In fact, I don't see how I would be getting the 'Other' folder created with an internal .json file if I couldn't....right? 
You are trying to use the Windows Task Scheduler.
I'm not sure if that even works now. I haven't tested it for months.
<setting id="task.scheduler">true</setting>

That needs the pipe output setting turned off and the "ffmpeg recordings folder" set to somewhere with the windows equivalent of the Kodi recordings path.
eg
If your "kodi recordings folder" is
smb://server/recordings
the "ffmpeg recordings folder" needs to be where ffmpeg in a cmd shell needs it to be eg
\\server\recordings

ffmpeg is run from a hidden cmd shell window.

It is confusing but Kodi does the path translation for you when you pipe the output through kodi.
Question: Once I have some rules set up, is there an easy way to get a list of all the shows that are planned to be recorded?  I can see it if I go into channel groups and scroll through all the channels but an "upcoming recordings" list would be very nice.

Thanks,
Dan
(2019-04-09, 19:57)lagman Wrote: [ -> ]Question: Once I have some rules set up, is there an easy way to get a list of all the shows that are planned to be recorded?  I can see it if I go into channel groups and scroll through all the channels but an "upcoming recordings" list would be very nice.

Thanks,
Dan

Maintenance \ Jobs | Rules

The Jobs will be the upcoming recordings that are either Once recordings or from Rules that match the current xmltv file.

If might be possible to overlay them back on the Kodi EPG grid but its not something I want to try myself.
I'll add the code if someone else does.

Recordings and Reminders are displayed in the epg grid in TV Guide Fullscreen but that is not linked to IPTV Recorder at all.
(2019-04-09, 20:12)primaeval Wrote: [ -> ]
(2019-04-09, 19:57)lagman Wrote: [ -> ]Question: Once I have some rules set up, is there an easy way to get a list of all the shows that are planned to be recorded?  I can see it if I go into channel groups and scroll through all the channels but an "upcoming recordings" list would be very nice.

Thanks,
Dan

Maintenance \ Jobs | Rules

The Jobs will be the upcoming recordings that are either Once recordings or from Rules that match the current xmltv file.

If might be possible to overlay them back on the Kodi EPG grid but its not something I want to try myself.
I'll add the code if someone else does.

Recordings and Reminders are displayed in the epg grid in TV Guide Fullscreen but that is not linked to IPTV Recorder at all. 
Thanks!

My goal is to have an instance of Kodi running on my PC that just records shows and puts them into a windows share, then allow the TVs in my house (each with firesticks) to access the files.

For the TVs with firesticks, what do you suggest I use to play the recorded files?  Should I install the IPTV recorder plugin on each one or just use the "Files" selection in Kodi?  Or maybe there is another simpler app I should use to view (seems like overkill to install Kodi on each firestick just to view the videos).  Thoughts or suggestions?  For live TV viewing I use TiviMate but there doesn't appear to be an option to access videos from a windows share.
(2019-04-09, 23:03)lagman Wrote: [ -> ]
(2019-04-09, 20:12)primaeval Wrote: [ -> ]
(2019-04-09, 19:57)lagman Wrote: [ -> ]Question: Once I have some rules set up, is there an easy way to get a list of all the shows that are planned to be recorded?  I can see it if I go into channel groups and scroll through all the channels but an "upcoming recordings" list would be very nice.

Thanks,
Dan

Maintenance \ Jobs | Rules

The Jobs will be the upcoming recordings that are either Once recordings or from Rules that match the current xmltv file.

If might be possible to overlay them back on the Kodi EPG grid but its not something I want to try myself.
I'll add the code if someone else does.

Recordings and Reminders are displayed in the epg grid in TV Guide Fullscreen but that is not linked to IPTV Recorder at all.   
Thanks!

My goal is to have an instance of Kodi running on my PC that just records shows and puts them into a windows share, then allow the TVs in my house (each with firesticks) to access the files.

For the TVs with firesticks, what do you suggest I use to play the recorded files?  Should I install the IPTV recorder plugin on each one or just use the "Files" selection in Kodi?  Or maybe there is another simpler app I should use to view (seems like overkill to install Kodi on each firestick just to view the videos).  Thoughts or suggestions?  For live TV viewing I use TiviMate but there doesn't appear to be an option to access videos from a windows share.  
I've never owned a Fire Stick so I don't know specifically.

Personally I have a linux server on an old laptop and use Emby to serve up videos to android devices.
I've just come across Jellyfin. That looks interesting. It is a completely free fork of Emby.
https://github.com/jellyfin/jellyfin

For any iptv streams I want to reliably record I actually use tvheadend on the server but it is tricky to set up.
IPTV Recorder can also record addon streams.

I always get frustrated with playing videos on Android.
Kodi takes too long to load.
MX Player is great for playing but not for navigating network streams.

VLC should be good but I always fall back to MX Player.
[EDIT] For the ts files from IPTV Recorder, VLC is probably the easiest way to access them without using Kodi.
If you use Kodi you could point to the same recordings folder and get the extra info from the json files.

My favourite way is to make a simple web server for videos with thumbnails and play them in a <video> tag.
Chrome on Android can play most video formats or hand playback off to MX Player.
Then you have complete control over the presentation.
(2019-04-10, 08:24)primaeval Wrote: [ -> ]
(2019-04-09, 23:03)lagman Wrote: [ -> ]
(2019-04-09, 20:12)primaeval Wrote: [ -> ]Maintenance \ Jobs | Rules

The Jobs will be the upcoming recordings that are either Once recordings or from Rules that match the current xmltv file.

If might be possible to overlay them back on the Kodi EPG grid but its not something I want to try myself.
I'll add the code if someone else does.

Recordings and Reminders are displayed in the epg grid in TV Guide Fullscreen but that is not linked to IPTV Recorder at all.   
Thanks!

My goal is to have an instance of Kodi running on my PC that just records shows and puts them into a windows share, then allow the TVs in my house (each with firesticks) to access the files.

For the TVs with firesticks, what do you suggest I use to play the recorded files?  Should I install the IPTV recorder plugin on each one or just use the "Files" selection in Kodi?  Or maybe there is another simpler app I should use to view (seems like overkill to install Kodi on each firestick just to view the videos).  Thoughts or suggestions?  For live TV viewing I use TiviMate but there doesn't appear to be an option to access videos from a windows share.    
I've never owned a Fire Stick so I don't know specifically.

Personally I have a linux server on an old laptop and use Emby to serve up videos to android devices.
I've just come across Jellyfin. That looks interesting. It is a completely free fork of Emby.
https://github.com/jellyfin/jellyfin

For any iptv streams I want to reliably record I actually use tvheadend on the server but it is tricky to set up.
IPTV Recorder can also record addon streams.

I always get frustrated with playing videos on Android.
Kodi takes too long to load.
MX Player is great for playing but not for navigating network streams.

VLC should be good but I always fall back to MX Player.
[EDIT] For the ts files from IPTV Recorder, VLC is probably the easiest way to access them without using Kodi.
If you use Kodi you could point to the same recordings folder and get the extra info from the json files.

My favourite way is to make a simple web server for videos with thumbnails and play them in a <video> tag.
Chrome on Android can play most video formats or hand playback off to MX Player.
Then you have complete control over the presentation.  
Tried VLC but it didn't seem to recognize the .json folders.. Was hoping it would pull the description, etc.

The Kodi / Videos /Files interface would be fine, but for some reason it doesn't see the json data either (It just says "No information available").  What's strange is if I go to Addons / IPTV Recorder / Recordings that info is there.  Any idea why that would be?

Thanks,
Dan
(2019-04-10, 13:18)lagman Wrote: [ -> ]
(2019-04-10, 08:24)primaeval Wrote: [ -> ]
(2019-04-09, 23:03)lagman Wrote: [ -> ]Thanks!

My goal is to have an instance of Kodi running on my PC that just records shows and puts them into a windows share, then allow the TVs in my house (each with firesticks) to access the files.

For the TVs with firesticks, what do you suggest I use to play the recorded files?  Should I install the IPTV recorder plugin on each one or just use the "Files" selection in Kodi?  Or maybe there is another simpler app I should use to view (seems like overkill to install Kodi on each firestick just to view the videos).  Thoughts or suggestions?  For live TV viewing I use TiviMate but there doesn't appear to be an option to access videos from a windows share.    
I've never owned a Fire Stick so I don't know specifically.

Personally I have a linux server on an old laptop and use Emby to serve up videos to android devices.
I've just come across Jellyfin. That looks interesting. It is a completely free fork of Emby.
https://github.com/jellyfin/jellyfin

For any iptv streams I want to reliably record I actually use tvheadend on the server but it is tricky to set up.
IPTV Recorder can also record addon streams.

I always get frustrated with playing videos on Android.
Kodi takes too long to load.
MX Player is great for playing but not for navigating network streams.

VLC should be good but I always fall back to MX Player.
[EDIT] For the ts files from IPTV Recorder, VLC is probably the easiest way to access them without using Kodi.
If you use Kodi you could point to the same recordings folder and get the extra info from the json files.

My favourite way is to make a simple web server for videos with thumbnails and play them in a <video> tag.
Chrome on Android can play most video formats or hand playback off to MX Player.
Then you have complete control over the presentation.   
Tried VLC but it didn't seem to recognize the .json folders.. Was hoping it would pull the description, etc.

The Kodi / Videos /Files interface would be fine, but for some reason it doesn't see the json data either (It just says "No information available").  What's strange is if I go to Addons / IPTV Recorder / Recordings that info is there.  Any idea why that would be?

Thanks,
Dan 

The json info is a custom format just for the IPTV Recorder and the Recordings folder view.
I was going to make it an nfo file that was compatible with Kodi and other media players but there was some problem. I can't remember what. I'll take another look some time.

You can usually record straight to mp4 but you probably won't be able to watch the recording at the same time reliably.
The length of the recording won't update as you watch it.
mp4 might be easier for some media players.
Change
Settings \ Jobs and Rules \ ffmpeg file extension
from ts to mp4

I tried Jellyfin earlier and it couldn't find ts files.
The internal player was stuttering too. I had to use MX Player or VLC as an external player.
It is good for organising your media library though and has free clients for Android and Android TV.
(2019-04-10, 13:30)primaeval Wrote: [ -> ]
(2019-04-10, 13:18)lagman Wrote: [ -> ]
(2019-04-10, 08:24)primaeval Wrote: [ -> ]I've never owned a Fire Stick so I don't know specifically.

Personally I have a linux server on an old laptop and use Emby to serve up videos to android devices.
I've just come across Jellyfin. That looks interesting. It is a completely free fork of Emby.
https://github.com/jellyfin/jellyfin

For any iptv streams I want to reliably record I actually use tvheadend on the server but it is tricky to set up.
IPTV Recorder can also record addon streams.

I always get frustrated with playing videos on Android.
Kodi takes too long to load.
MX Player is great for playing but not for navigating network streams.

VLC should be good but I always fall back to MX Player.
[EDIT] For the ts files from IPTV Recorder, VLC is probably the easiest way to access them without using Kodi.
If you use Kodi you could point to the same recordings folder and get the extra info from the json files.

My favourite way is to make a simple web server for videos with thumbnails and play them in a <video> tag.
Chrome on Android can play most video formats or hand playback off to MX Player.
Then you have complete control over the presentation.   
Tried VLC but it didn't seem to recognize the .json folders.. Was hoping it would pull the description, etc.

The Kodi / Videos /Files interface would be fine, but for some reason it doesn't see the json data either (It just says "No information available").  What's strange is if I go to Addons / IPTV Recorder / Recordings that info is there.  Any idea why that would be?

Thanks,
Dan  

The json info is a custom format just for the IPTV Recorder and the Recordings folder view.
I was going to make it an nfo file that was compatible with Kodi and other media players but there was some problem. I can't remember what. I'll take another look some time.

You can usually record straight to mp4 but you probably won't be able to watch the recording at the same time reliably.
The length of the recording won't update as you watch it.
mp4 might be easier for some media players.
Change
Settings \ Jobs and Rules \ ffmpeg file extension
from ts to mp4

I tried Jellyfin earlier and it couldn't find ts files.
The internal player was stuttering too. I had to use MX Player or VLC as an external player.
It is good for organising your media library though and has free clients for Android and Android TV. 

You said "The json info is a custom format just for the IPTV Recorder and the Recordings folder view."

Just so I'm sure I understand, if I set the output to .mp4, should VLC then recognize json info?   Or in my situation is my only option to see the program descriptions to use the IPTV Recorder plugin?
(2019-04-10, 16:14)lagman Wrote: [ -> ]
(2019-04-10, 13:30)primaeval Wrote: [ -> ]
(2019-04-10, 13:18)lagman Wrote: [ -> ]Tried VLC but it didn't seem to recognize the .json folders.. Was hoping it would pull the description, etc.

The Kodi / Videos /Files interface would be fine, but for some reason it doesn't see the json data either (It just says "No information available").  What's strange is if I go to Addons / IPTV Recorder / Recordings that info is there.  Any idea why that would be?

Thanks,
Dan  

The json info is a custom format just for the IPTV Recorder and the Recordings folder view.
I was going to make it an nfo file that was compatible with Kodi and other media players but there was some problem. I can't remember what. I'll take another look some time.

You can usually record straight to mp4 but you probably won't be able to watch the recording at the same time reliably.
The length of the recording won't update as you watch it.
mp4 might be easier for some media players.
Change
Settings \ Jobs and Rules \ ffmpeg file extension
from ts to mp4

I tried Jellyfin earlier and it couldn't find ts files.
The internal player was stuttering too. I had to use MX Player or VLC as an external player.
It is good for organising your media library though and has free clients for Android and Android TV.  

You said "The json info is a custom format just for the IPTV Recorder and the Recordings folder view."

Just so I'm sure I understand, if I set the output to .mp4, should VLC then recognize json info?   Or in my situation is my only option to see the program descriptions to use the IPTV Recorder plugin? 
IPTV Recorder is the only program in the entire world that uses those json files and only in the Recordings view.

However the information in those files could be used to create nfo files or rename the ts files with a bit of scripting.

ts files are ok for vlc but some other programs like Emby or Jellyfin will probably ignore them.
(2019-04-10, 17:05)primaeval Wrote: [ -> ]
(2019-04-10, 16:14)lagman Wrote: [ -> ]
(2019-04-10, 13:30)primaeval Wrote: [ -> ]The json info is a custom format just for the IPTV Recorder and the Recordings folder view.
I was going to make it an nfo file that was compatible with Kodi and other media players but there was some problem. I can't remember what. I'll take another look some time.

You can usually record straight to mp4 but you probably won't be able to watch the recording at the same time reliably.
The length of the recording won't update as you watch it.
mp4 might be easier for some media players.
Change
Settings \ Jobs and Rules \ ffmpeg file extension
from ts to mp4

I tried Jellyfin earlier and it couldn't find ts files.
The internal player was stuttering too. I had to use MX Player or VLC as an external player.
It is good for organising your media library though and has free clients for Android and Android TV.  

You said "The json info is a custom format just for the IPTV Recorder and the Recordings folder view."

Just so I'm sure I understand, if I set the output to .mp4, should VLC then recognize json info?   Or in my situation is my only option to see the program descriptions to use the IPTV Recorder plugin?  
IPTV Recorder is the only program in the entire world that uses those json files and only in the Recordings view.

However the information in those files could be used to create nfo files or rename the ts files with a bit of scripting.

ts files are ok for vlc but some other programs like Emby or Jellyfin will probably ignore them. 

Yeah, VLC can see the ts files and play them easily enough, but I want be able to read the description of each episode before I open the file so I know what I'm about to watch.  Right now all I see are the files and the file names are not descriptive enough.

I'm fine with using the IPTV Recorder plugin as my player so I can see the descriptions.  I installed the plugin on one of my firesticks but I can't figure out how to make it look at my smb:// for the recordings.  In the options I only see 3 folders and no way to manually type in the path (ex. smb://myPC/recordings).  I think if I can figure that out I'll have what I need and can just use the IPTV Recorder plugin on each firestick as a viewer.