Project

General

Profile

Bug #3775

Command after process

Added by Piotr Kuchciak over 8 years ago. Updated over 8 years ago.

Status:
Invalid
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
2016-05-04
Due date:
% Done:

0%

Estimated time:
Found in version:
4.1.1945
Affected Versions:

Description

Hi
I use tvheadend on my Synology and save recording file in /volume1/DVR
But when TVHeadend save in this directory , DLNA multimedia server not find new file and not index file to i can show it on my TV LG with media player DLNA. I must run manual indexing by run this commend:

/usr/syno/bin/synoindex -R DVR

I want to run this commend after finish recording and put in in Command post process... But it is not run. In debug i see only that execute spawn: /usr/syno/bin/synoindex

But without parameter -R DVR

How i must put in in Command post process to run correct. When run it from console ssh it works perfect.

History

#1

Updated by Jaroslav Kysela over 8 years ago

synoindex is a binary or a script ? Is marked as executable ? You may try this debug script to see what's passed from tvh:

#!/bin/sh

echo "$@" >> /tmp/tvh-post.txt
#2

Updated by Piotr Kuchciak over 8 years ago

How i can check it is binary or it is script ?

And can you tell me more how i can use your script to debug...? I must run it after finish recording ?

#3

Updated by Piotr Kuchciak over 8 years ago

i check and "synoindex" is probably binary... i can not open it example in WinSCP.

#4

Updated by Piotr Kuchciak over 8 years ago

2016-05-04 14:00:19.577 [ INFO]:dvr: entry 37eec712bddd691c3e31a84a238c1414 "Witaj Kaniousha" on "Filmbox Premium" starting at 2016-05-04 12:34:30, scheduled for recording by "admin"
2016-05-04 14:00:19.577 [ INFO]:dvr: "Witaj Kaniousha" on "Filmbox Premium" recorder starting
2016-05-04 14:00:19.577 [ INFO]:mpegts: 482MHz in Sieć DVB-T - tuning on Afatech AF9033 (DVB-T) : DVB-T #0
2016-05-04 14:00:19.837 [ INFO]:subscription: 003F: "DVR: Witaj Kaniousha" subscribing on channel "Filmbox Premium", weight: 300, adapter: "Afatech AF9033 (DVB-T) : DVB-T #0", network: "Sieć DVB-T", mux: "482MHz", provider: "nc+", service: "Filmbox Premium", profile="matroska"
2016-05-04 14:00:22.182 [ INFO]:dvr: /volume1/DVR/2016-05-04/Filmbox Premium/Witaj Kaniousha__2016-05-04_12-35.mkv from adapter: "Afatech AF9033 (DVB-T) : DVB-T #0", network: "Sieć DVB-T", mux: "482MHz", provider: "nc+", service: "Filmbox Premium"
2016-05-04 14:00:22.182 [ INFO]:dvr: # type lang resolution aspect ratio sample rate channels
2016-05-04 14:00:22.182 [ INFO]:dvr: 1 AC3 pol 48000 2
2016-05-04 14:00:22.182 [ INFO]:dvr: 2 H264 720x576 20:11
2016-05-04 14:00:24.986 [WARNING]:tot: 482MHz in Sieć DVB-T: invalid checksum (len 8, errors 1)
2016-05-04 14:04:00.951 [ INFO]:mpegts: 698MHz in Sieć DVB-T - tuning on Afatech AF9033 (DVB-T) : DVB-T #1
2016-05-04 14:04:01.110 [ INFO]:subscription: 0040: "epggrab" subscribing to mux "698MHz", weight: 4, adapter: "Afatech AF9033 (DVB-T) : DVB-T #1", network: "Sieć DVB-T", service: "Raw PID Subscription"
2016-05-04 14:04:01.133 [WARNING]:linuxdvb: Unhandled signal scale: 0
2016-05-04 14:04:01.134 [WARNING]:linuxdvb: Unhandled SNR scale: 0
2016-05-04 14:04:01.134 [WARNING]:linuxdvb: Unhandled ERROR_BLOCK_COUNT scale: 0
2016-05-04 14:04:01.626 [WARNING]:bat: 698MHz in Sieć DVB-T: invalid checksum (len 483, errors 1)
2016-05-04 14:04:01.626 [WARNING]:uk_freesat: 698MHz in Sieć DVB-T: invalid checksum (len 451, errors 1)
2016-05-04 14:04:09.063 [ INFO]:subscription: 0040: "epggrab" unsubscribing
2016-05-04 14:04:10.041 [ INFO]:mpegts: 498MHz in Sieć DVB-T - tuning on Afatech AF9033 (DVB-T) : DVB-T #1
2016-05-04 14:04:10.042 [ INFO]:subscription: 0042: "epggrab" subscribing to mux "498MHz", weight: 4, adapter: "Afatech AF9033 (DVB-T) : DVB-T #1", network: "Sieć DVB-T", service: "Raw PID Subscription"
2016-05-04 14:04:12.866 [WARNING]:tot: 498MHz in Sieć DVB-T: invalid checksum (len 8, errors 1)
2016-05-04 14:04:21.749 [ INFO]:subscription: 0042: "epggrab" unsubscribing
2016-05-04 14:04:22.671 [ INFO]:mpegts: 578MHz in Sieć DVB-T - tuning on Afatech AF9033 (DVB-T) : DVB-T #1
2016-05-04 14:04:22.672 [ INFO]:subscription: 0044: "epggrab" subscribing to mux "578MHz", weight: 4, adapter: "Afatech AF9033 (DVB-T) : DVB-T #1", network: "Sieć DVB-T", service: "Raw PID Subscription"
2016-05-04 14:04:37.635 [WARNING]:tot: 578MHz in Sieć DVB-T: invalid checksum (len 8, errors 1)
2016-05-04 14:05:00.027 [ INFO]:subscription: 003F: "DVR: Witaj Kaniousha" unsubscribing from "Filmbox Premium"
2016-05-04 14:05:00.027 [ INFO]:spawn: Executing "/usr/syno/bin/synoindex -R DVR"
2016-05-04 14:05:00.029 [ INFO]:dvr: "Witaj Kaniousha" on "Filmbox Premium": End of program: Completed OK
2016-05-04 14:13:19.215 [ INFO]:subscription: 0044: "epggrab" unsubscribing
2016-05-04 14:13:20.216 [ INFO]:mpegts: 706MHz in Sieć DVB-T - tuning on Afatech AF9033 (DVB-T) : DVB-T #0
2016-05-04 14:13:20.477 [ INFO]:subscription: 0046: "epggrab" subscribing to mux "706MHz", weight: 4, adapter: "Afatech AF9033 (DVB-T) : DVB-T #0", network: "Sieć DVB-T", service: "Raw PID Subscription"
2016-05-04 14:13:20.477 [ INFO]:mpegts: 730MHz in Sieć DVB-T - tuning on Afatech AF9033 (DVB-T) : DVB-T #1
2016-05-04 14:13:20.477 [ INFO]:subscription: 0047: "epggrab" subscribing to mux "730MHz", weight: 4, adapter: "Afatech AF9033 (DVB-T) : DVB-T #1", network: "Sieć DVB-T", service: "Raw PID Subscription"
2016-05-04 14:13:22.647 [WARNING]:tot: 706MHz in Sieć DVB-T: invalid checksum (len 8, errors 1)
2016-05-04 14:13:33.665 [WARNING]:tot: 730MHz in Sieć DVB-T: invalid checksum (len 8, errors 1)
2016-05-04 14:13:55.428 [ INFO]:subscription: 0047: "epggrab" unsubscribing
2016-05-04 14:13:56.429 [ INFO]:mpegts: 562MHz in Sieć DVB-T - tuning on Afatech AF9033 (DVB-T) : DVB-T #1
2016-05-04 14:13:56.430 [ INFO]:subscription: 0049: "epggrab" subscribing to mux "562MHz", weight: 4, adapter: "Afatech AF9033 (DVB-T) : DVB-T #1", network: "Sieć DVB-T", service: "Raw PID Subscription"
2016-05-04 14:14:00.889 [WARNING]:tot: 562MHz in Sieć DVB-T: invalid checksum (len 8, errors 1)
2016-05-04 14:14:42.705 [ INFO]:subscription: 0046: "epggrab" unsubscribing
2016-05-04 14:14:43.633 [ INFO]:mpegts: 570MHz in Sieć DVB-T - tuning on Afatech AF9033 (DVB-T) : DVB-T #0
2016-05-04 14:14:43.634 [ INFO]:subscription: 004B: "epggrab" subscribing to mux "570MHz", weight: 4, adapter: "Afatech AF9033 (DVB-T) : DVB-T #0", network: "Sieć DVB-T", service: "Raw PID Subscription"
2016-05-04 14:14:49.373 [WARNING]:tot: 570MHz in Sieć DVB-T: invalid checksum (len 8, errors 1)
2016-05-04 14:19:10.053 [ INFO]:subscription: 004B: "epggrab" unsubscribing
2016-05-04 14:19:11.006 [ INFO]:mpegts: 650MHz in Sieć DVB-T - tuning on Afatech AF9033 (DVB-T) : DVB-T #0
2016-05-04 14:19:11.007 [ INFO]:subscription: 004D: "epggrab" subscribing to mux "650MHz", weight: 4, adapter: "Afatech AF9033 (DVB-T) : DVB-T #0", network: "Sieć DVB-T", service: "Raw PID Subscription"
2016-05-04 14:19:16.319 [WARNING]:tot: 650MHz in Sieć DVB-T: invalid checksum (len 8, errors 1)
2016-05-04 14:19:18.647 [ INFO]:subscription: 0049: "epggrab" unsubscribing
2016-05-04 14:19:20.684 [ INFO]:subscription: 004D: "epggrab" unsubscribing

#5

Updated by Jaroslav Kysela over 8 years ago

  • Status changed from New to Invalid

Also available in: Atom PDF