Hi all,
with HTS Tvheadend 3.9.2407~gabea248, I have a very strange file naming issue. While with the "record program" recording of one single movie all is fine, the problem only occurs when I use the auto recording feature.
issue:
I would expect f.i. to get the File 'Kommissar-Beck---Die-neuen-Fälle.E05.Das-Monster.mkv' in the Folder '/media/usb220black/DVBT/Krimis/Komissar_Beck/', as defined in the DVR autorec Entry (see details below).
The Help Button text says: "Directory: When specified, this settingoverrides the subdirectory rules specified by the DVR configuration and puts all recordings done by this entry into the specified subdirectory. Useful for e.g. recording multiple different news broadcasts into one common subdirectory called "News". "
But it is not there:
ls -la /media/usb220black/DVBT/Krimis/Komissar_Beck/
drwxrwxrwx 2 pi pi 4096 Jan 30 23:12 .
drwxrwxrwx 21 pi pi 4096 Jan 31 21:52 ..
instead, I found a new, crazy named subfolder with a lot of minus signs, one level up:
ls -l /media/usb220black/DVBT/Krimis/-media-usb220black-DVBT-Krimis-Komissar_Beck/
returns:
drwxrwxrwx 2 hts video 4096 Jan 30 23:33 .
drwxrwxrwx 21 pi pi 4096 Jan 31 21:52 ..
-rw-rw-rw- 1 hts video 1786205085 Jan 31 00:47 Kommissar-Beck---Die-neuen-Fälle.E05.Das-Monster.mkv
So for my eyes, it looks like the filename was creates with the Rule:
* take the global path from assigned profile
* if another directory is specified in the autorec definition, take this + convert all slashes to '-', then append it to the global path
* finally, append the file name
How can I fix this? I want to have this rule, at least I would expect the system works this way:
* take the global path from assigned profile
* if another directory is specified in the autorec definition, throw away the global path, take the override path instead
* finally, append the file name
Here are my global recording profiles, for your reference:
Configuration | Recording | Digital Video Recorder Profiles:
Profile 1: *(Default Profile)*
Recording File Options:
/var/tvrecord2/DVBT
0666
UTF-8
[x] Tag Files
[x] Skip Commercials
Subdirectory Options:
0777
[ ] per day
[ ] per channel
[ ] per title
Filename Options:
[ ] Channel in Filename
[X] Date in Filename
[X] Time in Filename
[ ] Episode in Filename
[X] Episode before Date & Time
[X] Subtitle in Filename
[ ] Do not include Title
[ ] Remove unsafe chars
[x] replace whitespace with '-'
[ ] Windoze compatible
and
Profile 2: *Krimi-named*
Recording File Options:
/media/usb220black/DVBT/Krimis <-- this is different from default
0666
UTF-8
[x] Tag Files
[x] Skip Commercials
Subdirectory Options:
0777
[ ] per day
[ ] per channel
[ ] per title
Filename Options:
[ ] Channel in Filename
[ ] Date in Filename <-- this is different from default
[ ] Time in Filename <-- this is different from default
[ ] Episode in Filename
[X] Episode before Date & Time
[X] Subtitle in Filename
[ ] Do not include Title
[ ] Remove unsafe chars
[x] replace whitespace with '-'
[ ] Windoze compatible
DVR Autorec Entries
Directory: /media/usb220black/DVBT/Krimis/Komissar_Beck <-- this is different from assigned Profile
Title (Regexp): (kommissar beck)
..
DVR Configuration: Krimi-named
Any hints for me?
Or is it just a bug?
If it's a bug, where to report this bug for the coders?
THX,
Daisy