Problems with some plugins

Hello everyone.

I am new to Mopidy and I almost got it working but some things still don’t work properly, I hope you can help me.

I have Mopidy-Iris deployed on a Raspberry Pi 4b.

  • I use the Mopidy-Local add-on to be able to do a folder navigation in the directory where I store my music, so far so good but I have two problems:
    1 - Despite having an image of the album cover inside the folder (cover.jpg or folder.jpg) in Mopidy-Iris does not show the image.
    2 - When I access to a folder the order of the songs changes, although in the name of the song appears the track number 01 - song, 02 - song, etc… the number disappears and the order of the tracks becomes alphabetical.

  • Mopidy-Youtube add-on: I have installed and enabled it, I can search for content and it is listed, but then when I try to play content from this source it doesn’t play. I don’t know what I can do.

  • Mopidy-YTMusic plugin: I install the plugin, I start the setup by CLI but when I go to save the json file it gives permissions error. I have tried in several directories, with write permissions both for the user mopidy and for all users and nothing, there is no way.

For both deployment and troubleshooting I am using ChatGPT and it is helping me a lot but in these problems I am stuck.

Thanks in advance.
Regards.

Welcome @cma84!

I use the Mopidy-Local add-on to be able to do a folder navigation in the directory where I store my music, so far so good but I have two problems:
1 - Despite having an image of the album cover inside the folder (cover.jpg or folder.jpg) in Mopidy-Iris does not show the image.

I suggest that you visit the /local URL served by your Mopidy host using a web browser. It displays the images known to Mopidy-Local. For example:

Then read from the log generated by the local scan command: It explicitly tells the number of parsed images. Also check the value of local/album_art_files in the server configuration (but the default is *.jpg, *.jpeg, *.png and thus should match the examples you gave) and check the file access rights.

2 - When I access to a folder the order of the songs changes, although in the name of the song appears the track number 01 - song, 02 - song, etc… the number disappears and the order of the tracks becomes alphabetical.

The Mopidy-Local database is build from metadata extracted by GStreamer from the music files (the ID3v2 tags and analogous things for FLAC, Ogg, etc.); Files are expected to be properly tagged (see Picard, beets, etc.).

I am not using Iris but I confirm that once files are tagged, the database build by Mopidy-Local is complete and sorting, searching and such things work as expected.

Sorry, I can help on the other topics since not using the mentioned extensions.

Have a nice time with Mopidy and your music collection!