mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-01-06 22:19:04 +01:00
Fix podcast re-scan, fix more menu item
This commit is contained in:
parent
03bfecefee
commit
d5e96a3422
@ -324,7 +324,7 @@ export default {
|
|||||||
}
|
}
|
||||||
if (this.userCanUpdate) {
|
if (this.userCanUpdate) {
|
||||||
items.push({
|
items.push({
|
||||||
func: 'showEditModalTracks',
|
func: 'showEditModalFiles',
|
||||||
text: 'Files'
|
text: 'Files'
|
||||||
})
|
})
|
||||||
items.push({
|
items.push({
|
||||||
@ -451,9 +451,9 @@ export default {
|
|||||||
this.rescanning = false
|
this.rescanning = false
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
showEditModalTracks() {
|
showEditModalFiles() {
|
||||||
// More menu func
|
// More menu func
|
||||||
this.store.commit('showEditModalOnTab', { libraryItem: this.libraryItem, tab: 'tracks' })
|
this.store.commit('showEditModalOnTab', { libraryItem: this.libraryItem, tab: 'files' })
|
||||||
},
|
},
|
||||||
showEditModalMatch() {
|
showEditModalMatch() {
|
||||||
// More menu func
|
// More menu func
|
||||||
|
@ -122,7 +122,9 @@ class Podcast {
|
|||||||
}
|
}
|
||||||
|
|
||||||
findFileWithInode(inode) {
|
findFileWithInode(inode) {
|
||||||
return this.episodes.find(ep => ep.audioFile.ino === inode)
|
var episode = this.episodes.find(ep => ep.audioFile.ino === inode)
|
||||||
|
if (episode) return episode.audioFile
|
||||||
|
return null
|
||||||
}
|
}
|
||||||
|
|
||||||
setData(mediaMetadata) {
|
setData(mediaMetadata) {
|
||||||
|
Loading…
Reference in New Issue
Block a user