mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-08-03 09:44:41 +02:00
Fix:Add podcast modal for mobile screen sizes #975
This commit is contained in:
parent
1ec12a547e
commit
e32f51f58a
2 changed files with 12 additions and 14 deletions
|
@ -6,8 +6,6 @@ const globals = require('./globals')
|
|||
const LibraryFile = require('../objects/files/LibraryFile')
|
||||
|
||||
function isMediaFile(mediaType, ext) {
|
||||
// if (!path) return false
|
||||
// var ext = Path.extname(path)
|
||||
if (!ext) return false
|
||||
var extclean = ext.slice(1).toLowerCase()
|
||||
if (mediaType === 'podcast') return globals.SupportedAudioTypes.includes(extclean)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue