NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Kodi / XBMC v
« Previous 1 … 31 32 33 34 35 … 43 Next »
Gotham build of pvr.nextpvr

 
  • 0 Vote(s) - 0 Average
Gotham build of pvr.nextpvr
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 53,183
Threads: 958
Joined: May 2006
#1
2013-10-30, 03:18 AM
If you are using Gotham for Windows, I took 1.8.4 from the Opdenkamp and applied sub's Timeshift frodo 12.3 changes and it seems to work ok. This has a proper xbmc.log logging

21:31:46 T:28304 DEBUG: AddOnLog: NextPVR PVR Client: CloseLiveStream
21:31:46 T:28304 DEBUG: AddOnLog: NextPVR PVR Client: Telling backend of live session closure

and it has much less debug log spam too.

These should overwrite the file(s) in %ProgramFiles\XBMC\addons\pvr.nextpvr and need to be reapplied when you update the nightly.

sub I also tried to fix genre support but for some reason genre is not returned to xbmc like it is to the browser the difference seems to be the range request

Code:
2013-10-29 23:01:03.106    [DEBUG][26]    Got Web Request (172.16.3.53): /service    method=channel.listings&channel_id=7981&start=1383098047&end=1383360847&sid=1393e910153241ed8844042a2f4c2598
2013-10-29 23:01:03.107    [DEBUG][26]    method=channel.listings
2013-10-29 23:01:03.107    [DEBUG][26]    parameters:
2013-10-29 23:01:03.107    [DEBUG][26]       method: channel.listings
2013-10-29 23:01:03.107    [DEBUG][26]       channel_id: 7981
2013-10-29 23:01:03.107    [DEBUG][26]       start: 1383098047
2013-10-29 23:01:03.107    [DEBUG][26]       end: 1383360847
2013-10-29 23:01:03.107    [DEBUG][26]       sid: 1393e910153241ed8844042a2f4c2598
2013-10-29 23:01:03.107    [DEBUG][26]       client_ip: 172.16.3.53
2013-10-29 23:01:03.107    [DEBUG][26]       host_callback: 172.16.3.2:8866
2013-10-29 23:01:03.107    [DEBUG][26]       physical_path: C:\Users\Public\NPVR\web\
2013-10-29 23:01:03.107    [DEBUG][26]       user_agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Firefox/24.0
2013-10-29 23:01:03.107    [DEBUG][26]       range:
2013-10-29 23:01:03.107    [DEBUG][26]       requested_path: /service
2013-10-29 23:01:03.107    [DEBUG][26]       verb: GET
2013-10-29 23:01:03.128    [DEBUG][26]    <?xml version="1.0" encoding="utf-8" ?>
vs
2013-10-29 22:54:14.103    [DEBUG][26]    Got Web Request (172.16.3.53): /service    method=channel.listings&channel_id=7981&start=1383098047&end=1383360847&sid=1393e910153241ed8844042a2f4c2598
2013-10-29 22:54:14.103    [DEBUG][26]    method=channel.listings
2013-10-29 22:54:14.103    [DEBUG][26]    parameters:
2013-10-29 22:54:14.103    [DEBUG][26]       method: channel.listings
2013-10-29 22:54:14.103    [DEBUG][26]       channel_id: 7981
2013-10-29 22:54:14.103    [DEBUG][26]       start: 1383098047
2013-10-29 22:54:14.103    [DEBUG][26]       end: 1383360847
2013-10-29 22:54:14.103    [DEBUG][26]       sid: 1393e910153241ed8844042a2f4c2598
2013-10-29 22:54:14.103    [DEBUG][26]       client_ip: 172.16.3.53
2013-10-29 22:54:14.103    [DEBUG][26]       host_callback: 172.16.3.2:8866
2013-10-29 22:54:14.103    [DEBUG][26]       physical_path: C:\Users\Public\NPVR\web\
2013-10-29 22:54:14.103    [DEBUG][26]       user_agent: XBMC/13.0-ALPHA9 Git:20131029-0303047 (Windows NT 6.1;WOW64;Win64;x64; http://xbmc.org)
2013-10-29 22:54:14.103    [DEBUG][26]       range: bytes=0-
2013-10-29 22:54:14.103    [DEBUG][26]       requested_path: /service
2013-10-29 22:54:14.103    [DEBUG][26]       verb: GET

Martin
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,807
Threads: 769
Joined: Nov 2003
#2
2013-10-30, 04:38 AM
mvallevand Wrote:sub I also tried to fix genre support but for some reason genre is not returned to xbmc like it is to the browser the difference seems to be the range request
What's broken about the genre? I get the coloring and the expected genre in XBMC.
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 53,183
Threads: 958
Joined: May 2006
#3
2013-10-30, 04:53 AM
sub Wrote:What's broken about the genre? I get the coloring and the expected genre in XBMC.

There's no genre markup in the xml I get here and it looks like you are looking for field genre_type and genre_subtype I don't ever see in the api https://github.com/sub3/xbmc-pvr-addons/...extpvr.cpp

I thought I would try to use broadcast.iGenreType = EPG_GENRE_USE_STRING to just output the genre field as text but it isn't included either

Martin
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,807
Threads: 769
Joined: Nov 2003
#4
2013-10-30, 05:01 AM
mvallevand Wrote:There's no genre markup in the xml I get here and it looks like you are looking for field genre_type and genre_subtype I don't ever see in the api https://github.com/sub3/xbmc-pvr-addons/...extpvr.cpp
Ah, that's right... There was a small change that wasn't committed, which corrected this. I posted the binaries for it, but thinking back, it look like it wasn't going to be included in Frodo so I decided to include it later when I made Gotham changes, but that never happened.

For the record, if the user agent indicates xbmc, then you get a <genre> tag, otherwise you get <genre_type> and <genre_subtype>.
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 53,183
Threads: 958
Joined: May 2006
#5
2013-10-30, 05:23 AM
If you look at my output above, when user agent include XBMC I got nothing, when it is mozilla I get genre

Code:
<l>
   <id>39838990</id>
   <name>A History of Scotland</name>
   <description>God&apos;s Chosen People: Neil Oliver presents the story of the Covenanters.</description>
   <start>1383109200000</start>
   <end>1383112800000</end>
   <genre>Series</genre>
</l>

<l>
   <id>39838990</id>
   <name>A History of Scotland</name>
   <description>God&apos;s Chosen People: Neil Oliver presents the story of the Covenanters.</description>
   <start>1383109200000</start>
   <end>1383112800000</end>
</l>

Martin
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,807
Threads: 769
Joined: Nov 2003
#6
2013-10-30, 05:28 AM
Sorry, I got it backwards, but it only works if you have xbmc-genre-translation.xml in the data directory.
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,807
Threads: 769
Joined: Nov 2003
#7
2013-10-30, 05:40 AM
Ah, ignore everything I told you earlier in this thread Big Grin

I'm pretty sure the genre stuff is there and working, but you don't get the genre because you'd need to add your mappings to xbmc-genre-translation.xml. The default file provides all the mappings straight from the DVB spec, of name to type/subtype, since this was what XBMC genre mapping was designed around (from TVHeadEnd). No such defined mapping exists for genre strings from Schedules Direct. If someone creates one though, I'm happy to include it in future versions of the file.
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 53,183
Threads: 958
Joined: May 2006
#8
2013-10-30, 06:55 PM
sub Wrote:Ah, ignore everything I told you earlier in this thread Big Grin

I'm pretty sure the genre stuff is there and working, but you don't get the genre because you'd need to add your mappings to xbmc-genre-translation.xml. The default file provides all the mappings straight from the DVB spec, of name to type/subtype, since this was what XBMC genre mapping was designed around (from TVHeadEnd). No such defined mapping exists for genre strings from Schedules Direct. If someone creates one though, I'm happy to include it in future versions of the file.

Right now genre from non-xmblc doesn't work right anyway because I don't see them merged all merged Movie;Comedy so I don't know how to map that as Movie type Comedy subtype in the xml file

Maybe it be possible to support the genre (with all the Schedules Direct genres together? XBMC supports this protocol

Code:
if (pListingNode->FirstChildElement("genre") != NULL && pListingNode->FirstChildElement("genre")->FirstChild()->Value() != NULL)
        {
                  broadcast.iGenreType  = EPG_GENRE_USE_STRING;
          broadcast.iGenreSubType = 0;
          char genreDescription[128];
          PVR_STRCPY(genreDescription,pListingNode->FirstChildElement("genre")->FirstChild()->Value());
          broadcast.strGenreDescription = genreDescription;
        }

and it might make the logic in NextPVR a lot easier (I think).

Martin
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,807
Threads: 769
Joined: Nov 2003
#9
2013-10-30, 07:01 PM
Are you kidding - how long do you think it'd take to get that change into XBMC Big Grin

Much easier to make any changes on the PC side.
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 53,183
Threads: 958
Joined: May 2006
#10
2013-10-30, 07:11 PM
XBMC has had that since Feb they did it for argustv

Martin
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (2): 1 2 Next »


Possibly Related Threads…
Thread Author Replies Views Last Post
  NextPVR and Android 10 charlyms 7 1,083 2024-11-17, 09:39 PM
Last Post: mvallevand
  NextPVR Client for CoreELEC ChrisI 3 798 2024-09-07, 10:11 PM
Last Post: mvallevand
  Kodi 21.0 Omega/NextPVR 21.1.0 PVR & Live TV Group Manager bouilliabai 28 5,009 2024-08-06, 10:00 PM
Last Post: sub
  Kodi Omega NextPVR Recordings short press context menu (More... item) mmortal03 5 1,234 2024-04-18, 11:19 PM
Last Post: mmortal03
  How to change the recording directory in NextPVR v5 RylanWilkinson 1 909 2024-02-20, 04:29 PM
Last Post: sub
  Kodi NextPVR playback error "Playback Failed" eggburt 6 2,493 2024-02-16, 04:33 AM
Last Post: eggburt
  Nextpvr add-on for Kodi won't sync channels WagMan 3 1,047 2023-12-23, 01:06 AM
Last Post: mvallevand
  NextPVR not starting or couldn't be loaded Apple TV on Kodi start Ade_AV 19 3,160 2023-08-25, 01:12 AM
Last Post: mvallevand
  NextPVR latest version went missing. Ericktreetops 2 908 2023-08-10, 12:43 PM
Last Post: mvallevand
  Disable Live-TV buffering when using Kodi NextPVR add-on spin35 11 2,444 2023-05-06, 01:48 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