|
SageTV Github Development Discussion related to SageTV Open Source Development. Use this forum for development topics about the Open Source versions of SageTV, hosted on Github. |
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
Cannot tune to some channels on linux (hdhomerun)
Hello,
I have setup a linux 14.04.3 LTS - 64bit Server Edition virtual machine on my Windows 2012 R2 server following the "Linux - Script to automatically install SageTV and Network Tuners" guide. I have to hdhomerun tuners with an external antenna. I already have a windows machine who run v7 without any problem. My linux is mostly working but at least one channel cannot be tuned (it's not a reception problem, those channel are near my house). I can record them but I cannot have live feed. To make another test, I setup another virtual machine and I used a modified version of the script to remove the network tuner and I have the same problem. Any help. |
#2
|
|||
|
|||
Additional info for the faulty channel
At the end of a program recording I have a system message: Error Message Details The device input "HDHomeRun 103958fe Tuner 1 Digital TV Tuner" failed to record "Par ici l'été" on CBFTDT on physical channel 19-2-1 at Tue 8/30 9:30. The TV source for this input may have become disconnected, powered off, has lost its signal, the channel is no longer available, or the device is failing. I can record other channels without problem |
#3
|
|||
|
|||
After several test I think I found the source of my problem.
This problem only occurs when there is an accent ( é, à ...) in the program name AND when the extended_filenames is set to true in the Sage.properties I have set extended_filenames to false and now it's working! |
#4
|
||||
|
||||
Quote:
__________________
Batch Metadata Tools (User Guides) - SageTV App (Android) - SageTV Plex Channel - My Other Android Apps - sagex-api wrappers - Google+ - Phoenix Renamer Downloads SageTV V9 | Android MiniClient |
#5
|
|||
|
|||
Any hope to have a fix soon??
|
#6
|
||||
|
||||
Is 'allow_unicode_characters_in_generated_filenames' set? I believe this will allow unicode characters but no spaces as it skips the section of code that allows the spaces.
|
#7
|
|||
|
|||
Originaly the "allow_unicode_characters_in_generated_filenames" was set to false. I have tried to set to true but I got the same error even then option "extended_filenames" set to true or false.
Here is the error I have got: Error Message Details The device input "HDHomeRun 103958fe Tuner 1 Digital TV Tuner" failed to record "Il est écrit" on CFHDDT on physical channel 47-47-1 at Tue 9/6 9:00. The TV source for this input may have become disconnected, powered off, has lost its signal, the channel is no longer available, or the device is failing. |
#8
|
||||
|
||||
Post your sagetv_0.txt log file as well, that'll definitely help in determining what actually went wrong there.
__________________
Jeffrey Kardatzke Founder of SageTV |
#9
|
|||
|
|||
Here is my sagetv_0.txt log file after I set the "allow_unicode_characters_in_generated_filenames" option to TRUE
|
#10
|
|||
|
|||
Here is my sagetv_0.txt log file after I set the "allow_unicode_characters_in_generated_filenames" option back to FALSE
but with "extended_filenames" set to TRUE |
#11
|
||||
|
||||
Sorry, didn't realize you didn't have debug logging on. Can you go into Setup->Detailed Setup->Advanced and turn on Debug Logging?
Or just set debug_logging=true in the Sage.properties file since you clearly know how to edit that.
__________________
Jeffrey Kardatzke Founder of SageTV |
#12
|
|||
|
|||
Here is my sagetv_0.txt log file after I set the "allow_unicode_characters_in_generated_filenames" option to TRUE
and the debug_logging to TRUE |
#13
|
|||
|
|||
Here is my sagetv_0.txt log file after I set the "allow_unicode_characters_in_generated_filenames" option back to FALSE
but with "extended_filenames" set to TRUE and and the debug_logging to TRUE |
#14
|
||||
|
||||
Now I see the problem. Apparently the patch submitted last year for changing how extended_filenames behaves allows Unicode characters through. I'm not entirely sure why they changed it that way. I pinged the author of that change to find out more details.
__________________
Jeffrey Kardatzke Founder of SageTV |
#15
|
||||
|
||||
The purpose was to create a filename that represented as close as possible the 'real' name of the program being recorded. There is a list of characters not allowed to be used as they are typically not allowed by file systems.
I can review the logic to perhaps only allow a limited set of extra characters to be used. |
#16
|
|||
|
|||
It could be a good compromise. If you can allow some extended ASCII codes (code 128 to 165) it should do for French titles. Also allowing the space would be nice.
You could also replace the accent character by is non character equivalent ( é => e, à => a) Last edited by sigl; 09-12-2016 at 07:34 AM. |
#17
|
|||
|
|||
any updates?
|
#18
|
||||
|
||||
Yes a patch was submitted. It will show up on the next release.
|
#19
|
|||
|
|||
Hello, I just test the patch and it's almost working!
I have set "extended_filenames" to true and now the recording are working but I loose the accent characters. example : The original Show name is "1, 2, 3 Géant" and the recorded filename is "1, 2, 3 Gant - 211681-0.mpg". The "é" characters is lost! If I set also "allow_unicode_characters_in_generated_filenames" to true then Sage create the correct filename but I stay at 0KB and cannot be viewed while recording and the recording end it generate and error exactly as my older post. I looked at the MediaFile.java and I saw that you add the LEGAL_FILE_NAME_CHARACTERS declaration, If the accents characters (é, è, à, î, ... )where added there would it resolve my problem ? |
#20
|
||||
|
||||
No, that wouldn't resolve it because then it'd just be generating the same filename as if you have unicode characters enabled. Can you post the log from when you reproduce the problem with it just recording 0KB files with unicode enabled?
__________________
Jeffrey Kardatzke Founder of SageTV |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Unwanted channels on Linux with HDHomeRun | mwnswiss | SageTV Github Development | 0 | 10-10-2015 04:11 PM |
Will an HDHomeRun tune better than an HVR-1600? | gregmac | Hardware Support | 2 | 11-25-2010 09:11 AM |
Can tune some channels in HDHomeRun QuickTV but not SageTV | Rosenbagel | Hardware Support | 5 | 08-06-2010 11:32 AM |
HDHomerun Slow to Tune | Electronicbuff | Hardware Support | 4 | 08-12-2009 08:10 AM |
PVR-150 no sound on a few channels (+ How to fine tune channels?) | Evil Techie | Hardware Support | 12 | 12-08-2005 04:12 PM |