SageTV Community  

Go Back   SageTV Community > SageTV Development and Customizations > SageTV Github Development
Forum Rules FAQs Community Downloads Today's Posts Search

Notices

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.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 04-19-2017, 01:55 PM
Galaxysurfer Galaxysurfer is offline
Sage Aficionado
 
Join Date: Jun 2009
Location: Calgary, AB CANADA
Posts: 396
View TV Category Colors

hi,

I have 2 outstanding bugs. I am using open source SageTV V9.0.14.568 Server on Win 10 64 bit. Whenever I go into Category Colors to tweek my settings & choose add category & custom color it freezes up my desktop. I need to signout of user in order to regain control of desktop. ( I use display sagetv on top of everything else). I also notice that often whenever I choose a color, the displayed color doesn't match my selection. This is frustrating when the improperly displayed color matches one of my other categories and color combinations. It throws my sorting & display of library out the window.
I also notice that some of the listed categories in the add new category from list provided in Sagetv do not function. They seem to be a dummy placeholder rather than functional.
Keep up the good work! If I had the skillset to help with coding etc I would.
Reply With Quote
  #2  
Old 05-20-2017, 06:51 PM
Galaxysurfer Galaxysurfer is offline
Sage Aficionado
 
Join Date: Jun 2009
Location: Calgary, AB CANADA
Posts: 396
customizing bugs

Having moved from the default sagetv epg to schedulesdirect it seems to have solved the one problem with categories. On a related note it seems to occur in shows with multiple category assignments. I guess key there is to custom assign them per show. Still finding an issue with being able to customize colours for categories. If I use the standard choices no issue. When I go to custom choices the screen freezes. Seems to be connected somehow to using sagetv as a service. I dont know how to edit /customize settings in default mode & have them stick when I go back to service mode & retain all my profile settings. Plugins issue?

Last edited by Galaxysurfer; 05-20-2017 at 07:16 PM.
Reply With Quote
  #3  
Old 05-22-2017, 10:43 AM
Narflex's Avatar
Narflex Narflex is offline
Sage
 
Join Date: Feb 2003
Location: Redondo Beach, CA
Posts: 6,349
Ohh...if you try to not use the standard colors, then I believe it is launching a java.awt.ColorChooser in order to pick another one. And that'll just end up hanging an extender/placeshifter...but I'd expect it to work with a SageTVClient or standalone SageTV.
__________________
Jeffrey Kardatzke
Google
Founder of SageTV
Reply With Quote
  #4  
Old 05-22-2017, 01:09 PM
Fuzzy's Avatar
Fuzzy Fuzzy is offline
SageTVaholic
 
Join Date: Sep 2005
Location: Jurupa Valley, CA
Posts: 9,957
Quote:
Originally Posted by Narflex View Post
Ohh...if you try to not use the standard colors, then I believe it is launching a java.awt.ColorChooser in order to pick another one. And that'll just end up hanging an extender/placeshifter...but I'd expect it to work with a SageTVClient or standalone SageTV.
Does this mean someone needs to develop an in-STV color chooser?
__________________
Buy Fuzzy a beer! (Fuzzy likes beer)

unRAID Server: i7-6700, 32GB RAM, Dual 128GB SSD cache and 13TB pool, with SageTVv9, openDCT, Logitech Media Server and Plex Media Server each in Dockers.
Sources: HRHR Prime with Charter CableCard. HDHR-US for OTA.
Primary Client: HD-300 through XBoxOne in Living Room, Samsung HLT-6189S
Other Clients: Mi Box in Master Bedroom, HD-200 in kids room
Reply With Quote
  #5  
Old 05-22-2017, 06:05 PM
Galaxysurfer Galaxysurfer is offline
Sage Aficionado
 
Join Date: Jun 2009
Location: Calgary, AB CANADA
Posts: 396
My only issue seems to continuity between show data categories esp when switching from sagetv default to schedulesdirect.

ie in default the late late show with james corden is given category talk
in schedulesdirect it is given category talk show
so previous colour assignment isnt recognized. the other issue is when a show is given multiple categories it defaults to first in list. there is a glitch for home/garden it returns a null, so basically that category is unusable. Basically just needs some code clean up i think. If i knew enough about code specifics i would take it on for myself.

also for me there is confusion between default config settings vs user customization.
Reply With Quote
  #6  
Old 05-22-2017, 08:01 PM
EnterNoEscape's Avatar
EnterNoEscape EnterNoEscape is offline
SageTVaholic
 
Join Date: Jun 2010
Location: Harrisburg, PA
Posts: 2,657
Quote:
Originally Posted by Galaxysurfer View Post
My only issue seems to continuity between show data categories esp when switching from sagetv default to schedulesdirect.

ie in default the late late show with james corden is given category talk
in schedulesdirect it is given category talk show
so previous colour assignment isnt recognized. the other issue is when a show is given multiple categories it defaults to first in list. there is a glitch for home/garden it returns a null, so basically that category is unusable. Basically just needs some code clean up i think. If i knew enough about code specifics i would take it on for myself.

also for me there is confusion between default config settings vs user customization.
Are you sure it's not just a matter of home/garden having that / in there that needs to be escaped for it to seen as a part of the string value and not a part of the property path? (e.g. home\/garden)
__________________
SageTV v9 Server: ASRock Z97 Extreme4, Intel i7-4790K @ 4.4Ghz, 32GB RAM, 6x 3TB 7200rpm HD, 2x 5TB 7200rpm HD, 2x 6TB 7200rpm HD, 4x 256GB SSD, 4x 500GB SSD, unRAID Pro 6.7.2 (Dual Parity + SSD Cache).
Capture: 1x Ceton InfiniTV 4 (ClearQAM), 2x Ceton InfiniTV 6, 1x BM1000-HDMI, 1x BM3500-HDMI.

Clients: 1x HD300 (Living Room), 1x HD200 (Master Bedroom).
Software: OpenDCT :: WMC Live TV Tuner :: Schedules Direct EPG
Reply With Quote
  #7  
Old 05-22-2017, 10:37 PM
Monedeath Monedeath is offline
Sage Expert
 
Join Date: Sep 2009
Location: Idaho
Posts: 514
Quote:
Originally Posted by EnterNoEscape View Post
Are you sure it's not just a matter of home/garden having that / in there that needs to be escaped for it to seen as a part of the string value and not a part of the property path? (e.g. home\/garden)
I wouldn't necessarily blame Schedules Direct for this issue either. The SageTV EPG service had been known to flip around the category descriptors for shows from one week to next in my own experience.

It certainly makes it annoying when you're grouping shows by Category and it cannot realize that Drama/Action and Action/Drama are essentially the same thing. Although I would agree that in theory there could be some subtle differences between the two.
Reply With Quote
  #8  
Old 05-22-2017, 10:48 PM
EnterNoEscape's Avatar
EnterNoEscape EnterNoEscape is offline
SageTVaholic
 
Join Date: Jun 2010
Location: Harrisburg, PA
Posts: 2,657
Quote:
Originally Posted by Monedeath View Post
I wouldn't necessarily blame Schedules Direct for this issue either. The SageTV EPG service had been known to flip around the category descriptors for shows from one week to next in my own experience.

It certainly makes it annoying when you're grouping shows by Category and it cannot realize that Drama/Action and Action/Drama are essentially the same thing. Although I would agree that in theory there could be some subtle differences between the two.
The data comes from TMS and I presume they generally just pull it in with very little modification. The best we could do on SageTV's side of things would be check for forward slashes and sort alphabetically to ensure they are always in the same order or separate them into their own two categories.
__________________
SageTV v9 Server: ASRock Z97 Extreme4, Intel i7-4790K @ 4.4Ghz, 32GB RAM, 6x 3TB 7200rpm HD, 2x 5TB 7200rpm HD, 2x 6TB 7200rpm HD, 4x 256GB SSD, 4x 500GB SSD, unRAID Pro 6.7.2 (Dual Parity + SSD Cache).
Capture: 1x Ceton InfiniTV 4 (ClearQAM), 2x Ceton InfiniTV 6, 1x BM1000-HDMI, 1x BM3500-HDMI.

Clients: 1x HD300 (Living Room), 1x HD200 (Master Bedroom).
Software: OpenDCT :: WMC Live TV Tuner :: Schedules Direct EPG
Reply With Quote
  #9  
Old 05-23-2017, 12:41 AM
Monedeath Monedeath is offline
Sage Expert
 
Join Date: Sep 2009
Location: Idaho
Posts: 514
Quote:
Originally Posted by EnterNoEscape View Post
The data comes from TMS and I presume they generally just pull it in with very little modification. The best we could do on SageTV's side of things would be check for forward slashes and sort alphabetically to ensure they are always in the same order or separate them into their own two categories.
I could see three paths.

1) sort (category) by alpha as you suggest and group in the first category only.
2) sort (category) by alpha and create "meta-groupings" that could include 2 or more categories on the same title. (I have personally see up to 3 categories on a recording from the Sage EPG, and as it uses the same upstream source....)
3) allow shows to appear in any (category) grouping it is flagged for, although this creates a sorting problem. As you could then have an NCIS episode get flagged for Action/Crime/Drama so that one recording would try to put all three categories at the top of the list for most recent recordings grouped by category.
Reply With Quote
  #10  
Old 05-23-2017, 04:40 AM
EnterNoEscape's Avatar
EnterNoEscape EnterNoEscape is offline
SageTVaholic
 
Join Date: Jun 2010
Location: Harrisburg, PA
Posts: 2,657
Quote:
Originally Posted by Monedeath View Post
I could see three paths.

1) sort (category) by alpha as you suggest and group in the first category only.
2) sort (category) by alpha and create "meta-groupings" that could include 2 or more categories on the same title. (I have personally see up to 3 categories on a recording from the Sage EPG, and as it uses the same upstream source....)
3) allow shows to appear in any (category) grouping it is flagged for, although this creates a sorting problem. As you could then have an NCIS episode get flagged for Action/Crime/Drama so that one recording would try to put all three categories at the top of the list for most recent recordings grouped by category.
2) I'm trying to follow this one. You're saying split the categories up into sub-categories within a category? I'm tempted to say that might actually reduce the number of Strings flying around because the categories would be more common/simple words and might be worth looking at. I'd need to take a look at my own database and see just how often we end up with the / in categories to see if that's really worth it.

3) I think this might be a little too weird behaviorally.
__________________
SageTV v9 Server: ASRock Z97 Extreme4, Intel i7-4790K @ 4.4Ghz, 32GB RAM, 6x 3TB 7200rpm HD, 2x 5TB 7200rpm HD, 2x 6TB 7200rpm HD, 4x 256GB SSD, 4x 500GB SSD, unRAID Pro 6.7.2 (Dual Parity + SSD Cache).
Capture: 1x Ceton InfiniTV 4 (ClearQAM), 2x Ceton InfiniTV 6, 1x BM1000-HDMI, 1x BM3500-HDMI.

Clients: 1x HD300 (Living Room), 1x HD200 (Master Bedroom).
Software: OpenDCT :: WMC Live TV Tuner :: Schedules Direct EPG
Reply With Quote
  #11  
Old 05-23-2017, 11:58 AM
Monedeath Monedeath is offline
Sage Expert
 
Join Date: Sep 2009
Location: Idaho
Posts: 514
Quote:
Originally Posted by EnterNoEscape View Post
2) I'm trying to follow this one. You're saying split the categories up into sub-categories within a category? I'm tempted to say that might actually reduce the number of Strings flying around because the categories would be more common/simple words and might be worth looking at. I'd need to take a look at my own database and see just how often we end up with the / in categories to see if that's really worth it.
As I reviewed recordings on the server here, I think that could end up being overly specific in some cases. I found one program that actually had 5 (!)category tags attached to it.

Also sorting by alpha can create some oddities as well. The more I look at it, this looks like a plugin or otherwise optional method that people need to intentionally enable rather than put in the default "stock" UI.

Edit: More specifically, I think the more "elegant" option would be someone to write a plugin that would allow someone to shift around the order in which the category tags are displayed. Which sounds like some of the metadata editors that have been around in various forms. As I don't think this is going yield well to a general automated approach without more direct guidance from the user in regards to specific programs(series).

Last edited by Monedeath; 05-23-2017 at 12:08 PM.
Reply With Quote
  #12  
Old 05-23-2017, 04:52 PM
Tiki's Avatar
Tiki Tiki is offline
Sage Icon
 
Join Date: Feb 2005
Location: Southwest Florida, USA
Posts: 2,009
I think there are 2 separate issues being discussed here:
1. Sage uses the slash character to separate multiple categories, but some category names happen to contain a slash (such as "home/garden"), which confuses Sage.
2. The EPG data is inconsistent in how it's signs categories. A show could be listed as crime / drama or drama/ crime. In this case drama and crime are two distinct categories. So when sorting by categories should Sage sort by only one of the categories (which one?), or the complete list, or, ?? I think for filtering Sage looks at both categories, but for sorting it only looks at the first one.
__________________
Server: Ryzen 2400G with integrated graphics, ASRock X470 Taichi Motherboard, HDMI output to Vizio 1080p LCD, Win10-64Bit (Professional), 16GB RAM
Capture Devices (7 tuners): Colossus (x1), HDHR Prime (x2)
,USBUIRT (multi-zone)
Source:
Comcast/Xfinity X1 Cable
Primary Client: Server Other Clients: (1) HD200, (1) HD300
Retired Equipment: MediaMVP, PVR150 (x2), PVR150MCE,
HDHR, HVR-2250, HD-PVR
Reply With Quote
  #13  
Old 05-23-2017, 05:26 PM
EnterNoEscape's Avatar
EnterNoEscape EnterNoEscape is offline
SageTVaholic
 
Join Date: Jun 2010
Location: Harrisburg, PA
Posts: 2,657
Quote:
Originally Posted by Tiki View Post
I think there are 2 separate issues being discussed here:
1. Sage uses the slash character to separate multiple categories, but some category names happen to contain a slash (such as "home/garden"), which confuses Sage.
2. The EPG data is inconsistent in how it's signs categories. A show could be listed as crime / drama or drama/ crime. In this case drama and crime are two distinct categories. So when sorting by categories should Sage sort by only one of the categories (which one?), or the complete list, or, ?? I think for filtering Sage looks at both categories, but for sorting it only looks at the first one.
Thanks for stepping up to clarify what we are really talking about. If I can improve the EPG solution so it's better for everyone, we want to do that. The ordering of the categories when they are in fact separate categories (not one category with a / in the middle) is the exact order they come in from Schedules Direct.

My understanding is that categories are ordered based on what category most strongly describes the show. This is why they will be out of order and makes perfect sense to me. If the show is more action than drama, action comes first. If the show is more action than adventure, action comes first. I believe because the first category is intended to capture the strongest descriptor of the show type and because of this you will not see consistency. Also as you likely guessed these are often just opinions and there is only subjective evidence that it's more one over the other.
__________________
SageTV v9 Server: ASRock Z97 Extreme4, Intel i7-4790K @ 4.4Ghz, 32GB RAM, 6x 3TB 7200rpm HD, 2x 5TB 7200rpm HD, 2x 6TB 7200rpm HD, 4x 256GB SSD, 4x 500GB SSD, unRAID Pro 6.7.2 (Dual Parity + SSD Cache).
Capture: 1x Ceton InfiniTV 4 (ClearQAM), 2x Ceton InfiniTV 6, 1x BM1000-HDMI, 1x BM3500-HDMI.

Clients: 1x HD300 (Living Room), 1x HD200 (Master Bedroom).
Software: OpenDCT :: WMC Live TV Tuner :: Schedules Direct EPG
Reply With Quote
  #14  
Old 05-23-2017, 08:42 PM
Monedeath Monedeath is offline
Sage Expert
 
Join Date: Sep 2009
Location: Idaho
Posts: 514
Quote:
Originally Posted by Tiki View Post
2. The EPG data is inconsistent in how it's signs categories. A show could be listed as crime / drama or drama/ crime. In this case drama and crime are two distinct categories. So when sorting by categories should Sage sort by only one of the categories (which one?), or the complete list, or, ?? I think for filtering Sage looks at both categories, but for sorting it only looks at the first one.
There is a "Drama" category. There is a "Crime" category. There also is a "Crime Drama" category. If I poked around enough in my recordings, I could probably provide examples of each. The category grouping process simply picks whichever one was listed first.
Reply With Quote
  #15  
Old 05-23-2017, 09:39 PM
Fuzzy's Avatar
Fuzzy Fuzzy is offline
SageTVaholic
 
Join Date: Sep 2005
Location: Jurupa Valley, CA
Posts: 9,957
It would be wise to touch base with Schedule Direct to see if they actually parse these into a specific set of options, or if it is exactly as it comes from the various networks.
__________________
Buy Fuzzy a beer! (Fuzzy likes beer)

unRAID Server: i7-6700, 32GB RAM, Dual 128GB SSD cache and 13TB pool, with SageTVv9, openDCT, Logitech Media Server and Plex Media Server each in Dockers.
Sources: HRHR Prime with Charter CableCard. HDHR-US for OTA.
Primary Client: HD-300 through XBoxOne in Living Room, Samsung HLT-6189S
Other Clients: Mi Box in Master Bedroom, HD-200 in kids room
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Opacity setting for category colors element33 SageTV v7 Customizations 2 12-27-2012 03:27 AM
Setting Category colors in guide? nyplayer SageTV Beta Test Software 2 08-10-2010 02:01 PM
Lose category colors in guide? Zippster SageMC Custom Interface 4 04-14-2009 09:47 AM
Washed out category colors paatus SageTV Software 11 10-12-2007 06:39 PM
Category names/colors thborchert SageTV Software 2 11-29-2005 02:44 AM


All times are GMT -6. The time now is 02:06 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2023, vBulletin Solutions Inc.
Copyright 2003-2005 SageTV, LLC. All rights reserved.