NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public NextPVR Support Windows v
« Previous 1 20 21 22 23 24 … 101 Next »
Genre Colors

 
  • 0 Vote(s) - 0 Average
Genre Colors
GWCowling323
Offline

Member

Posts: 125
Threads: 27
Joined: Jul 2016
#31
2021-01-02, 01:31 PM
(2020-05-08, 10:31 AM)Graham Wrote:
(2020-05-07, 02:32 PM)mvallevand Wrote: Adding these to the program/data/genres-mapping.xml file should get colours working for you,
Code:
<genre name="Series" type="48" subtype="0"/>
<genre name="Leisure and Hobbies" type="160" subtype="0"/>
<genre name="Arts and Culture" type="112" subtype="0"/>
<genre name="Social and Political" type="128" subtype="0"/>
<genre name="Sport" type="64" subtype="0"/>
<genre name="Childerens Programmes" type="80" subtype="0"/>
<genre name="Education and Science" type="144" subtype="0"/>
<genre name="Music and Dance" type="96" subtype="0"/>
<genre name="News and Current Affairs" type="32" subtype="0"/>



If I might be so bold as to transcibe Martin's shorthand ... "program/data/genres-mapping.xml" equals ... "C:\Program Files\NextPVR\data\genres-mapping.xml" ... Wink
GWCowling323
Offline

Member

Posts: 125
Threads: 27
Joined: Jul 2016
#32
2021-01-04, 10:42 AM
(2021-01-02, 01:31 PM)GWCowling323 Wrote: [quote pid="540175" dateline="1588933880"]

<genre name="Series" type="48" subtype="0"/>
<genre name="Leisure and Hobbies" type="160" subtype="0"/>
<genre name="Arts and Culture" type="112" subtype="0"/>
<genre name="Social and Political" type="128" subtype="0"/>
<genre name="Sport" type="64" subtype="0"/>
<genre name="Childerens Programmes" type="80" subtype="0"/>
<genre name="Education and Science" type="144" subtype="0"/>
<genre name="Music and Dance" type="96" subtype="0"/>
<genre name="News and Current Affairs" type="32" subtype="0"/>


If I might be so bold as to transcibe Martin's shorthand ... "program/data/genres-mapping.xml" equals ... "C:\Program Files\NextPVR\data\genres-mapping.xml" ... Wink

[/quote]

Put the base list of genres in genre-mapping.xml file, which is what I found in the directory noted. No genre colors. Changed the name to genres.mapping. Still no colors. I have attached the xml file I used.
Graham
Offline

Posting Freak

UK
Posts: 4,058
Threads: 102
Joined: Dec 2005
#33
2021-01-04, 12:25 PM
(2020-12-31, 04:12 PM)Graham Wrote: EPG genre colours are stored in a table in the NextPVR database.  The NextPVR V5 Settings app does not include a mechanism to update the genre colours in the database.

It is possible to use an SQLite editor to update the table in the database.  You will need to know the numeric values that are the equivalent for each of the colours that you want.

Or you could add an item to the wishlist ... and wait for Sub to get a round tuit.

(2021-01-04, 10:42 AM)GWCowling323 Wrote: Put the base list of genres in genre-mapping.xml file, which is what I found in the directory noted. No genre colors. Changed the name to genres.mapping. Still no colors. I have attached the xml file I used.

genres-mapping.xml is used with Emby ... NextPVR.exe and the NextPVR Web App use a table in the NextPVR database ... npvr.db3 ... as described earlier.

Everyone is urged to start their own thread when seeking support to minimise the risk of confusion.
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 52,953
Threads: 956
Joined: May 2006
#34
2021-01-04, 01:59 PM
A few corrections, the web app does use that table as well as Kodi. The Jellyfin NextPVR interface uses a different genre method,

Also support for the Emby interface was dropped several months ago.

Martin
GWCowling323
Offline

Member

Posts: 125
Threads: 27
Joined: Jul 2016
#35
2021-01-06, 04:17 PM
(2020-12-31, 04:12 PM)Graham Wrote: EPG genre colours are stored in a table in the NextPVR database.  The NextPVR V5 Settings app does not include a mechanism to update the genre colours in the database.

It is possible to use an SQLite editor to update the table in the database.  You will need to know the numeric values that are the equivalent for each of the colours that you want.

Or you could add an item to the wishlist ... and wait for Sub to get a round tuit.

Edited the the npvr.db3 database. Still no genre colors. I have attached it.
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 52,953
Threads: 956
Joined: May 2006
#36
2021-01-06, 04:18 PM
You can't attach db3 files or file larger then 2MB you need to find a link on the net, like OneDrive GoggleDrive, DropBox etc.

Martin
GWCowling323
Offline

Member

Posts: 125
Threads: 27
Joined: Jul 2016
#37
2021-01-07, 01:10 PM
(2021-01-06, 04:18 PM)mvallevand Wrote: You can't attach db3 files or file larger then 2MB you need to find a link on the net, like OneDrive GoggleDrive, DropBox etc.

Martin

 Can't figure out how to upload a .db3 file to GoogleDrive or OneDrive. A database file is not one of my choices
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 52,953
Threads: 956
Joined: May 2006
#38
2021-01-07, 01:25 PM
You can always zip it and send the zip file. You should be able to use Windows Explorer to access One Drive folders too.

Martin
Graham
Offline

Posting Freak

UK
Posts: 4,058
Threads: 102
Joined: Dec 2005
#39
2021-01-07, 01:45 PM
(2021-01-07, 01:10 PM)GWCowling323 Wrote:  Can't figure out how to upload a .db3 file to GoogleDrive or OneDrive. A database file is not one of my choices

(2021-01-07, 01:25 PM)mvallevand Wrote: You can always zip it and send the zip file. You should be able to use Windows Explorer to access One Drive folders too.

Right click on the npvr.db3 file and select ... Send to ... and then ... Compressed (zipped) folder ... This will create a zip file containg the npvr.db3 file.

It should be possible to upload a zip file to most (or all) online storage services.
GWCowling323
Offline

Member

Posts: 125
Threads: 27
Joined: Jul 2016
#40
2021-01-07, 04:00 PM
[quote pid="551542" dateline="1610027100"]
(2021-01-07, 01:25 PM)mvallevand Wrote: You can always zip it and send the zip file. You should be able to use Windows Explorer to access One Drive folders too.

Zipped it for you
[/quote]


Attached Files
.zip   npvr.db3.zip (Size: 2.04 KB / Downloads: 6)
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (6): « Previous 1 2 3 4 5 6 Next »


Possibly Related Threads…
Thread Author Replies Views Last Post
  Web App Genre Colors jrockow 5 741 2024-01-03, 08:30 PM
Last Post: jrockow
  Shows scheduled to record aren't colored in guide unless genre colors disabled 4zm4r3d02 4 2,497 2020-04-16, 11:35 PM
Last Post: mvallevand
  Genre Color jrockow 3 1,178 2020-03-25, 11:26 PM
Last Post: mvallevand

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D, modified by NextPVR - Powered by MyBB

Linear Mode
Threaded Mode