Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - MiDWaN

Pages: 12 3 ... 6
1
Plugins / Re: Subsonic Client
« on: November 07, 2022, 09:21:38 PM »
Just wanted to let everyone know, I published a new version of the MB_Subsonic plugin today!
Version 3 brings support for multiple server Profiles (you can configure as many as you want, but only one is active at a time), and includes some breaking changes as well - make sure to read the release notes:
https://github.com/BlitterStudio/MB_SubSonic/releases/tag/v3.0

I also have a donation page up, if you would like to buy me a coffee and help support my projects: https://ko-fi.com/midwan

2
Plugins / Re: Subsonic Client
« on: November 07, 2022, 09:18:51 PM »
is there any way to get it to show the whole library when I click on Subsonic?

Not currently.
There used to be an option to pre-cache all the subfolders of the server, but it was causing too much trouble (especially with large collections), so it was removed a few versions back. I will take another look at this at some point, however.

3
Plugins / Re: Subsonic Client
« on: September 01, 2021, 09:10:19 PM »
It's been a while, but I've updated the plugin to a newer version:
https://github.com/midwan/MB_SubSonic/releases/tag/v2.33

This version fixes a bug that was introduced after v2.28 came out, and caused Playlists created on Subsonic servers to misbehave (tracks not playing).
Please also note that the latest MB 3.4 had a bug that caused Subsonic playlists to show up empty - this has been fixed with a patched version of MusicBee, so when that becomes available it shouldn't be a problem anymore.

Please report any issues on the Github project page! I check the forum from time to time also, but not as often. ;)

4
I managed to track down and fix the issue on the plugin's side, with a new release: https://github.com/midwan/MB_SubSonic/releases/tag/v2.33

This still requires the patched MB 3.4 version that you posted above, however. I've made a note regarding that in the release.

5
I think I found something, and it looks like it's in my plugin. Tried a few older versions and I found one that works in both 3.3 and 3.4, so I'll start checking the changes since that version, to narrow down what caused this.
Thanks for the assistance so far, I think you can leave this case for now. I'll let you know if I find anything else that might require your attention.

6
Thanks for the debug version.

The plugin will detect and translate "\" to "/" internally, so that should not be a problem (at least, it wasn't until now).
Here's the output from the debug version, when double clicking on an item in the playlist (and getting the error message on-screen):

Code
2021-08-31 10:41:04 - get playlist files for:Subsonic:\1
Subsonic:\Music\Blues\The Blues Brothers\03-Gimme Some Lovin'.MP3
Subsonic:\Music\Metal\In Flames\In Flames - I, the Mask (2019)\In Flames - I, the Mask.mp3
2021-08-31 10:41:06 - get stream for:Subsonic:\Music\Blues\The Blues Brothers\03-Gimme Some Lovin'.MP3 --> Music\Blues\The Blues Brothers\03-Gimme Some Lovin'.MP3
null stream
2021-08-31 10:41:06 - 10.0.19042.0 - 3.4.7913.33261P - url: Subsonic:\Music\Blues\The Blues Brothers\03-Gimme Some Lovin'.MP3
System.IO.FileNotFoundException: Unable to find the specified file.
   at #=zGAA6s8sNeIk2s8e3MbgPKBc=.#=zHgvYRBZz03zp(#=z7m_eXApVW6Fi #=zDDvHhv8=, #=zOq7nVsKmVAN45X2dUhPXHjw= #=zobVaPak=, Boolean #=zUniNyG_$2MCsxXI5Pg==, Boolean #=zt7g6WGS26h0Y, Boolean #=z_v7nJkCerFdL, Boolean #=zofFkpTY$b_cY, Int32 #=zUUctO58OuoIE)
   at #=zGAA6s8sNeIk2s8e3MbgPKBc=.#=zT8yqmiXjHpYk(Object #=zziQJQTM=)



7
Yes, sure. Ping me when you have something I can test with.

8
The patched version shows an improvement, but it doesn't completely solve the problem I'm afraid:
- The playlists now show their contents
- However, trying to play back any of the selected items results in an error:


Testing the same on the 3.3 version works as expected, without errors.

9
I must have mistaken the name for what is in the plugin, sorry.

But still, this problem occurs when trying to access playlists on the Subsonic server (not locally, those work).
It works fine in 3.3 releases (tried with the latest one I could find, Update 6), but not in 3.4 releases of MusicBee.

Something must have changed in how it handles this case, but I don't know what.

In 3.3 Update 6 (works as expected):


In 3.4 (no content shown in the playlist):



In both cases, the plugin and back-end subsonic server (with the playlist) are the same.

10
Using the latest version of MusicBee (currently 3.4.7805 P).
It seems that when using the MB_Subsonic plugin and trying to access playlists on the Subsonic server, there is a bug in MB:

MusicBee calls "GetPlaylists" first (correctly, to get the list of playlists on the server), but when you click on one of those playlists, instead of calling "GetPlaylistFiles()" it calls "GetPlaylists" again.

The result is that no content is displayed inside the playlists.

I have an open ticket about this on the plugin's Github page here: https://github.com/midwan/MB_SubSonic/issues/60

It would be great if we could verify this from MB's side.

11
Plugins / Re: Subsonic Client
« on: April 03, 2021, 07:19:25 PM »
This is by-design. The subsonic server is on the network, and unless you have a local offline database you cannot expect to get the whole list of tracks from the server without delays. So the decision was to show only the contents of the selected folder, instead.
The alternative is to browse by Tags, as you mentioned. But that is a separate function in Subsonic (different API calls, different handling) which hasn't been implemented in the plugin, yet. It's in the TODO list for the future...

12
Plugins / Re: Subsonic Client
« on: March 15, 2021, 10:01:37 AM »
New bugfix release is out: https://github.com/midwan/MB_SubSonic/releases/tag/v2.31

This fixes a problem with some Subsonic-compatible servers (e.g. Ampache), which failed to connect after the previous updates.

13
Plugins / Re: Subsonic Client
« on: February 05, 2021, 07:32:37 PM »
It's been quite a while, I know... But I have a new release for you!
https://github.com/midwan/MB_SubSonic/releases/tag/v2.30

This one fixes several issues, removes the problematic pre-caching function and background tasks, and hopefully works better for you.

14
MusicBee API / Re: MusicBee API
« on: June 08, 2019, 08:54:56 PM »
Even if I explicitly listen for those events instead (RatingChanging, RatingChanged), when I call GetFileTag() from them for the specific source file, the rating that comes back is always "0" (as a string, so it's not a conversion problem).

Is GetFileTag the right way to get the Rating?

15
MusicBee API / Re: MusicBee API
« on: June 08, 2019, 04:07:34 PM »
I wouldn't have a problem either way (Subsonic server uses 0-5 internally, with 0 being no rating set), but I only get "0" back from MB in my tests.

I've hooked that GetFileTag to the TagsChanged notification type, and it does trigger when I change a rating on a track in MB. But regardless what rating I set it to, I always get back "0" from the GetFileTag() call.

The RatingLove tag instead, gives me the correct value. I have that one in the same location as well.

Here's a more complete code listing in case it helps:

Code
public void ReceiveNotification(string sourceFileUrl, Interfaces.Plugin.NotificationType type)
{
    switch (type)
                {

                  ...
                    case Interfaces.Plugin.NotificationType.TagsChanged:
                        var rating = Subsonic.GetFileTag(sourceFileUrl, Interfaces.Plugin.MetaDataType.Rating);
                        var starred = Subsonic.GetFileTag(sourceFileUrl, Interfaces.Plugin.MetaDataType.RatingLove);
                  ...

From the above code, "rating" is always "0" when retrieved but "starred" gets the proper expected value when set.

Pages: 12 3 ... 6