Madsonic - Mashup Mod [MAIN]

Madsonic Mashup Mod is a fork of the Subsonic 4.7 Server Build 3090 with some Subsonic Data schema modifications!

Moderator: moderators

Re: Madsonic - Mashup Mod [MAIN]

Postby jonnymnemo » Mon Oct 15, 2012 2:15 pm

Hi Madevil !
Could you please separate the transcoding pack for linux and windows ? It would be easier to implement it in update scripts.

Thanks a lot for your work !
User avatar
jonnymnemo
 
Posts: 70
Joined: Thu Apr 12, 2012 8:11 am

Re: Madsonic - Mashup Mod [MAIN]

Postby erokani » Mon Oct 15, 2012 10:24 pm

Hello Madevil,

I've been a huge fan since a while.
I have an issue since few version (I'm sorry, I did not detect this earlier so I am not able to say since which build it's occuring... :-()

When I connect with my laptop or my smartphone to the subsonic server from my LAN, most of the time there is no issue (but sometimes it appears).
When outside my LAN, for most of the songs, I'm faced with a stuck song (neither buffering nor playing), and this error on the server side:
Code: Select all
[2012-10-16 00:13:39,441] WARN RESTFilter - Error in REST API: Closed
java.io.IOException: Closed
   at org.mortbay.jetty.AbstractGenerator$Output.write(AbstractGenerator.java:617)
   at org.mortbay.jetty.AbstractGenerator$Output.write(AbstractGenerator.java:575)
   at net.sourceforge.subsonic.controller.StreamController.handleRequest(StreamController.java:221)
   at net.sourceforge.subsonic.controller.RESTController.stream(RESTController.java:1120)
   at sun.reflect.GeneratedMethodAccessor55.invoke(Unknown Source)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
   at java.lang.reflect.Method.invoke(Unknown Source)
   at org.springframework.web.servlet.mvc.multiaction.MultiActionController.invokeNamedMethod(MultiActionController.java:473)
   at org.springframework.web.servlet.mvc.multiaction.MultiActionController.handleRequestInternal(MultiActionController.java:410)
   at org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:153)
   at org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:48)
   at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:875)
   at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:807)
   at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:571)
   at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:511)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
   at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487)
   at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1093)
   at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:265)
   at org.acegisecurity.intercept.web.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:107)
   at org.acegisecurity.intercept.web.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:72)
   at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
   at org.acegisecurity.ui.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:124)
   at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
   at org.acegisecurity.providers.anonymous.AnonymousProcessingFilter.doFilter(AnonymousProcessingFilter.java:125)
   at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
   at org.acegisecurity.ui.rememberme.RememberMeProcessingFilter.doFilter(RememberMeProcessingFilter.java:142)
   at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
   at org.acegisecurity.wrapper.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:81)
   at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
   at net.sourceforge.subsonic.security.RESTRequestParameterProcessingFilter.doFilter(RESTRequestParameterProcessingFilter.java:104)
   at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
   at org.acegisecurity.ui.basicauth.BasicProcessingFilter.doFilter(BasicProcessingFilter.java:174)
   at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
   at org.acegisecurity.ui.logout.LogoutFilter.doFilter(LogoutFilter.java:110)
   at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
   at org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.java:249)
   at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
   at org.acegisecurity.util.FilterChainProxy.doFilter(FilterChainProxy.java:149)
   at org.acegisecurity.util.FilterToBeanProxy.doFilter(FilterToBeanProxy.java:98)
   at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
   at net.sourceforge.subsonic.filter.RequestEncodingFilter.doFilter(RequestEncodingFilter.java:43)
   at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
   at net.sourceforge.subsonic.filter.RESTFilter.doFilter(RESTFilter.java:51)
   at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
   at net.sourceforge.subsonic.filter.ParameterDecodingFilter.doFilter(ParameterDecodingFilter.java:54)
   at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
   at net.sourceforge.subsonic.filter.BootstrapVerificationFilter.doFilter(BootstrapVerificationFilter.java:54)
   at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
   at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:360)
   at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
   at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
   at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:712)
   at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405)
   at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:139)
   at org.mortbay.jetty.Server.handle(Server.java:313)
   at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:506)
   at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:844)
   at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:644)
   at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:205)
   at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:381)
   at org.mortbay.jetty.bio.SocketConnector$Connection.run(SocketConnector.java:227)
   at org.mortbay.jetty.security.SslSocketConnector$SslConnection.run(SslSocketConnector.java:626)
   at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:442)


I'm connecting to the server through https, on 443 on the WAN but 4443 on the LAN (https listener of the subsonic server configured on port 4443).

Can you please help me identifying the rootcause? I love this mod, but I love more again to have access to my librairy from outside my LAN... :-(
erokani
 
Posts: 4
Joined: Wed Jul 18, 2012 8:28 pm

Re: Madsonic - Mashup Mod [MAIN]

Postby jdubso » Tue Oct 16, 2012 5:05 pm

MadEvil,

All of the users on my server use the chat window on the right instead of the social tab. When we comment the comments do not wrap around and instead you have to slide over each time.

There is a thread in the mods section under viewtopic.php?f=8&t=8132
but that does not work on your modded version.

Any ideas?
jdubso
 
Posts: 40
Joined: Tue Mar 15, 2011 11:55 am
Location: United States

Re: Madsonic - Mashup Mod [MAIN]

Postby Mnlmnv » Wed Oct 17, 2012 11:27 pm

Build 3158 seems to fix the Cover Change option from Build 3154

-thank you.
User avatar
Mnlmnv
 
Posts: 15
Joined: Thu Oct 11, 2012 4:06 pm

Re: Madsonic - Mashup Mod [MAIN]

Postby dsync89 » Fri Oct 19, 2012 2:31 pm

Any idea why I am getting the following screen? I've followed all the instructions already: removed work folder and .war and any folder inside /var/subsonic just to start anew.

Code: Select all
HTTP Status 503 - This application is not currently available

type Status report

message This application is not currently available

description The requested service (This application is not currently available) is not currently available.
Apache Tomcat/6.0.35
musicScrape @ Music Cabinet Mod
http://musicscrape.zapto.org:8080
dsync89
 
Posts: 72
Joined: Fri Oct 19, 2012 8:51 am

Re: Madsonic - Mashup Mod [MAIN]

Postby GJ51 » Fri Oct 19, 2012 4:31 pm

I've got 3158 running on Tomcat and just noticed that I no longer see Similar Artists displayed on the right. I have


Show what others are playing Show chat messages
Let others see what I am playing

all checked.


My other Madsonic site is the Windows version build 3148 and is working fine.

Any ideas?
Gary J

http://bios-mods.com
http://www.maplegrovepartners.com
http://theaverageguy.tv/category/tagpodcasts/cyberfrontiers/
User avatar
GJ51
 
Posts: 3492
Joined: Wed Oct 20, 2010 11:58 pm
Location: Western New York

Re: Madsonic - Mashup Mod [MAIN]

Postby Magica » Fri Oct 19, 2012 5:02 pm

Mine Windows version 3158 version is running also in Tomcat. It shows Similar artists without issues.
Right after starting Tomcat I removed following lines in Top.jsp:
line 124 and 129 (MadEvil gived a tip for that)

In that way I can use "Social" icon in chat messages. I also have these on in settings:
Show what others are playing
Let others see what I am playing
Show chat messages

So the chat messages are also shown in right panel.

If I don´t remove those lines and I checked "show chat messages" it will hide the "Social" Icon and after that the chat messages are only shown in right panel,

This is my second upgrade with Tomcat and Mashup mod runs definitely faster comparing to Jetty in same hardware.

Keep up the good work MadEvil.

-m-
Magica
 
Posts: 22
Joined: Thu Aug 11, 2011 1:46 pm

Re: Madsonic - Mashup Mod [MAIN]

Postby GJ51 » Fri Oct 19, 2012 6:06 pm

Magica wrote:Mine Windows version 3158 version is running also in Tomcat. It shows Similar artists without issues.
Right after starting Tomcat I removed following lines in Top.jsp:
line 124 and 129 (MadEvil gived a tip for that)

In that way I can use "Social" icon in chat messages. I also have these on in settings:
Show what others are playing
Let others see what I am playing
Show chat messages

So the chat messages are also shown in right panel.

If I don´t remove those lines and I checked "show chat messages" it will hide the "Social" Icon and after that the chat messages are only shown in right panel,

This is my second upgrade with Tomcat and Mashup mod runs definitely faster comparing to Jetty in same hardware.

Keep up the good work MadEvil.

-m-



Made the edits and the "Social" icon is now visible, but I'm still not getting Similar artists to display on the right side.

Got me stumped.
Gary J

http://bios-mods.com
http://www.maplegrovepartners.com
http://theaverageguy.tv/category/tagpodcasts/cyberfrontiers/
User avatar
GJ51
 
Posts: 3492
Joined: Wed Oct 20, 2010 11:58 pm
Location: Western New York

Re: Madsonic - Mashup Mod [MAIN]

Postby GJ51 » Sun Oct 21, 2012 12:13 am

GJ51 wrote:
Magica wrote:Mine Windows version 3158 version is running also in Tomcat. It shows Similar artists without issues.
Right after starting Tomcat I removed following lines in Top.jsp:
line 124 and 129 (MadEvil gived a tip for that)

In that way I can use "Social" icon in chat messages. I also have these on in settings:
Show what others are playing
Let others see what I am playing
Show chat messages

So the chat messages are also shown in right panel.

If I don´t remove those lines and I checked "show chat messages" it will hide the "Social" Icon and after that the chat messages are only shown in right panel,

This is my second upgrade with Tomcat and Mashup mod runs definitely faster comparing to Jetty in same hardware.

Keep up the good work MadEvil.

-m-



Made the edits and the "Social" icon is now visible, but I'm still not getting Similar artists to display on the right side.

Got me stumped.


Solved! - I gorgot that it was becuse I recently solved the riddle of setting up SSL on Tomcat, which then block the Similar Artists unless you let it through. In Chrome you click on the sheild that shows up at the right end of the address bar. I'm not sure how, or if, it would be done in IE.

Interesting riddle to solve here. How to let that content in automatically and still use SSL for the rest of the site.
Gary J

http://bios-mods.com
http://www.maplegrovepartners.com
http://theaverageguy.tv/category/tagpodcasts/cyberfrontiers/
User avatar
GJ51
 
Posts: 3492
Joined: Wed Oct 20, 2010 11:58 pm
Location: Western New York

Re: Madsonic - Mashup Mod [MAIN]

Postby bushman4 » Mon Oct 22, 2012 2:14 pm

As I mentioned to Gary in a Personal Message, the problem with the insecure content is that it is actually your browser that goes out to MusicBrainz or wherever (http://moquanc.at.ifi.uio.no/ArtistInfo/jsonp.php) and gets the similar artists, and when it does, it uses HTTP instead of HTTPS. Unfortunately the same server that is configured in MadSonic does not seem to support SSL for the same query...

The best way around this would be to build a function into the subsonic server, possibly into the "NowPlayingService" to retrieve the information for you and then feed it back as part of the rest of the right frame. Then, because the communications will be from Subsonic Server to you over SSL, the error would not occur. The server would be making the insecure connection on your behalf and then sending the data along back to the client securely.

Is the SimilarArtist feature used in multiple places? It just appears that the code is duplicated in the script file that it lives in (similar_artists.js) with a few minor formatting changes, but I couldn't find another place that it was used in my quick inspection of the interface. Just curious.

Glenn
Glenn Sullivan
Subsonic 6.1.6 (Unraid Docker)
90 regular Subsonic Users

Library as of 2024-10-28:
4,527 artists
19,996 albums
282,151 songs
10201.40 GB
41,583 hours
User avatar
bushman4
 
Posts: 874
Joined: Thu Dec 02, 2010 1:47 pm
Location: Massachusetts, USA

Re: Madsonic - Mashup Mod [MAIN]

Postby jonnymnemo » Tue Oct 23, 2012 11:21 am

bushman4 wrote:As I mentioned to Gary in a Personal Message, the problem with the insecure content is that it is actually your browser that goes out to MusicBrainz or wherever (http://moquanc.at.ifi.uio.no/ArtistInfo/jsonp.php) and gets the similar artists, and when it does, it uses HTTP instead of HTTPS. Unfortunately the same server that is configured in MadSonic does not seem to support SSL for the same query...

The best way around this would be to build a function into the subsonic server, possibly into the "NowPlayingService" to retrieve the information for you and then feed it back as part of the rest of the right frame. Then, because the communications will be from Subsonic Server to you over SSL, the error would not occur. The server would be making the insecure connection on your behalf and then sending the data along back to the client securely.

Is the SimilarArtist feature used in multiple places? It just appears that the code is duplicated in the script file that it lives in (similar_artists.js) with a few minor formatting changes, but I couldn't find another place that it was used in my quick inspection of the interface. Just curious.

Glenn


You have a point.
Although, if the server was to send ALL the requests to MusicBrainz for what users play, it could use a lot of bandwidth. Also, using multi accounts from one IP could be a problem.

From http://musicbrainz.org/doc/XML_Web_Service/Version_2
Limiting Connections to the MusicBrainz Web Service
All users of the XML web service must ensure that each of their client applications never make more than ONE web service call per second. Making more than one call per second drives up the load on the servers and prevents others from using MusicBrainz. If you impact the server by making more than one call per second, your IP address may be blocked preventing all further access to MusicBrainz. For more details on this, please see our rate limiting page.


And for LastFm : http://www.lastfm.fr/api/tos
4.4
You will implement suitable caching in accordance with the HTTP headers sent with web service responses. You will not make more than 5 requests per originating IP address per second, averaged over a 5 minute period, without prior written consent. You agree to cache similar artist and any chart data (top tracks, top artists, top albums) for a minimum of one week.


If you have many users, this could be a problem...
User avatar
jonnymnemo
 
Posts: 70
Joined: Thu Apr 12, 2012 8:11 am

Re: Madsonic - Mashup Mod [MAIN]

Postby hakko » Tue Oct 23, 2012 12:52 pm

jonnymnemo wrote:And for LastFm : http://www.lastfm.fr/api/tos
4.4
You will implement suitable caching in accordance with the HTTP headers sent with web service responses. You will not make more than 5 requests per originating IP address per second, averaged over a 5 minute period, without prior written consent. You agree to cache similar artist and any chart data (top tracks, top artists, top albums) for a minimum of one week.


If you have many users, this could be a problem...


This is exactly what I do for my MusicCabinet mod, though. The server looks up similar artists as part of the nightly scanning and is then ready to present that information without getting the hit of doing the lookup every time you browse an artist.

http://dilerium.se/musiccabinet/#relatedArtists
MusicCabinet developer
hakko
 
Posts: 1416
Joined: Tue Apr 17, 2012 7:05 pm
Location: Sweden

Re: Madsonic - Mashup Mod [MAIN]

Postby rickeo » Tue Oct 30, 2012 4:59 pm

None of my users are able to play FLAC files. Just as everyone describes, the files pre-load but never start to play.

Default Madsonic Mashup Mod install (latest as of today). Here are my stats:

Code: Select all
Version

4.7 (build 3158) – October 16, 2012 – (Moded by MadEvil)



Server

jetty-6.1.x, java 1.7.0_05, Windows Server 2008 R2 (76.3 MB / 110.6 MB)


Is there a final fix for this without having to transcode all of my FLAC's?
rickeo
 
Posts: 30
Joined: Wed Jun 17, 2009 6:40 pm

Re: Madsonic - Mashup Mod [MAIN]

Postby MadEvil » Wed Oct 31, 2012 5:15 am

rickeo wrote:None of my users are able to play FLAC files. Just as everyone describes, the files pre-load but never start to play.
Default Madsonic Mashup Mod install (latest as of today). Here are my stats:
Code: Select all
Version 4.7 (build 3158) – October 16, 2012 – (Moded by MadEvil)
Server jetty-6.1.x, java 1.7.0_05, Windows Server 2008 R2 (76.3 MB / 110.6 MB)

Is there a final fix for this without having to transcode all of my FLAC's?


Hi there,
maybe the same issue --> read and try this

viewtopic.php?f=15&t=10460#p47404
viewtopic.php?f=15&t=10460#p47416
Madsonic Developer
User avatar
MadEvil
 
Posts: 354
Joined: Wed Nov 09, 2011 8:35 pm
Location: Vienna

Madsonic Build 3200 (beta) is working great!

Postby Mnlmnv » Thu Nov 01, 2012 4:34 am

First of all, great hard work from Madsonic.
After a day of testing, I have to say there are two welcomed features, and I would recommend people who are using the official subsonic would missed out these features:
1. Group Access, it works as described. I have test several users, and the restrictions are working. However, if you add new group, or new media folder, you need to process the “Reset Access Control” in “Clean Up” first.
2. Subtitles for subsonic, a long wait feature has arrives. Though currently, to options to change the caption font size, but it work perfectly on “Web player”.
Great work Madsonic :) , thank your for sharing. This feeback reflects on Madsonic Build 3200 (beta)
User avatar
Mnlmnv
 
Posts: 15
Joined: Thu Oct 11, 2012 4:06 pm

PreviousNext

Return to Madsonic

Who is online

Users browsing this forum: No registered users and 8 guests