Opened 12 years ago

Closed 11 years ago

#3664 closed defect (worksforme)

mythrename.pl dies if filetype is not mpeg

Reported by: anonymous Owned by: Rob Smith
Priority: minor Milestone: unknown
Component: contrib Version: unknown
Severity: medium Keywords: NSV stream
Cc: Ticket locked: no

Description

I tried running mythrename.pl for the first time recently and had it die without processing all files because it encountered a recording that mplayer reported as NSV.

I have attached a patch to catch the error, issue a warning and continue to process the remaining recordings. I also have attached the output of the mplayer test that reports it as a NSV file.

mplayer -v -v -v -v -nolirc -nojoystick -vo null -ao null -frames 0 -identify recording.mpg

Attachments (2)

mythrename.pl.diff (776 bytes) - added by Roo 12 years ago.
Catch error from $show->load_file_info() and process next file
mplayer_info.txt (4.7 KB) - added by Roo 12 years ago.
mplayer output of troubled file

Download all attachments as: .zip

Change History (8)

Changed 12 years ago by Roo

Attachment: mythrename.pl.diff added

Catch error from $show->load_file_info() and process next file

Changed 12 years ago by Roo

Attachment: mplayer_info.txt added

mplayer output of troubled file

comment:1 Changed 12 years ago by Roo

I should have said the recorded file mplayer reported as an NSV file was absolutely recorded with Myth :)

It was a DVB-T recording and had been lossless transcoded.

comment:2 Changed 12 years ago by stuartm

Summary: mythrename.pl dies if filetype is unot mpegmythrename.pl dies if filetype is not mpeg

comment:3 Changed 11 years ago by Rob Smith

Owner: changed from Isaac Richards to Rob Smith
Status: newaccepted

comment:4 Changed 11 years ago by Rob Smith

Status: acceptedinfoneeded

I believe that this shouldn't be an issue with the script anymore, can you confirm Roo?

comment:5 in reply to:  4 Changed 11 years ago by Roo <roo.watt@…>

Replying to kormoc:

I believe that this shouldn't be an issue with the script anymore, can you confirm Roo?

Unfortunately I can not test as I don't have the original file anymore. It was always a strange one as it was a recording that was made by Myth but reported as a nsv.

I was able to run mythrename.pl on the recordings I do have.

comment:6 Changed 11 years ago by Rob Smith

Resolution: worksforme
Status: infoneededclosed
Note: See TracTickets for help on using tickets.