[PLUGIN] Volusonic

Hi Jo,

I have now updated my actual volumio instance, ie the one I use for music, with the lastest version of volumio, your plugin in version 1.1.0 and the Touch Display plugin.

Everything works fine until now. I can live with the fact that I loose the current directory if I switch to another library, that is not a major point.

The boot time of volumio is now very short, music is available almost instantly. Much better than before. Thanks again!

I will update my other post to describe the way the problem was solved.

There are still errors in the subsonic log, but I think it is rather a subsonic issueā€¦

  Denis

Denis, as I said earlier, the persistent path should now be implemented.
You should be v1.1.1

Ah thanks, I probably missed your answer. So Iā€™lm going to update the plugin. Iā€™ll let you know.

I have it now got version 1.1.1.
As far as I donā€™t go in any other ā€œmusicā€ tab (Radio, Music library, etcā€¦), I stay on the last directory that was visited. Thatā€™s fine for me. Great!

I know about this option youā€™re talking about, but I donā€™t find it convenient at all in my case, because it relies on the way the tags were builtā€¦ And my tags are not perfectly built, and there are too many of them, anyway.

Actually, my tags are useful only for displaying some correct information on the screen when playing some music. When I need to search something, I find it much easier to use the directory tree, becasue I know where things are.

So, an option like ā€œgoing to the directoryā€ would, for me, be much more useful than going to the artist, or going to the album).

But having the persistance of volusonic tree is enough, I think.

What I used to do with GMPC was:

  • searching in the ā€œDatabase / Filenameā€, which led me very rapidly to where I wanted to go, because you can search for anything that is in the path/filename, you donā€™t care about tags, only filenames.
  • and then add the full directory, when Iā€™m at the right place.

At that point, everything in the directory is played, and the file browser (in GMPC) is focussed on the directory, so you can navigate from this point.
That was very handy and very fast to use.

I could stiil use it, but when you play something using a MPD client, volumio plays the music but does not display the right informationā€¦

Iā€™ll go further in my testing process, but for the moment, Iā€™m very happy with volusonic.

After a few tests, I must admit that the search function is much better, as going through subsonic. Iā€™ll go further in that direction.

It just works fine, even the ā€œsearchā€ feature is nice, thanks to Subsonic and your piece of code.

Except in one case. Iā€™m not sure this has something to do with volusonic, but just in case, I explain you the problem, you may be able to reproduce it. Maybe you can help me.

Letā€™s say I have a ripped CD, in flac, which is present only in one place in my library. As an exemple, weā€™ll call it CD1, and this CD1 contains 10 tracks, from Track01 to Track10.

So, we have somewhere in my file hierarchy, something like: /ArtistX/CD1 Album/Track01 ā€¦ Track 10.

The album is ā€œphysicallyā€ present only once, of course.

Now, for convenience, I use also symlinks, to ease access, for example, if I bought this CD in 2018, I shall have:
/NEWS-2018/

OK? Of course, these links are not made manually, but through a shell script each time I introduce a new album.

So the album is only in one place, but there are actually 2 symlinks that allow to access it. From the DB point of view, there are 3 albums, but letā€™s say I donā€™t care, whatā€™s most important for me is the disk usageā€¦ My DB is just larger that it could be, but I can manage it.

So, if I search this given album in Subsonic (through my web navigator), I find it 3 times (one physical path and 2 symlinks), but I can choose to play any of these 3 ā€œinstancesā€, and they wil play the same album, only once, from Track01 to Track10.

Now, it I do the same thing through Volusonic, it finds the 3 ā€œinstancesā€, but shows only one of them. I cannot choose between them. If I choose to play the album I see, each track is played three timesā€¦

I have, in the queue:
Track01
Track01
Track01
Track02
Track02
Track02
ā€¦ and so on.

Interesting, isnā€™t it?

Would you have an idea how to solve this, except stopping using symlinks? For the moment, Iā€™m a bit stuck on thisā€¦ Any ā€œsortā€ parameter when grabbing the track-list from subsonic?

EDIT: it looks like unchecking the ID3Tag box for the plugin solves the issue. I can now see my 3 ā€œduplicatesā€ and select one of them. Good!

Denis

Hi Jo,

I had a surprising bug in Subsonic yesterday evening, while playing with volusonicā€¦ I tried to use at the same time volusonic, my web navigator and my android phone, all with the same user of courseā€¦ This had a tremendous effect, everything was blockedā€¦ I had to reboot the RPI which holds subsonic, and after rebooting, my subsonic user had lost the right to play musicā€¦ Weirdā€¦

Well, everythingā€™s up again now and works fine. May I ask one more question:

  • what is the effect of the ā€œMetadataā€ check box in the plugin? I donā€™t see any difference with or without this box checked.

    Denis

Strange behavior with subsonic, iā€™ve never seen that before;

About the metas, It shows artist & albums infos, the same way it does in subsonic but in the Artist and Albums tabs. (LastFM biographies and stories)
Iā€™ve added the option to disable it to avoid to get infos in double because it is now a feature of the Superstar myvolumio membership.

OK thanks, thatā€™s clear. Iā€™ve been using volusonic extensively today: no problem, it works like a charm! That makes a great difference in the ease of use of Volumio.

Thanks again for this.

Denis

Iā€™m glad you like it

Hi Jo,

I have modified my initial message in the Help Forum to explain how Volusonic was more than a very good workaround to my performance issue. You may get more requests from people interested, I donā€™t knowā€¦

Denis

Thanks,

By the way new version is now merged, so you just have to install Volusonic from the standard plugin pannel.

Have a good time listening music, your library looks great :sunglasses:

Hi Jo,

Absolutely no problem with your plugin since last installation. Really good! And my boot performances are now very good as well.

But a question/request: would it make sense to have the album art displayed at the album level, like in subsonic and aslo in the ā€œstandardā€ music library of Volumio?
Today in volusonic, I see a ā€œfolderā€ icon at the album level, although the album art shows up at ā€œtracksā€ level. My album art files are named ā€œcover.jpgā€, or sometimes ā€œfolder.jpgā€. In some cases, I have only a file named ā€œalbum-nameā€.jpg.

Well, in short, I have a jpg file attached to all my albumsā€¦ Would it be a hard work to have them show up like in subsonic?

By the way, if I use the ā€œrandomā€ or ā€œnew albumsā€ view, for example, the album art shows up. Itā€™s only with the index view that it doesnā€™t.

Denis

hello, had volusonic working well,
recently it is asking me to check username and password credentials.
what would be the cause of this?
do i need the premium version of subsonic for the plug-in on volumio to function?

any help would be greatly appreciated

Hey Denis,

Itā€™s quiet not simpl but Iā€™ll give look.

In your case you could also try to enable the DLNA server in subsonic or to install minidlna on your nas and access your library via the standard ā€œMedia Serverā€ volumio entry.
I confess that i didnā€™t test it myself. If you do so let me know how it works

Did you check and recheck your subsonic url and credentials?

Hi Jo,

Thanks for the hint. Actually, I had tried Dlna from Subsonic years ago in an earlier version, and not from Volumio, but it did not work at all (version 5.x.x), my client could not even see it.
With version 6.1.6, it works OK, but there is no album art at the ā€œalbum levelā€, only on tracks. And I made a fast check with minidlna, with the same resultsā€¦ I had a look at some forums concerning minidlna, but did not find anything on this specific topic. And nothing either in the conf fileā€¦

Donā€™t worry, I can live with volusonic this way, it is not a huge issue. Just tell me if you ever find a way to solve it. Thanks again.

  Denis

yes multiple times, even created a new user id and password to be sure.
is the premium version of subsonic necessary for use with volumio?

ok,

Itā€™s no necessary to get the premium version, volusonic work with the standrad version.

Can you update volumio to the latest version if itā€™s not already the case, then post Volumio and Subsonic versions and the URL you use to connect to subsonic please?

running subsonic version 6.1.6
running volumio version 2.779
running volusonic version 1.1.1

url to connect is the ip address of the computer with subsonic installed with port 4040 opened on my router. 10.0.2.99:4040

a custom url requires me to have premium version of subsonic. as per the network page on subsonic.