0
0
mirror of https://github.com/mediathekview/zapp.git synced 2024-09-19 20:02:17 +02:00

Remove out of date programm guide instruction

This commit is contained in:
cemrich 2017-09-30 10:08:49 +02:00 committed by GitHub
parent 4287497380
commit 0e37680a1d

View File

@ -62,18 +62,3 @@ Android Studio operation.
2. Run `JsonChannelListTest` and make sure all tests pass. 2. Run `JsonChannelListTest` and make sure all tests pass.
3. Test the changes on an actual device (emulators may have trouble with video 3. Test the changes on an actual device (emulators may have trouble with video
playback). playback).
## How to add a programmguide plugin
If you added a new channel, you can write a programmguide plugin to get metadata
of the show currently running on this channel.
1. Add the new channel to [Channel.java](programguide/src/main/java/de/christinecoenen/code/programguide/model/Channel.java).
Make sure the id maches the one provided inside `channels.json`.
2. Add a new Downloader (extending `BaseProgramGuideDownloader`) and a new Parser
for the API. Use the [Jsoup API](https://jsoup.org/) for parsing and [Volley](https://developer.android.com/training/volley/index.html).
Use the existing Downloaders as reference. Make sure to respect the devices
configured timezone.
3. Add your downloader to the [PluginRegistry](programguide/src/main/java/de/christinecoenen/code/programguide/plugins/PluginRegistry.java).
4. Test a few days on your device.