diff options
Diffstat (limited to 'apps/plugins/favorites.c')
-rw-r--r-- | apps/plugins/favorites.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/apps/plugins/favorites.c b/apps/plugins/favorites.c index 68eab43298..d45f785d64 100644 --- a/apps/plugins/favorites.c +++ b/apps/plugins/favorites.c | |||
@@ -1,6 +1,8 @@ | |||
1 | #include "plugin.h" | 1 | #include "plugin.h" |
2 | #define FAVORITES_FILE "/favorites.m3u" | 2 | #define FAVORITES_FILE "/favorites.m3u" |
3 | 3 | ||
4 | PLUGIN_HEADER | ||
5 | |||
4 | static struct plugin_api* rb; | 6 | static struct plugin_api* rb; |
5 | 7 | ||
6 | enum plugin_status plugin_start(struct plugin_api* api, void* parameter) | 8 | enum plugin_status plugin_start(struct plugin_api* api, void* parameter) |
@@ -9,11 +11,6 @@ enum plugin_status plugin_start(struct plugin_api* api, void* parameter) | |||
9 | char track_path[MAX_PATH+1]; | 11 | char track_path[MAX_PATH+1]; |
10 | int fd, result, len; | 12 | int fd, result, len; |
11 | 13 | ||
12 | /* this macro should be called as the first thing you do in the plugin. | ||
13 | it test that the api version and model the plugin was compiled for | ||
14 | matches the machine it is running on */ | ||
15 | TEST_PLUGIN_API(api); | ||
16 | |||
17 | rb = api; | 14 | rb = api; |
18 | 15 | ||
19 | /* If we were passed a parameter, use that as the file name, | 16 | /* If we were passed a parameter, use that as the file name, |