mirror of
https://github.com/owntone/owntone-server.git
synced 2025-02-24 03:49:14 -05:00
[web-src] Only include media_kind music in music browse page
This commit is contained in:
parent
72792d1e31
commit
46995197ff
@ -67,8 +67,8 @@ import webapi from '@/webapi'
|
||||
const browseData = {
|
||||
load: function (to) {
|
||||
return Promise.all([
|
||||
webapi.search({ type: 'album', expression: 'time_added after 8 weeks ago having track_count > 3 order by time_added desc', limit: 3 }),
|
||||
webapi.search({ type: 'track', expression: 'time_played after 8 weeks ago order by time_played desc', limit: 3 })
|
||||
webapi.search({ type: 'album', expression: 'time_added after 8 weeks ago and media_kind is music having track_count > 3 order by time_added desc', limit: 3 }),
|
||||
webapi.search({ type: 'track', expression: 'time_played after 8 weeks ago and media_kind is music order by time_played desc', limit: 3 })
|
||||
])
|
||||
},
|
||||
|
||||
|
@ -33,7 +33,7 @@ const browseData = {
|
||||
load: function (to) {
|
||||
return webapi.search({
|
||||
type: 'album',
|
||||
expression: 'time_added after 8 weeks ago having track_count > 3 order by time_added desc',
|
||||
expression: 'time_added after 8 weeks ago and media_kind is music having track_count > 3 order by time_added desc',
|
||||
limit: 50
|
||||
})
|
||||
},
|
||||
|
@ -33,7 +33,7 @@ const browseData = {
|
||||
load: function (to) {
|
||||
return webapi.search({
|
||||
type: 'track',
|
||||
expression: 'time_played after 8 weeks ago order by time_played desc',
|
||||
expression: 'time_played after 8 weeks ago and media_kind is music order by time_played desc',
|
||||
limit: 50
|
||||
})
|
||||
},
|
||||
|
Loading…
x
Reference in New Issue
Block a user