Don't compute attributes string twice.
[paraslash.git] / playlist.c
index 95c2230bfca251040fcc5d3224de1a17926026f1..826280b9270ff9bc8c9a37f46e376d69a1422671 100644 (file)
@@ -223,6 +223,15 @@ static int handle_audio_file_event(enum afs_events event, void *data)
        return score_add(row, 0); /* play it immediately */
 }
 
+/**
+ * Handle afs events relevant to playlists.
+ *
+ * \param event The event type.
+ * \param pb Unused.
+ * \param data Depends on the event type.
+ *
+ * \return Standard.
+ */
 int playlists_event_handler(enum afs_events event,
        __a_unused struct para_buffer *pb, void *data)
 {