add row background support
[melted_gui] / src / library.c
index a54bfaf..0f3c8b7 100644 (file)
@@ -68,6 +68,8 @@ void omnplay_library_normalize_item(omnplay_instance_t* app, playlist_item_t* it
             item->in = lib->in;
         };
     }
+    else
+        item->error = PLAYLIST_ITEM_ERROR_LIB;
 
     pthread_mutex_unlock(&app->library.lock);
 };
@@ -261,6 +263,8 @@ void omnplay_library_draw(omnplay_instance_t* app)
             1, frames2tc(app->library.item[i].dur, 25.0, tc),
             2, app->library.item[i].title,
             3, i,
+            4, FALSE,
+            5, "red",
             -1 );
     }