Add EPG for AnySee N7 Adapter
#1
I'm currently trying to add EPG support for the anysee N7 network-DVB-adapter. This is a little bit tricky as the adapter must be tuned to a channel before the EPG for that channel can be retrieved.

My idea was to add the EPG-Events after a channelswitch - but I don't know how I can insert the EPG data; GetEPGForChannel does not work because at the time it is being called the epg data cannot be fetched, and I cannot call PVR->TransferEpgEntry because I don't have the ADDON_HANDLE.

Any ideas how I could solve this?
VU+ / Enigma2 PVR Client: Documentation | Development | Discussion
Reply
#2
hmm that's nice. I'll have a look at it
opdenkamp / dushmaniac

xbmc-pvr [Eden-PVR builds] [now included in mainline XBMC, so no more source link here :)]
personal website: [link]

Found a problem with PVR? Report it on Trac, under "PVR - core components". Please attach the full debug log.

If you like my work, please consider donating to me and/or Team XBMC.
Reply
#3
right, I spoke with the manufacturer and this is indeed the case and isn't easy to add in the current structure. I'll see if I can come up with something that's not too intrusive for Frodo so we can still get the data in.
opdenkamp / dushmaniac

xbmc-pvr [Eden-PVR builds] [now included in mainline XBMC, so no more source link here :)]
personal website: [link]

Found a problem with PVR? Report it on Trac, under "PVR - core components". Please attach the full debug log.

If you like my work, please consider donating to me and/or Team XBMC.
Reply
#4
Ahh, so I guess you are in contact with John, too? Smile

I'll wait for your reply - I think this would be a great improvement in general, so that we could maybe even hook up external EPG resources in the addons...
VU+ / Enigma2 PVR Client: Documentation | Development | Discussion
Reply
#5
Yup, I agree that it would be an improvement if the PVR addon could send an EPG update to XBMC on its own after the current EPG scan loop.
With the MediaPortal TV Server I can already trigger the PVR addon when the backend received an EPG update for a specific channel.
Developer of the MediaPortal PVR addon and retired developer of the Argus-TV PVR-addon.
http://www.scintilla.utwente.nl/~marcelg/xbmc
Reply
#6
yeah that would be nice, but is not going to make it into Frodo. at least not in the initial release. too late for a change like this now. the epg and pvr code have been decoupled for the most part, and todo's are present where support needs to be added. just too late to do it now.
opdenkamp / dushmaniac

xbmc-pvr [Eden-PVR builds] [now included in mainline XBMC, so no more source link here :)]
personal website: [link]

Found a problem with PVR? Report it on Trac, under "PVR - core components". Please attach the full debug log.

If you like my work, please consider donating to me and/or Team XBMC.
Reply
#7
I have seen that you have added a new callback for updating the EPG of a channel - for this purpose is suppose? You didn't mention it in the "PVR API Changes"-thread; did you simply forget it, or is it not "ready to use"-yet?
VU+ / Enigma2 PVR Client: Documentation | Development | Discussion
Reply
#8
I have tested it with the DVBViewer PVR and works perfectly. It's a great feature to get the EPG for those channels with only now and next events Smile
Reply
#9
Maybe adding support for own grabbed XMLTV data instead?
If i understand this works something like vtuner that share tuners over the network?
 
Intel Core i5 2320 8GB 500GB HDD - Tvheadend + Kodi, Raspberry Pi 3 - LibreELEC, HDHomeRun HDHR3-4DC, Epson TW3200, Pioneer VSX-1123
Reply
#10
(2012-10-11, 23:07)Leatherface Wrote: Maybe adding support for own grabbed XMLTV data instead?
If i understand this works something like vtuner that share tuners over the network?

I thought about this, too. But it looks like it is impossible to grab XMLTV for german channels without paying for it Sad
VU+ / Enigma2 PVR Client: Documentation | Development | Discussion
Reply
#11
(2012-10-11, 14:09)jdembski Wrote: I have seen that you have added a new callback for updating the EPG of a channel - for this purpose is suppose? You didn't mention it in the "PVR API Changes"-thread; did you simply forget it, or is it not "ready to use"-yet?

correct. and i forgot to mention it there Smile
opdenkamp / dushmaniac

xbmc-pvr [Eden-PVR builds] [now included in mainline XBMC, so no more source link here :)]
personal website: [link]

Found a problem with PVR? Report it on Trac, under "PVR - core components". Please attach the full debug log.

If you like my work, please consider donating to me and/or Team XBMC.
Reply
#12
and added
opdenkamp / dushmaniac

xbmc-pvr [Eden-PVR builds] [now included in mainline XBMC, so no more source link here :)]
personal website: [link]

Found a problem with PVR? Report it on Trac, under "PVR - core components". Please attach the full debug log.

If you like my work, please consider donating to me and/or Team XBMC.
Reply
#13
(2012-10-12, 10:55)jdembski Wrote:
(2012-10-11, 23:07)Leatherface Wrote: Maybe adding support for own grabbed XMLTV data instead?
If i understand this works something like vtuner that share tuners over the network?

I thought about this, too. But it looks like it is impossible to grab XMLTV for german channels without paying for it Sad
No problem for swedish channels atleast Smile
 
Intel Core i5 2320 8GB 500GB HDD - Tvheadend + Kodi, Raspberry Pi 3 - LibreELEC, HDHomeRun HDHR3-4DC, Epson TW3200, Pioneer VSX-1123
Reply
#14
Any news regarding this topic? I use my N7 daily and I like to watch the HD channels on my XBMC station
Reply
#15
(2012-12-11, 23:12)Satwilly Wrote: Any news regarding this topic? I use my N7 daily and I like to watch the HD channels on my XBMC station

I'm working on it.

This is a quick hack to get it to work: https://github.com/jdembski/xbmc-pvr-add...e/njoy_epg

However, I need some help with it. Problem is, that the when I call PVR->TriggerEpgUpdate I get an error, that the channel is invalid or that the channel doesn't have an EPG

Code:
13:44:20 T:4370075648   DEBUG: AddOnLog: Njoy N7 PVR Client: Process - Trigger EPGUpdate fpr channel '0'
13:44:20 T:4370075648   ERROR: PVR - PVRTriggerEpgUpdate - invalid channel or channel doesn't have an EPG

The channel number should be correct - but what does "or channel doesn't have an EPG" mean? Lars, can you shed some light on this?
VU+ / Enigma2 PVR Client: Documentation | Development | Discussion
Reply

Logout Mark Read Team Forum Stats Members Help
Add EPG for AnySee N7 Adapter0