Fixed bug in playlist manager initialization
This commit is contained in:
parent
f34ad4829c
commit
edbc9909a1
100 changed files with 132 additions and 125 deletions
|
|
@ -57,6 +57,7 @@ const loggerUtils = require('../loggerUtils.js')
|
|||
* @returns {Array} Generated list of media objects from given upload path
|
||||
*/
|
||||
module.exports.fetchMetadata = async function(fullID, title){
|
||||
console.log("FUCK");
|
||||
//Split fullID by first slash
|
||||
const [itemID, requestedPath] = decodeURIComponent(fullID).split(/\/(.*)/);
|
||||
//Create empty list to hold media objects
|
||||
|
|
@ -126,6 +127,8 @@ module.exports.fetchMetadata = async function(fullID, title){
|
|||
}
|
||||
}
|
||||
|
||||
console.log(mediaList);
|
||||
|
||||
//return media object list
|
||||
return mediaList;
|
||||
|
||||
|
|
@ -154,7 +157,7 @@ module.exports.fetchMetadata = async function(fullID, title){
|
|||
<br class="clear">
|
||||
|
||||
<footer>
|
||||
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.4</a> on Sat Sep 06 2025 00:30:24 GMT-0400 (Eastern Daylight Time)
|
||||
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.4</a> on Sat Sep 06 2025 00:47:13 GMT-0400 (Eastern Daylight Time)
|
||||
</footer>
|
||||
|
||||
<script> prettyPrint(); </script>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue