NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public NextPVR Support Legacy (v4.x and earlier) v
« Previous 1 … 138 139 140 141 142 … 433 Next »
Schedules Direct Genre

Schedules Direct Genre
macedo666
Offline

Junior Member

Posts: 13
Threads: 7
Joined: May 2015
#1
2016-03-07, 07:40 PM
Sorry,

I don't know if here is the best place to ask for this.

I'm using schedules direct for next pvr now. I used to use an xmltv file from a provider that doesn't exists anymore.

My question is.

I'm brazilian and I know that schedules direct is outputing even for the Brazilian listing genres only in english.

Is there any way to have some sort of layer in between the schedules direct and nextpvr so the genres can be translated from a table?

Thanks,

Marcelo.
johnsonx42
Offline

Posting Freak

Posts: 7,298
Threads: 189
Joined: Sep 2008
#2
2016-03-07, 08:57 PM
you'd have to use an xmltv grabber for schedules direct (MC2XML will do it, as will XMLTVProject), then process the resulting XMLTV file to replace all the english <Genre> tags with your translated strings before feeding it to NPVR (so this would all be done in the UpdateEPG.bat script). I believe sed (https://sourceforge.net/projects/gnuwin3...sed/4.2.1/) can be used to do the replacements, but I don't know the syntax.
server: NextPVR 5.0.7/Win10 2004/64-bit/AMD A6-7400k/hvr-2250 & hvr-1250/Winegard Flatwave antenna/Schedules Direct
main client: NextPVR 5.0.7 Desktop Client; LG 50UH5500 WebOS 3.0 TV
ElihuRozen
Offline

Senior Member

Massachusetts, USA
Posts: 514
Threads: 51
Joined: Apr 2006
#3
2016-03-07, 11:17 PM
johnsonx42 Wrote:you'd have to use an xmltv grabber for schedules direct (MC2XML will do it, as will XMLTVProject), then process the resulting XMLTV file to replace all the english <Genre> tags with your translated strings before feeding it to NPVR (so this would all be done in the UpdateEPG.bat script). I believe sed (https://sourceforge.net/projects/gnuwin3...sed/4.2.1/) can be used to do the replacements, but I don't know the syntax.

Instead of sed, you could use xslt transforms based on pBS's excellent work here: http://forums.nextpvr.com/showthread.php...transforms

If you were going to use sed, this is what the command would look like if you did it on Linux:
sed -i -e "s/Comedy/Comédia/g" -e "s/EnglishGenre2/BrazilianTranslation2/g" -e "s/EnglishGenre3/BrazilianTranslation3/g" epg.xml
Replace epg.xml with whatever filename you actually use. You could have more than three listed, I just wanted to show examples.
Tuners: SD HDHR Prime (HDHR3-CC). SD HDHR Connect Quatro Tuner (HDHR5-4US) - only QAM.  EXVIST H.265 Encoder - capturing cable box.
Client: Odroid-N2 running knewc on KODI - connected via MoCA.
EPG: SchedulesDirect
Provider: Verizon Fios
Server: Dell XPS 8700 with Windows 10
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 53,115
Threads: 957
Joined: May 2006
#4
2016-03-07, 11:24 PM
Maybe the NextPVR translation engine (ie create Languages\Brasil.xml) would work on all NextPVR screen display?

Martin
rkulagow
Offline

Member

Posts: 176
Threads: 12
Joined: Dec 2014
#5
2016-03-08, 12:35 AM
Using the native translation engine is probably going to be a lot more supportable in the future, and could be used by other users as well.
ACTCMS
Offline

Posting Freak

UK
Posts: 2,730
Threads: 101
Joined: Jun 2007
#6
2016-03-08, 12:57 AM
mvallevand Wrote:Maybe the NextPVR translation engine (ie create Languages\Brasil.xml) would work on all NextPVR screen display?

Martin
I don't think it will work on Genre since the Genre definitions are stored in npvr.db3...

Alex
macedo666
Offline

Junior Member

Posts: 13
Threads: 7
Joined: May 2015
#7
2016-03-21, 02:00 PM
Thanks for all Advices.

I cannot change the Genre with the translation engine sadly.

What I did is a simple vb.net exe to manipulate the xml file from mc2xml changing the ratings and also translatin the genres.

If anyone want's to see the simple code I can provide it.

Thanks,

Marcelo.
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  EPG Schedules Direct jwalbrook 6 4,144 2020-12-07, 07:43 PM
Last Post: mvallevand
  How to delete a Schedules Direct Lineup from Version 4? mwkurt 2 1,702 2020-07-19, 02:32 PM
Last Post: mwkurt
  Schedules Direct issues artmetz 4 2,020 2020-04-22, 12:13 AM
Last Post: artmetz
  TV Guide edit Genre for Kodi sammy3 8 3,881 2020-03-10, 09:25 PM
Last Post: sammy3
  EPG/Schedules Direct Epitaph 7 2,940 2019-12-12, 03:59 AM
Last Post: Epitaph
  Record direct from live tv? rv0987 3 1,990 2019-11-01, 12:29 PM
Last Post: rv0987
  How do you get channel icons from Schedules Direct SilverTiger 17 6,118 2019-06-28, 02:13 AM
Last Post: sub
  Schedules direct Username and password within the config file Brucek2839 5 2,347 2019-06-16, 02:44 PM
Last Post: Brucek2839
  NextPVR with Ceton InfiniTV, Comcast Card and Schedules Direct add new channels EiEiOhh 5 5,732 2019-06-02, 12:47 AM
Last Post: EiEiOhh
  Genre Coloring gambo1953 22 7,076 2019-01-12, 10:57 PM
Last Post: sub

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

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

Linear Mode
Threaded Mode