override port usage, helps to use another instance for lib operations of melted
[melted_gui] / src / player.c
index b07723b..d7468b6 100644 (file)
@@ -200,7 +200,7 @@ static void* player_thread_proc(void* data)
 void player_run(instance_t* app, int idx)
 {
     player_handle_t* handle = malloc(sizeof(player_handle_t));
-    handle->parser = mvcp_parser_init_remote(app->players.host, 5250);
+    handle->parser = mvcp_parser_init_remote(app->players.host, app->players.port);
     handle->status = mvcp_init(handle->parser);
     handle->command = mvcp_init(handle->parser);
     app->players.item[idx].handle = handle;