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 !
Moderator: moderators
[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)
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
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-
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.
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
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.
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.
jonnymnemo wrote:And for LastFm : http://www.lastfm.fr/api/tos4.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...
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)
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?
Users browsing this forum: No registered users and 8 guests