|
SageTV v9 Customizations This forums is for discussing and sharing user-created modifications for the SageTV version 9 application created by using the SageTV Studio or through the use of external plugins. Use this forum to discuss plugins for SageTV version 9 and newer. |
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
Weather Keeps Switching to Fahrenheit In Open Source Version
I noticed an odd issue since upgrading to version 9 (server is Windows 7 64 bit).
The weather units keep switching from metric to English. This is only happening on my HD300. SageTV client running on Windows keeps the correct units. It appears to happen every time the SageTV service is restarted. Has anyone else seen this? I did a search and found a thread from a few years ago with people reporting this is happening, but it looks like it was just related to running Gemstone. Although I do have Gemstone installed (and up to date), I use the default STV in SageTV. Any ideas? |
#2
|
|||
|
|||
I did a bit more research. It looks like the weather units are stored in weather_underground_cache.properties.
Fahrenheit is set using units=s, and Celsius is set using units=m. If I change the units via the SageTV UI, and setting is changed correctly in the file to units=m. However, whenever the SageTV service is restarted, the value is changed to units=s. Anyone know how to fix it? |
#3
|
|||
|
|||
My guess is that you need that setting on the server in the sagetv.properties for it to stick.
k
__________________
If you wish to see what I am up to and support my efforts visit my Patreon page |
#4
|
|||
|
|||
Any idea how I would format the property? In Sage.properties, most of the settings are long strings like something/weather/units=m. I'm guessing just sticking units=m in Sagetv.properties won't work without some type of path in front of it.
I did find a units setting in the sagetv.properties setting, but it was related to Phoenix weather. I changed this setting to 'm', but it doesn't seem to affect the main weather settings. |
#5
|
|||
|
|||
I do not know. If you can run the client on the server or another pc and change that setting then you can copy the setting from that properties file.
But this seems odd as i am sure others have changed this before. almost seems like you do not have permission to update the properties file through sage. Do you run as a service? if so , do you use a specific account for the service as you likely need to. k
__________________
If you wish to see what I am up to and support my efforts visit my Patreon page |
#6
|
|||
|
|||
Yes, I do run as a service. I run it as a particular user (I forget the reason why, might have been something to do with network settings or the USB-UIRT, it's been years since I set it up this way).
This setting was working perfectly fine for years until I upgraded from version 7 to version 9. All of the settings for weather seem to be stored in weather_underground_cache.properties, not in sage.properties. The units setting in weather_underground_cache.properties does indeed get changed when I change it via SageTV, but as soon as the service is stopped and started again (from either a reboot, plugin update, etc), it is reverted to the prior setting. |
#7
|
|||
|
|||
I did some more testing and I'm starting to narrow down the cause.
The units setting isn't getting reset when the service is restarted. It gets reset whenever my HD300 is turned on. If I set the units=m, restart the service, and launch a Windows SageTV client... the weather units stay metric. As soon as my HD300 turns on though, it changes the units setting in weather_underground_cache.properties back to "s". I looked through the .properties file for the extender but I couldn't find anything helpful. I also search the sagetv_0.log file for any mention of the word "units", and nothing showed up either. I suspect there is something being loaded (a plugin/STVI) on the extender that is causing this. Any easy way to narrow it down? Edit: I deleted the properties file for the extender (and it's backup) to reset all the settings on the extender. The HD300 still resets the weather units setting each time it is started. Last edited by peternm22; 02-24-2017 at 10:37 PM. |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
SageTV Open Source Version? | SidKnee | SageTV United Kingdom | 8 | 06-14-2016 08:58 AM |
SageTV is Open Source!!! | Narflex | Announcements | 1 | 01-12-2016 10:36 AM |
Odd Weather Info Issue (not sure if it's related to the Open Source version or not) | stuckless | SageTV Github Development | 2 | 10-08-2015 04:50 AM |
Should I use the open source version now? | gacevich | SageTV Github Development | 9 | 08-17-2015 01:23 PM |
Open Source Movie | mikejaner | The SageTV Community | 1 | 10-14-2008 08:13 AM |