override port usage, helps to use another instance for lib operations of melted
[melted_gui] / src / instance.h
index 8c6d1fb..c3e14ae 100644 (file)
@@ -132,7 +132,7 @@ typedef struct instance_desc
 {
     GtkWidget *window;
     GtkWidget *playlist_grid;
-    GtkWidget *library_grid;
+    GtkWidget *library_tree;
     GtkWidget *buttons[BUTTON_LAST + 1];
     GtkWidget *status_label;
     struct
@@ -140,6 +140,7 @@ typedef struct instance_desc
         player_t item[MAX_PLAYERS];
         int count;
         char host[PATH_MAX];
+        int port;
         pthread_mutex_t lock;
     } players;
     int f_exit;
@@ -155,6 +156,11 @@ typedef struct instance_desc
     } playlist;
     struct
     {
+        int port;
+        void* handle[2];
+        GdkPixbuf *icons[8];
+
+
         playlist_item_t item[MAX_LIBRARY_ITEMS];
         int count;
         char filename[PATH_MAX];