Good afternoon!
Problems with youtube2 plugin. When installing I do everything according to your instructions. When the plugins are installed, I enable it and nothing opens when I go to his settings.
Below is part of the log.
info: Downloading plugin at https://plugins.volumio.workers.dev/pluginsv2/downloadLatest/youtube2/volumio/buster/armhf
info: END DOWNLOAD: https://plugins.volumio.workers.dev/pluginsv2/downloadLatest/youtube2/volumio/buster/armhf
info: Folder /tmp/plugins removed
info: Check plugin dependencies
info: CoreCommandRouter::executeOnPlugin: system , getSystemVersion
info: Checking if plugin already exists
info: Rename folder
info: Folder /tmp/downloaded_plugin.zip removed
info: Move to category
info: Checking if install.sh is present
info: Executing install.sh
volumio : unable to resolve host restorns-recepcija
volumio : problem with defaults entries ; TTY=unknown ; PWD=/ ; USER=root ;
volumio : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/bin/sh /data/plugins/music_service/youtube2/install.sh
pam_unix(sudo:session): session opened for user root by (uid=0)
pam_unix(sudo:session): session closed for user root
info: Install script completed
info: Adding reference to registry
info: Done installing plugin.
info: CoreCommandRouter::executeOnPlugin: my_volumio , getMyVolumioStatus
info: CoreCommandRouter::executeOnPlugin: my_volumio , getMyVolumioToken
info: YouTube2 plugin installed
Plugin install end detected on script
info: Folder /tmp/plugins removed
info: Folder /tmp/downloaded_plugin.zip removed
info: Folder /data/temp removed
info: Enabling plugin youtube2
info: Loading plugin "youtube2"...
info: PLUGIN START: youtube2
info: CoreCommandRouter::volumioAddToBrowseSources[object Object]
info: [1690885527062] CoreMusicLibrary::Adding element YouTube2
info: CoreCommandRouter::executeOnPlugin: my_music , getDisabledSources
Cannot find translation for source YouTube2
info: Done.
info: Enabling plugin youtube2
info: Loading plugin "youtube2"...
info: PLUGIN START: youtube2
info: CoreCommandRouter::volumioAddToBrowseSources[object Object]
info: [1690885608426] CoreMusicLibrary::Adding element YouTube2
info: CoreCommandRouter::executeOnPlugin: my_music , getDisabledSources
Cannot find translation for source YouTube2
info: Done.
info: CoreCommandRouter::getUIConfigOnPlugin
info: [youtube2] InnertubeLoader: creating Innertube instance...
(node:795) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'replace' of undefined
at Function. (/data/plugins/music_service/youtube2/node_modules/volumio-youtubei.js/bundle/node.cjs:22428:48)
at Generator.next ()
at /data/plugins/music_service/youtube2/node_modules/volumio-youtubei.js/bundle/node.cjs:233:73
at new Promise ()
at __awaiter (/data/plugins/music_service/youtube2/node_modules/volumio-youtubei.js/bundle/node.cjs:212:16)
at Function._Session_retrieveSessionData (/data/plugins/music_service/youtube2/node_modules/volumio-youtubei.js/bundle/node.cjs:22415:10)
at Function. (/data/plugins/music_service/youtube2/node_modules/volumio-youtubei.js/bundle/node.cjs:22348:99)
at Generator.next ()
at /data/plugins/music_service/youtube2/node_modules/volumio-youtubei.js/bundle/node.cjs:233:73
at new Promise ()
at __awaiter (/data/plugins/music_service/youtube2/node_modules/volumio-youtubei.js/bundle/node.cjs:212:16)
at Function.getSessionData (/data/plugins/music_service/youtube2/node_modules/volumio-youtubei.js/bundle/node.cjs:22343:12)
at Function. (/data/plugins/music_service/youtube2/node_modules/volumio-youtubei.js/bundle/node.cjs:22338:78)
at Generator.next ()
at /data/plugins/music_service/youtube2/node_modules/volumio-youtubei.js/bundle/node.cjs:233:73
at new Promise ()
(Use `node --trace-warnings ...` to show where the warning was created)
(node:795) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 2)
(node:795) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.