[mythtv-users] Commercial Flagging (UK, DVB-T)
    Mark Greenwood 
    fatgerman at gmail.com
       
    Fri Oct 26 14:15:17 UTC 2012
    
    
  
On 26 Oct 2012, at 15:05, John Pilkington wrote:
> On 26/10/12 14:08, Mark Greenwood wrote:
>> 
>> On 26 Oct 2012, at 13:46, Tim Phipps wrote:
>> 
>>> Quoting Mark Greenwood <fatgerman at gmail.com>:
>>>> OK, so
>>>> 
>>>> Commflag_35 jobqueue.cpp:2281 (DoFlagCommercialsThread) JobQueue: Commercial Detection Starting for "The Inbetweeners":"The First Day" recorded from channel 1029 at 2012-10-23T23:05:00Z
>>>> 
>>>> When I then try :
>>>> mausc_wrapper.py --chanid=1029 --starttime=2012-10-23T23:05:00Z
>>>> Local access to recording not found.
>>>> 
>>>> mausc_wrapper.py --chanid=1029 --starttime=2012-10-23T23:05:00
>>>> Could not find recording.
> 
> Can it find --starttime=2012-10-23T23:06:00, which would be the local time in the UK?  Or --starttime 201210230600 or perhaps 20121023060000 ?
> 
cd lib/mythtv/recordings/
ls
1006_20121025221500.mpg      1012_20121025200000.mpg.png  1029_20121023230500.mpg                1029_20121023233500.mpg
1006_20121025221500.mpg.png  1015_20121025200000.mpg      1029_20121023230500.mpg.-1.100x56.png  1029_20121023233500.mpg.-1.100x56.png
1012_20121025200000.mpg      1015_20121025200000.mpg.png  1029_20121023230500.mpg.png            1029_20121023233500.mpg.png
mausc_wrapper.py --chanid=1029 --starttime=20121023230500
Could not find recording
Anything I've tried other than the first line I posted gives me 'Could not find recording'. So it's finding the recording in the database, but can't find the associated file. Which is odd, because I just watched it.
> Do you have a mix of 0.25 and 0.26?
I originally installed 0.25 (from the mythbuntu 12.04 installation) but before doing any setup I enabled the repository for the 0.26 release and did a full upgrade. So although I installed 0.25 initially, I did no configuration or recording with that version. Have I missed a step? Or does it look like the upgrade didn't quite work?
>>> Possibly. I'm still on 0.25 till the weekend. Hopefully I can figure out a way to get the script to work with both 0.25 and 0.26. The second error happens when the script can't find the database entry for the recording. The first error does find the db row so the syntax used in the first example is correct but then it fails to find the actual file. Are you running this on the same machine as the backend that made the recording?
>> 
>> Yes, same machine (well through an ssh session from another machine but I don't think that matters). The recordings in the directory all have names like '1029_201212367300.mpg', not sure if that's relevant.
> 
> Well, if you copied that filename something is very wrong,
Sorry, that was just a bunch of random numbers :)
Mark
>> 
>> Cheers
>> 
>> Mark
>> 
>>> 
>>> Cheers,
>>> Tim.
>>> 
> 
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://www.mythtv.org/mailman/listinfo/mythtv-users
    
    
More information about the mythtv-users
mailing list