mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-07-03 05:55:06 +02:00
Fix podcast re-scan, fix more menu item
This commit is contained in:
parent
03bfecefee
commit
d5e96a3422
2 changed files with 6 additions and 4 deletions
|
@ -324,7 +324,7 @@ export default {
|
|||
}
|
||||
if (this.userCanUpdate) {
|
||||
items.push({
|
||||
func: 'showEditModalTracks',
|
||||
func: 'showEditModalFiles',
|
||||
text: 'Files'
|
||||
})
|
||||
items.push({
|
||||
|
@ -451,9 +451,9 @@ export default {
|
|||
this.rescanning = false
|
||||
})
|
||||
},
|
||||
showEditModalTracks() {
|
||||
showEditModalFiles() {
|
||||
// More menu func
|
||||
this.store.commit('showEditModalOnTab', { libraryItem: this.libraryItem, tab: 'tracks' })
|
||||
this.store.commit('showEditModalOnTab', { libraryItem: this.libraryItem, tab: 'files' })
|
||||
},
|
||||
showEditModalMatch() {
|
||||
// More menu func
|
||||
|
|
|
@ -122,7 +122,9 @@ class Podcast {
|
|||
}
|
||||
|
||||
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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue