Skip to content

Commit

Permalink
Minimal support for PVR API 2.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
hudokkow committed Jul 19, 2015
1 parent 6c5e856 commit 96469be
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion pvr.mythtv/addon.xml
Expand Up @@ -6,7 +6,7 @@
provider-name="Christian Fetzer, Jean-Luc Barrière">
<requires>
<c-pluff version="0.1"/>
<import addon="xbmc.pvr" version="2.0.0"/>
<import addon="xbmc.pvr" version="2.1.0"/>
<import addon="xbmc.gui" version="5.8.0"/>
<import addon="xbmc.codec" version="1.0.1"/>
</requires>
Expand Down
1 change: 1 addition & 0 deletions src/client.cpp
Expand Up @@ -1191,5 +1191,6 @@ time_t GetBufferTimeEnd()
void DemuxReset() {}
const char * GetLiveStreamURL(const PVR_CHANNEL &) { return ""; }
void SetSpeed(int) {};
bool IsTimeshifting(void) { return false; }

This comment has been minimized.

Copy link
@janbar

janbar Jul 19, 2015

Should return 'true' any time for this addon. That avoid me to update later. Thanks @hudo.


} //end extern "C"

2 comments on commit 96469be

@hudokkow
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok, will change this after kodi-pvr#17 is in.

* EDIT* on second thought, you don't have the necessary changes in place yet, do you?

@janbar
Copy link

@janbar janbar commented on 96469be Jul 19, 2015

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

GetBufferTimeStart(), GetBufferTimeEnd() and GetPlayingTime() have been implemented since Helix ago. Nothing need to be changed and all requirements are already enabled.
EDIT , just need to return true 🎱

Please sign in to comment.