diff --git a/web-src/src/App.vue b/web-src/src/App.vue index abab1da2..efa1b052 100644 --- a/web-src/src/App.vue +++ b/web-src/src/App.vue @@ -276,12 +276,6 @@ export default { webapi.library_stats().then(({ data }) => { this.$store.commit(types.UPDATE_LIBRARY_STATS, data) }) - webapi.library_count('media_kind is audiobook').then(({ data }) => { - this.$store.commit(types.UPDATE_LIBRARY_AUDIOBOOKS_COUNT, data) - }) - webapi.library_count('media_kind is podcast').then(({ data }) => { - this.$store.commit(types.UPDATE_LIBRARY_PODCASTS_COUNT, data) - }) webapi.library_count('scan_kind is rss').then(({ data }) => { this.$store.commit(types.UPDATE_LIBRARY_RSS_COUNT, data) }) diff --git a/web-src/src/store/index.js b/web-src/src/store/index.js index a1c10868..642201ce 100644 --- a/web-src/src/store/index.js +++ b/web-src/src/store/index.js @@ -8,7 +8,6 @@ export default createStore({ artists_sort: 1, artist_albums_sort: 1, artist_tracks_sort: 1, - audiobooks_count: {}, composer_tracks_sort: 1, config: { buildoptions: [], @@ -27,7 +26,6 @@ export default createStore({ updated_at: '01', updating: false }, - podcasts_count: {}, lastfm: {}, lyrics: { content: [], @@ -171,12 +169,6 @@ export default createStore({ [types.UPDATE_LIBRARY_STATS](state, libraryStats) { state.library = libraryStats }, - [types.UPDATE_LIBRARY_AUDIOBOOKS_COUNT](state, count) { - state.audiobooks_count = count - }, - [types.UPDATE_LIBRARY_PODCASTS_COUNT](state, count) { - state.podcasts_count = count - }, [types.UPDATE_LIBRARY_RSS_COUNT](state, count) { state.rss_count = count }, diff --git a/web-src/src/store/mutation_types.js b/web-src/src/store/mutation_types.js index e8fb88c4..c5e3c88c 100644 --- a/web-src/src/store/mutation_types.js +++ b/web-src/src/store/mutation_types.js @@ -2,8 +2,6 @@ export const UPDATE_CONFIG = 'UPDATE_CONFIG' export const UPDATE_SETTINGS = 'UPDATE_SETTINGS' export const UPDATE_SETTINGS_OPTION = 'UPDATE_SETTINGS_OPTION' export const UPDATE_LIBRARY_STATS = 'UPDATE_LIBRARY_STATS' -export const UPDATE_LIBRARY_AUDIOBOOKS_COUNT = 'UPDATE_LIBRARY_AUDIOBOOKS_COUNT' -export const UPDATE_LIBRARY_PODCASTS_COUNT = 'UPDATE_LIBRARY_PODCASTS_COUNT' export const UPDATE_LIBRARY_RSS_COUNT = 'UPDATE_LIBRARY_RSS_COUNT' export const UPDATE_OUTPUTS = 'UPDATE_OUTPUTS' export const UPDATE_PLAYER_STATUS = 'UPDATE_PLAYER_STATUS'