# Yatse Audio/Video receiver plugin API

API and Sample for Yatse Audio/Video receiver plugins

api folder contains the API to include in your project.

sample folder contains a fully working plugin that shows everything you need to write a complete plugin.

Documentation will be improved soon.

Do not forget to generate a new unique id for your plugin.
# Yatse Audio/Video receiver plugin API

API and Sample for Yatse Audio/Video receiver plugins

Current version : **1.0** (Stable)

[api](https://github.com/Tolriq/yatse-avreceiverplugin-api/tree/master/api) folder contains the API to include in your project.

[sample](https://github.com/Tolriq/yatse-avreceiverplugin-api/tree/master/sample) folder contains a fully working plugin that shows everything you need to write a complete plugin.

Javadoc of the API and the sample plugin should describe everything you need to get started.

## Quick start

* Clone this repository.
* Generate a new unique id for your plugin (UUID v4) (You can use for example : https://www.uuidgenerator.net/ )
* Edit [your unique id](https://github.com/Tolriq/yatse-avreceiverplugin-api/blob/master/sample/src/main/res/values/strings.xml#L29) in the Strings.xml file
* Add your custom code to [AVPluginService](https://github.com/Tolriq/yatse-avreceiverplugin-api/blob/master/sample/src/main/java/tv/yatse/plugin/avreceiver/sample/AVPluginService.java)

Of course do not forget to update your plugin name, description, icons and strings.

And edit [SettingsActivity](https://github.com/Tolriq/yatse-avreceiverplugin-api/blob/master/sample/src/main/java/tv/yatse/plugin/avreceiver/sample/SettingsActivity.java) and [CustomCommandsActivity](https://github.com/Tolriq/yatse-avreceiverplugin-api/blob/master/sample/src/main/java/tv/yatse/plugin/avreceiver/sample/CustomCommandsActivity.java) so they fit your plugin needs.

## Documentation

The [Wiki](https://github.com/Tolriq/yatse-avreceiverplugin-api/wiki) will contain the up to date documentation for each API versions.

If something is missing just contact me.

Update readme for 1.0 final
Update readme for 1.0 final
