Opened 18 years ago
Closed 18 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)
Change History (8)
by , 18 years ago
| Attachment: | mythrename.pl.diff added |
|---|
comment:1 by , 18 years ago
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 by , 18 years ago
| Summary: | mythrename.pl dies if filetype is unot mpeg → mythrename.pl dies if filetype is not mpeg |
|---|
comment:3 by , 18 years ago
| Owner: | changed from to |
|---|---|
| Status: | new → accepted |
follow-up: 5 comment:4 by , 18 years ago
| Status: | accepted → infoneeded |
|---|
I believe that this shouldn't be an issue with the script anymore, can you confirm Roo?
comment:5 by , 18 years ago
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 by , 18 years ago
| Resolution: | → worksforme |
|---|---|
| Status: | infoneeded → closed |

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