-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #113 from phunkyfish/support-providers
Support PVR providers
- Loading branch information
Showing
11 changed files
with
266 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,28 @@ | ||
pvr.demo.extras | ||
=============== | ||
Dummy data and files to be used with the PVR Demo Add-on. This is aimed at XBMC skin developers. | ||
# PVR Demo Data | ||
Dummy data and files to be used with the PVR Demo Add-on. | ||
|
||
This package was originally put together by Jezz_X. I just updated paths to keep it working in XBMC 13 and added the following: | ||
## Icons | ||
There are 11 icons used for the channels. The same icons are used for TV and Radio. | ||
|
||
- dummy recordings | ||
- replaced the first tv channel (stream not working anymore) | ||
- added more of the available genre colors in the epg | ||
- added genre colors doc file | ||
## PVR Channel Data types | ||
|
||
### Usage | ||
Extract the contents of this file and copy it over into the pvr demo addons install directory (PVRDemoAddonSettings.xml needs to be overwritten). After that go into settings/livetv/general and select "Reset the PVR database" to get the new info. | ||
The relationship between Providers, Channels, Channel Groups and Recordings are as follow: | ||
- *Providers*: | ||
- Are independent of TV or Radio. A PVR add-on can create custom providers, it is also a provider itself. | ||
- *Channels*: | ||
- Can specify a provider ID. If one is not specified, its provider will default to the PVR add-on as the provider | ||
- *Channel Groups*: | ||
- can contain either TV channels or Radio channels | ||
- *Recordings*: | ||
- Can specify a channel ID and/or a provider ID. The fallback order is `Channel -> Custom Provider -> Addon provider`. | ||
|
||
### Channels and Providers behaviour for Recordings | ||
|
||
#### /Directory1/ | ||
The first four TV and Radio recordings (1-4) have a channel ID set as per PVR API 5.0.0. For these recordings the channel name and icon should be visible when inspecting the recordings in the UI. They also have provider IDs set, but as this is a fallback used in the absence of Channel IDs, the provider will not be visible. | ||
|
||
#### /Directory2/ | ||
The next 3 TV and Radio recordings (5-7) have a provider ID set as per PVR API 8.0.0. Neither channel name or channel ID are set. For these recordings the provider name and icon (custom provider used) should be visible when inspecting the recordings in the UI. | ||
|
||
#### /Directory3/ | ||
The next 3 TV and Radio recordings (8-10) don't have a channel ID or a provider ID set, but do have channel name set. For these recordings the PVR add-on name and icon (add-on provider used) should be visible when inspecting the recordings in the UI. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters