I'm trying to get the plugin setup but am running into an error after entering my server information:I take it the port set in MB is correct (port 80 I would imagine) and if in 'C:\Programs\MusicBee\Plugins\' you right-click 'MB_SubSonic.dll' & 'MB_SubSonic.dll.config'' there's no suggestion that they are blocked?
Error: The server committed a protocol violation.
Section=ResponseStatusLine
I'm able to use Subsonic through the web interface fine, so I know all the information is correct. Any advice on getting it working would be much appreciated. I've tried using http and https ports, when using http I get a security failure and https gives the error mentioned above.
Thanks
feel free to do what you want with it eg. open source it if you want
Hi,
I seem to have the same issue here on windows 7 using either MusicBee 1.4 or 2 on a larger Subsonic library (~28,000 tracks).
After I configured Subsonic, I see the Subsonic directory tree under the computer browser and can expand the tree with no problems. The tree looks like the following:
+ Subsonic
+ Music
+ artist
+ artist
...
If I click on Subsonic or the Music lines, nothing appears in the center panel under Genre's, Artists, albums, etc. Only when I select an artist in the Subsonic tree will anything appear in the center panel and then it is only the selected artists. Once at this level, I can select the tracks and play them with no issue.
I've also tried adding the Subsonic folder to the auto-dj but without success. Everything configures fine and Musicbee reports that auto-dj has started but only the seed track ever appears or plays.
I think I've checked everything but am obviously missing something. Can anyone help me with this?
*Edit*
When I click "Music" from the tree above, the Subsonic server logs a stack trace with the following error:
WARN RESTController - Error in REST API. org.apache.commons.codec.DecoderException: Odd number of characters.
if the current plugin doesnt show in the computer node with v3 then I will need to fix that on the MB API sideThat would be great if you have the time to do this. At least that way we (I) can see if it's working better in 3 than it now does in 2.5.
Now even though enabled, it doesn't show in the computer node of v3.i just installed sub-sonic and tried it with v3. I see the subsonic icon in the Computer Node and can browse and play music so I dont think v3 is necessarily the source of the problem (although the API code wasnt changed from v2.5, its always possible there is some unexpected impact). I dont want to spend any more time on this unless MiDWaN also has some problems
Understandable. I will disable all plugins except SubSonic and see what happens. If it shows, I'll re-enable them one by one.Now even though enabled, it doesn't show in the computer node of v3.i just installed sub-sonic and tried it with v3. I see the subsonic icon in the Computer Node and can browse and play music so I dont think v3 is necessarily the source of the problem (although the API code wasnt changed from v2.5, its always possible there is some unexpected impact). I dont want to spend any more time on this unless MiDWaN also has some problems
Of course, I assumed that most people interested in this would already know that bit...
Maybe you aren't 100% clear on what Subsonic is/offers... :)
- why don't you have Subsonic installed on your NAS, but on a separate computer?The SS server needs an OS in order to serve. If you NAS has one of these, it might be able to run:
If I understand correctly, you have Subsonic pointed to the files on your NAS.Yes, but only once a day. Continuous monitoring has been asked for in the past, but it's not currently available. Mine updates at 0630 every day.
- can you automate Subsonic to automatically scan that music library for changes, and will it also read and understand MusicBee's custom tags? So that a client MusicBee installation can pick up on all that?
2/16/2016 2:35:09 PM - 6.1.7601.65536 - 3.0.5889.40450 - System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.NullReferenceException: Object reference not set to an instance of an object.
at MusicBeePlugin.Plugin.SaveSettings()
--- End of inner exception stack trace ---
at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at MusicBee.Plugin.#=qKn4V5ubE1pkq3m2JNbPLvA==()
I was thinking about moving to a new topic in the future, what do you think about that? Should we stay on this one where all the older problems are mentioned also, or start clean?I think the thread should remain here. Seeing as how this version of the plugin has evolved from the original, there's no point in having two SubSonic plugin threads. Especially since the original plugin is no longer supported, it would only confuse users if two threads existed.
Sometimes my playlists show under the SubSonic node along with the Music, and sometimes only Music shows.thats a bug on the MB side and fixed for the next v3 update
This still happens to me with MB 3.0.5902 and SubSonic 2.1. "Music" shows -below- the playlists and is indented the same amount as if it is one of the playlists. Expanding it, or clicking on it, shows all my tracks. Clicking on "SubSonic" in the computer node also shows all tracks.Sometimes my playlists show under the SubSonic node along with the Music, and sometimes only Music shows.thats a bug on the MB side and fixed for the next v3 update
Hi there,
Regarding your issues:
1) What you describe sounds like the first time scanning process, which takes some time. It happens in the background, so there's no visual reference (maybe that should be improved), but after it's done you should be able to see all content by clicking on the Subsonic icon. When you click on a subfolder, it triggers a "refresh" of that folder's content, so it will show that (if it's already fetched from the server). The Artist folder contains the least amount of entries (relevant to the main Subsonic node or the Music folder below that), so if those are fetched from the server they will show up when you click on it. If you wait a bit more, clicking on the main Subsonic node should show all tracks eventually.
Also, this first-time scan only happens once and the results are cached locally, so you won't have to go through the same slow process again. If you cancel the process however, the cache may not be complete and it will be recreated the next time.
In other words, let it do a full scan first and test it again afterwards.
2) Does it work if you use the same URL on your browser from the same computer MusicBee runs? I have a custom *.subsonic.org domain as well and it works normally for me, though I had to manually set a redirection rule in my router to make it work with HTTPS. Keep in mind Subsonic will try to use uPnP to open up the port you have it running under, but there's a chance that may fail. If that happens, you need to set the rule manually on your router/firewall. Testing it with a browser should show if it works in general or not.
Finally, regarding your last question: you would lose any functionality not currently supported by the plugin. There are things I have in mind to add in the future, but it will always be limited to: a) what the Subsonic API allows and b) what MusicBee allows in Plugins.
Also, I have a custom URL setup for subsonic, it's http://xxxxxxxxx.subsonic.org. However, when I try and use this with the plugin it tells me it failed to connect to the remote server. I'm inputting just "xxxxxxxxx.subsonic.org" as per your instructions. Using localhost works, though. Any ideas?Does the SubSonic server have an IP address? Have you tried connecting using the IP instead of the URL?
Also, I have a custom URL setup for subsonic, it's http://xxxxxxxxx.subsonic.org. However, when I try and use this with the plugin it tells me it failed to connect to the remote server. I'm inputting just "xxxxxxxxx.subsonic.org" as per your instructions. Using localhost works, though. Any ideas?Does the SubSonic server have an IP address? Have you tried connecting using the IP instead of the URL?
Using the external IP of the SubSonic server worked perfectly, thank you! What if it is a dynamic IP address though, how will that work?Glad to hear that worked. But yes, the dynamic IP can be an issue. But let Google be your friend as there are IP monitors around that alert you when the IP changes. I'm 'supposed' to have a dynamic IP per my provider, but it hasn't changed in more than three years.
Now I just need to figure out how to get my library to show up when I click the Subsonic icon, and how to add my Subsonic share to the Musicbee library so I can start using this effectively.That's not your problem. It's a problem with the plugin, which has just had a rebirth and is slowly coming back to life.
Using the external IP of the SubSonic server worked perfectly, thank you! What if it is a dynamic IP address though, how will that work?Glad to hear that worked. But yes, the dynamic IP can be an issue. But let Google be your friend as there are IP monitors around that alert you when the IP changes. I'm 'supposed' to have a dynamic IP per my provider, but it hasn't changed in more than three years.QuoteNow I just need to figure out how to get my library to show up when I click the Subsonic icon, and how to add my Subsonic share to the Musicbee library so I can start using this effectively.That's not your problem. It's a problem with the plugin, which has just had a rebirth and is slowly coming back to life.
I see other people reporting they used this plugin successfully though so I can't help but think something about how I set it up is causing my tracks to not show up on the root directories.I'm not having much success with it. If I click on the SubSonic node, I see and have access to all my tracks. When expanding the node, my playlists show but there's a status bar message indicating that "Unable to access Subsonic: \xxx". Under the list of playlists, I have the Music node which opens and shows all my tracks by artist. So I guess everything works as expected except for playlists.
Which musicbee version have you guys been trying with?I'm on v3. Do you have plans to fix it for v3? Especially since v2.5 isn't really being supported by Steven any longer.
The Playlist problem was only there in version 3.0 beta when I tested it, but worked in 2.5.
It was already reported to Steven earlier. ;)i believe i replied to that saying the issue you reported was now fixed.
Which musicbee version have you guys been trying with?
The Playlist problem was only there in version 3.0 beta when I tested it, but worked in 2.5.
Yes, that's how it appears in the left side panel.It was already reported to Steven earlier. ;)i believe i replied to that saying the issue you reported was now fixed.
@phred, i'm not really clear what you are saying the issue is. When expanding the "Subsonic" node i would expect the playlists to be listed and then the Music node.
So apart from the strange message in the status bar what exactly are you not able to do eg. if you click a playlist does it not show the contents of the playlist?Exactly. Playlist contents do not show. The view remains on the full library. Trying to play any track/album showing when on a playlist results in nothing playing. It's like the tracks show, but aren't really there.
phred how did you add the Subsonic share to your library?I'm not certain I understand the question. You already stated you have the plugin and it's enabled, correct? And I thought you said it works when you changed the plugin config to the external IP, right? There should be nothing more needed other than your SS username and password:
phred how did you add the Subsonic share to your library?I'm not certain I understand the question. You already stated you have the plugin and it's enabled, correct? And I thought you said it works when you changed the plugin config to the external IP, right? There should be nothing more needed other than your SS username and password:
(http://i.imgur.com/0985Njcl.jpg) (http://i.imgur.com/0985Njc.jpg)
SS from within MB is working for me as long as I don't want to listen to any playlists despite the fact that the playlists do appear under the SS node.
Sorry..I'm asking you how you got your subsonic share to appear under your Musicbee library because mine is only in the computer node. Could you possibly send me a screenshot of your subsonic setup, including the settings in the server control panel, and the media folder settings on the web app? I want to see if I'm missing anything obvious..thank you so much if you can help out.SubSonic does not and will not appear as part of the MB Library. It will only appear in the computer node. I have done nothing on the SubSonic side to enable MB to access it. It's all from the MB plugin. I'll be happy to send you some screenshots of my SubSonic setup, but they won't help with this. If SS is working as expected via a web browser and not in MB, then the problem is with MB. Or the plugin.
Using the external IP of the SubSonic server worked perfectly, thank you! What if it is a dynamic IP address though, how will that work?
Now I just need to figure out how to get my library to show up when I click the Subsonic icon, and how to add my Subsonic share to the Musicbee library so I can start using this effectively.
Sorry..I'm asking you how you got your subsonic share to appear under your Musicbee library because mine is only in the computer node. Could you possibly send me a screenshot of your subsonic setup, including the settings in the server control panel, and the media folder settings on the web app? I want to see if I'm missing anything obvious..thank you so much if you can help out.SubSonic does not and will not appear as part of the MB Library. It will only appear in the computer node. I have done nothing on the SubSonic side to enable MB to access it. It's all from the MB plugin. I'll be happy to send you some screenshots of my SubSonic setup, but they won't help with this. If SS is working as expected via a web browser and not in MB, then the problem is with MB. Or the plugin.
I guess I'm still a little confused as to what problem you're experiencing. Here you stated that it worked perfectly. But then you say you can't get the library to show up. So what is working perfectly?Using the external IP of the SubSonic server worked perfectly, thank you! What if it is a dynamic IP address though, how will that work?
Now I just need to figure out how to get my library to show up when I click the Subsonic icon, and how to add my Subsonic share to the Musicbee library so I can start using this effectively.
What IS working is that if I click on individual artist's folder I can only then see the music within it. If I click on the parent "Music" folder, or the parent "Subsonic" icon, none of the music shows up...effectively making the plugin next to useless for me. I can't click into each artist to manage my music. Also I asked how you added your Subsonic share to your MB Library because that's what your screenshot is showing...the Subsonic share within your Musicbee library and NOT the normal computer node location. Thanks.
What IS working is that if I click on individual artist's folder I can only then see the music within it. If I click on the parent "Music" folder, or the parent "Subsonic" icon, none of the music shows up...effectively making the plugin next to useless for me.And that's almost the opposite of what's happening to me. I can expand the Music node under SubSonic, click on any artist, and play any track. And while my playlists show, the contents of the playlists don't show.
I can't click into each artist to manage my music.When you say "manage" do you mean "listen to music" or do you mean "tag editing, etc"? You shouldn't manage your music via the SubSonic plugin. Managing your music should be done from the library only.
Also I asked how you added your Subsonic share to your MB Library because that's what your screenshot is showing...the Subsonic share within your Musicbee library and NOT the normal computer node location. Thanks.
What IS working is that if I click on individual artist's folder I can only then see the music within it. If I click on the parent "Music" folder, or the parent "Subsonic" icon, none of the music shows up...effectively making the plugin next to useless for me.And that's almost the opposite of what's happening to me. I can expand the Music node under SubSonic, click on any artist, and play any track. And while my playlists show, the contents of the playlists don't show.QuoteI can't click into each artist to manage my music.When you say "manage" do you mean "listen to music" or do you mean "tag editing, etc"? You shouldn't manage your music via the SubSonic plugin. Managing your music should be done from the library only.
I assume you can listen to your music directly from SubSonic, correct? (Did I ask this before?) Since you can "see" your artists under the Music node from within MB, it would appear that the plugin is connecting with SubSonic. And while I appreciate MiDWaN stepping up to take over development of the plugin, providing fixes for v2.5 is, in my opinion, a waste of time as that version is at it's end of life. Steven is no longer supporting it. I feel MiDWaN's time would be better spent trying to get the plugin working with v3. Steven said he fixed the issue that was on the MB side, so it would appear (I'm not a developer, so I don't know for sure) that the remaining issue(s) are on the plugin side.QuoteAlso I asked how you added your Subsonic share to your MB Library because that's what your screenshot is showing...the Subsonic share within your Musicbee library and NOT the normal computer node location. Thanks.
What you see at top "Library - phred" in the screenshot is the header of the left side panel. SubSonic will only live in the computer node. Here's another shot with the other nodes collapsed:
(http://i.imgur.com/MN37AIVl.jpg) (http://i.imgur.com/MN37AIV.jpg)
I apologize for my slow responses, I am currently a bit occupied with work these days and didn't have time to look into this in depth.Thanks for the update. And I certainly understand how life sometimes gets in the way.
Once I get the chance, I'll come back with more! :)
Okay, I'm understanding your issue a little more now.
But as I stated earlier, I don't think tagging from within the SubSonic node is a good idea (or even possible.) If (when) SS is seeing your MB library and playlists, I think tagging and creating playlists would be better done from within MB's library. I don't think it was ever the intent for the plugin to be used as an extension of the manager but someone (Steven?) will correct me if I'm wrong.
Just as an aside, you do know that you can export your MB playlists, correct? And from within SS you can point to the exported playlists directory and have them appear in SS. I have SS scan for music and playlist changes once every 24 hours.
I apologize for my slow responses, I am currently a bit occupied with work these days and didn't have time to look into this in depth.
Once I get the chance, I'll come back with more! :)
PS: The Subsonic node should (eventually) show ALL content, including all the subfolders. When you click on it, it will recursively try to scan through all the folders and subfolders it finds, and populate the list in the end. The results are also cached locally, to avoid this sort of scan happening again the next time you open it. However, I have noticed also that sometimes it does not quite behave ideally (no feedback during scanning, no proper refresh when it's finished - instead, you need to click somewhere else and back to trigger a refresh). It's also quite slow while doing this.
This is an area I am planning to improve, but it will probably take some time during testing/changing/testing again before we get to a better solution. All the feedback you can provide, the more detailed the better, would definitely help in that direction.
If at all possible, I would prefer if you could open issues on Github directly where these are tracked, flagged accordingly (e.g. bug, enhancement, etc) and resolved. If you can't, that's fine as I am also monitoring this thread of course. ;-)
I apologize for my slow responses, I am currently a bit occupied with work these days and didn't have time to look into this in depth.
Once I get the chance, I'll come back with more! :)
PS: The Subsonic node should (eventually) show ALL content, including all the subfolders. When you click on it, it will recursively try to scan through all the folders and subfolders it finds, and populate the list in the end. The results are also cached locally, to avoid this sort of scan happening again the next time you open it. However, I have noticed also that sometimes it does not quite behave ideally (no feedback during scanning, no proper refresh when it's finished - instead, you need to click somewhere else and back to trigger a refresh). It's also quite slow while doing this.
This is an area I am planning to improve, but it will probably take some time during testing/changing/testing again before we get to a better solution. All the feedback you can provide, the more detailed the better, would definitely help in that direction.
If at all possible, I would prefer if you could open issues on Github directly where these are tracked, flagged accordingly (e.g. bug, enhancement, etc) and resolved. If you can't, that's fine as I am also monitoring this thread of course. ;-)
Hey, any plans on troubleshooting this? My music still won't show up if I click on the main subsonic node. Just wondering if you are aware/working on a fix, thanks!
Has anyone found a solution to this issue?The plugin needs to be updated. Steven (MB developer and creator of the SubSonic plugin) doesn't have the time to support the plugin any longer. Someone (MiDWaN) showed interest in reworking it, but there's been very little progress as far as making it work as it had in the past.. Personally, I consider the plugin dead.
Has anyone found a solution to this issue?
I have just installed MusicBee 2.5.5804 on two systems running Windows 8.1, and subsonic 6.0 (build 830afc).
Everything works perfectly, except playback of flac files, which follows this exact pattern.
I have tried reinstallling MusicBee and the Susbsonic plug in without success.
Thanks in advance
Christopher Dillon
Just an update, the Artwork not showing problem was apparently a bug in MB, Steven fixed it in the latest Patched version. ;-)Confirming that the artwork now shows as expected when in SubSonic node of MB 3.0.6057. Thanks to MidWan for figuring out there there was a bug in MB and to Steven for (as always) fixing it quickly.
Ok, I'm using Subsonic server version 6.0 and plug-in version 2.9 (beta). For some reason, I can't get any music to show up in my MusicBee library. I'm using the same address and credentials that I use successfully with the Subsonic web UI, SubAir, and DSub on Android. I don't get any errors when I configure the MusicBee plug-in, and Subsonic shows up as a "drive" when I create a new library. However, after I have everything set up, no music appears in the MusicBee UI. If I use the re-scan library option in MusicBee, it immediately says that the re-scan is complete and no new music was found.
Any ideas? Thanks!
subsonic server sends only some basic tags to client: artist, title, album and some others. even album artist is inaccessible. not to speak about rating.
That might have been the case years ago, ...maybe you are right, i investigated this question 3-4 yeas ago.
subsonic server sends only some basic tags to client: artist, title, album and some others. even album artist is inaccessible. not to speak about rating.
That might have been the case years ago, but every modern client I've used (DSub, play:Sub, Jamstash, the official android client, etc) all support these features. There's API calls for getStarred, star, unstar, setrating, etc. (http://www.subsonic.org/pages/api.jsp). So it definitely doesn't look impossible.
https://<my.home.server>:<port#>/index.php/apps/music/subsonic
This plugin is the only way I can play subsonic server stuff on a windows 10 computer.It's certainly not the "only" way.
Hello,
My music collection is stored on a Nextcloud server, at home. I have enabled the "music (https://github.com/owncloud/music)" app (version 0.11.0) to allow streaming the audio files from my collection to external applications compatible with Subsonic (and Ampache).
On my Arch Linux laptop I use "Clementine" which has built-in capabilities to stream from a Subsonic server. This works perfectly.
On my work laptop (Windows 10) I have installed MusicBee and, following the instructions (https://github.com/midwan/MB_SubSonic) kindly provided by MiDWaN on GitHub, I tried to configure the plugin as shown below:
(https://i.imgur.com/rMk9V1c.jpg)
The music app shows this address to use when browsing the music collection from a Subsonic compatible player:Codehttps://<my.home.server>:<port#>/index.php/apps/music/subsonic
This combination of "hostname" and "port number" is the only one which make possible the main MusicBee window to show "Detected a Subsonic server" and ""Done running GetFolderFiles" messages in the lower left corner (see images below).
(https://i.imgur.com/KEfjLAG.jpg)
(https://i.imgur.com/GoYtGXR.jpg)
The issue is that no audio file from my collection is shown (as you can see in the two images above).
Other details which may help in troubleshooting the issue:
Subsonic Client v2.28.00
MusicBee version: 3.3.7261
Nextcloud version: 16.0.5 running on Ubuntu 18.04.3 LTS
I have a static IP from my ISP
Hello,
My music collection is stored on a Nextcloud server, at home. I have enabled the "music (https://github.com/owncloud/music)" app (version 0.11.0) to allow streaming the audio files from my collection to external applications compatible with Subsonic (and Ampache).
-------
-------
-------
The issue is that no audio file from my collection is shown (as you can see in the two images above).
Other details which may help in troubleshooting the issue:
Subsonic Client v2.28.00
MusicBee version: 3.3.7261
Nextcloud version: 16.0.5 running on Ubuntu 18.04.3 LTS
I have a static IP from my ISP
I was wanting to make an Auto Playlist locally in MusicBeeI don't use this plugin, but I do use Subsonic. Unless I'm misunderstanding what you're trying to do, you should create the auto-playlist in MB. Then it will (should) show up on Subsonic just like any other playlist.
I don't use this plugin, but I do use Subsonic. Unless I'm misunderstanding what you're trying to do, you should create the auto-playlist in MB. Then it will (should) show up on Subsonic just like any other playlist.
Are you creating your playlists on Subsonic and playing them on MB?
I have MB running on my PC. It exports playlists (auto and static) any time there's a change. Subsonic is also running on the same PC. The music files are on a NAS, with its directory mapped to a drive letter. Subsonic scans the music files (on the NAS) and the playlist files (on a PC) once a day and updates Subsonic. Subsonic has no trouble seeing/playing the playlists.
Where is MB installed?
Where are you playlists?
Where are you music files?
Are you exporting your MB playlists?
Is Subsonic not seeing them?
Do you have MB set up correctly to export the playlists? And are you remapping the file path(s)?
this has been fixed with a patched version of MusicBee, so when that becomes available it shouldn't be a problem anymore.If Steven fixed the MB issue in a patch version, then the patch is already available.
but I cant seem to get it to work. I am certain 100% that my hostname user and password are correct but to no avail.More details please.
is there any way to get it to show the whole library when I click on Subsonic?
Error retrieving response from Subsonic server:
System.Net.HttpRequestException: An error occurred while sending the request. --> System.Net.WebException:
Unable to connect to remote server ---> System.Net.Sockets.SocketException:
An attempt was made to access a socket in a way forbidden by its access permissions 192.168.2.14:443
public static bool PingServer(SubsonicSettings settings)
{
_currentSettings = SettingsHelper.SanitizeSettings(new List<SubsonicSettings>{settings}).First();
_serverName = BuildServerUri(_currentSettings);
..
}