2019-04-09, 01:51
(2019-04-08, 09:04)primaeval 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.(2019-04-07, 22:37)Ampsys Wrote:Your posts have passwords in. I would edit them if I were you.
You are trying to do a direct recording to an smb:// location.
Your version of ffmpeg has not been build with smb functionality.
smb://<NAS SMB CREDENTIALS HERE>@192.168.0.4/Media/Recordings/Other\Mickey%27s Great Clubhouse Hunt - US%3A DISNEY JR - 2019-04-07 15-10.ts: Protocol not found
Start with the Default settings in
Settings \ Jobs and Rules
Especailly turn on
pipe ffmpeg output through kodi
Then kodi will do the writing to the smb share. ffmpeg will just pass the video data to kodi.
The : should be ok if the addon urlencodes it.
Does it look right in the .py job file?
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?