Fix episodeId download issue, add draggable for local tracks

This commit is contained in:
advplyr 2022-04-13 20:24:54 -05:00
parent 331a3b4a1a
commit ccba8dc3c7
11 changed files with 150 additions and 15 deletions

View file

@ -111,6 +111,30 @@ class AbsDatabaseWeb extends WebPlugin {
isLocal: true,
localFileId: 'lf1',
audioProbeResult: {}
},
{
index: 2,
startOffset: 0,
duration: 15000,
title: 'Track Title 2',
contentUrl: 'test2',
mimeType: 'audio/mpeg',
metadata: null,
isLocal: true,
localFileId: 'lf2',
audioProbeResult: {}
},
{
index: 3,
startOffset: 0,
duration: 20000,
title: 'Track Title 3',
contentUrl: 'test3',
mimeType: 'audio/mpeg',
metadata: null,
isLocal: true,
localFileId: 'lf3',
audioProbeResult: {}
}
]
},
@ -170,6 +194,10 @@ class AbsDatabaseWeb extends WebPlugin {
async syncLocalMediaProgressWithServer() {
return null
}
async updateLocalTrackOrder({ localLibraryItemId, tracks }) {
return []
}
}
const AbsDatabase = registerPlugin('AbsDatabase', {