=========================================================================================
VERSION: MADSONIC 6.0 | BUILD: 7450
SERVER: CPU: ICORE7 | ARCH: X64 | MEMORY: 24GB | HDD: 22TB
OS: Windows 7 Ultimate
SYSTEM: CLIENT
INSTALLER: WINDOWS
JAVA: ORACLE JDK 1.8
BROWSER: CHROME 44
CLIENT: DSUB
REPRODUCIBLE: YES
=========================================================================================
with the latest Dsub install. I get no data while browsing through folders where there is data.
Thanks Taoism.
[Solved] DSub - No Data
-
- Developer
- Posts: 23
- Joined: 03 Jan 2014, 00:20
- Has thanked: 1 time
- Been thanked: 8 times
Re: DSub - No Data
It appears that it is because DSub is falling back to the Subsonic emulated version and using tokens. If Mad just copied the same code from Subsonic then it probably suffers from the same bug where LDAP users will not work using tokens.
PS There is a bug in the current version of DSub where the token is not refreshed after changing the username/password so you will need to clear it from memory to try a different user.
PS There is a bug in the current version of DSub where the token is not refreshed after changing the username/password so you will need to clear it from memory to try a different user.
-
- Developer
- Posts: 23
- Joined: 03 Jan 2014, 00:20
- Has thanked: 1 time
- Been thanked: 8 times
Re: DSub - No Data
Also Mad can you please add a way for me to tell that I can use the 2.0 API from a normal response? Otherwise I will just pretend like it is an actual Subsonic install.
- These users thanked the author daneren2005 for the post:
- Madsonic
- Rating: 7.69%
- troycarpenter
- Posts: 138
- Joined: 03 Dec 2013, 19:16
- Has thanked: 28 times
- Been thanked: 50 times
Re: DSub - No Data
Yes, against .7450 the server test fails. I've written about this now in a few places, but didn't post in the bug section yet.
- Madsonic
- Administrator
- Posts: 986
- Joined: 07 Dec 2012, 03:58
- Has thanked: 1204 times
- Been thanked: 470 times
Re: DSub - No Data
Hi Scott,
as I have already mentioned, i have add an new REST call getApi
and add the attribute TYPE to all REST replies.
Madsonic Server
REST 2.0 - TYPE = madsonic
REST 1.13 - TYPE = subsonic
Subsonic Server (stock)
REST 1.13 - TYPE = null
http://beta.madsonic.org/pages/api.jsp#Implementation
best regards
as I have already mentioned, i have add an new REST call getApi
and add the attribute TYPE to all REST replies.
Madsonic Server
REST 2.0 - TYPE = madsonic
REST 1.13 - TYPE = subsonic
Subsonic Server (stock)
REST 1.13 - TYPE = null
http://beta.madsonic.org/pages/api.jsp#Implementation
Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
<madsonic-response xmlns="http://madsonic.org/restapi" status="ok">
<api>
<rest type="madsonic" version="2.0.0"/>
<rest type="subsonic" version="1.13.0"/>
<api>
</madsonic-response>
Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
<subsonic-response xmlns="http://subsonic.org/restapi" status="ok" version="1.13.0" type="subsonic">
Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
<madsonic-response xmlns="http://madsonic.org/restapi" status="ok" version="2.0.0" type="madsonic">
-
- Developer
- Posts: 23
- Joined: 03 Jan 2014, 00:20
- Has thanked: 1 time
- Been thanked: 8 times
Re: DSub - No Data
Tokens appear to still not work on latest build:
pass=dsub
salt=6i1t5qe1sqljv2pd0nqesc3eii
token=bfabec378880234916c3307b9fd1db9f
echo -n dsub6i1t5qe1sqljv2pd0nqesc3eii | md5sum
bfabec378880234916c3307b9fd1db9f
Yet I get a wrong username/password error. Issue appears to only happen with LDAP users.
pass=dsub
salt=6i1t5qe1sqljv2pd0nqesc3eii
token=bfabec378880234916c3307b9fd1db9f
echo -n dsub6i1t5qe1sqljv2pd0nqesc3eii | md5sum
bfabec378880234916c3307b9fd1db9f
Yet I get a wrong username/password error. Issue appears to only happen with LDAP users.
- These users thanked the author daneren2005 for the post (total 2):
- Madsonic • taoism
- Rating: 15.38%