aboutsummaryrefslogtreecommitdiffstats
path: root/binding/media-manager.h
diff options
context:
space:
mode:
Diffstat (limited to 'binding/media-manager.h')
-rw-r--r--binding/media-manager.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/binding/media-manager.h b/binding/media-manager.h
index f1f177e..69c866b 100644
--- a/binding/media-manager.h
+++ b/binding/media-manager.h
@@ -83,11 +83,14 @@ void DebugTraceSendMsg(int level, gchar* message);
"ON audio_albums.id = audios.album_id " \
"LEFT JOIN audio_genres " \
"ON audio_genres.id = audios.genre_id " \
- "WHERE audios.id = files.id ORDER BY " \
+ "WHERE audios.id = files.id " \
+ "AND files.path LIKE '%s/%%' " \
+ "ORDER BY " \
"audios.artist_id, audios.album_id, audios.trackno"
typedef struct {
GList *list;
+ gchar *uri_filter;
GMutex m;
Scanner1 *lms_proxy;
} stMediaPlayerManage;
@@ -105,7 +108,7 @@ int MediaPlayerManagerInit(void);
void ListLock();
void ListUnlock();
-GList* media_lightmediascanner_scan(void);
+GList* media_lightmediascanner_scan(gchar *uri);
GList* media_local_scan(GList *list);
struct Media_Item {