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 maxxh » Thu Nov 01, 2012 10:41 am

Is the source code for Madsonic in any publicly available SVN or Git server?
If not, could you provide a link to download the latest source code?
maxxh
 
Posts: 21
Joined: Sat Apr 16, 2011 9:22 pm
Location: Austria

Re: Madsonic - Mashup Mod [MAIN]

Postby ananda96 » Fri Nov 02, 2012 6:09 pm

at first - Beta works fine and there's no error so far. thank you.

4.8.beta1 (build 3200) – 31. Oktober 2012 – (Moded by MadEvil)
Server jetty-6.1.x, java 1.7.0_09, Windows 7 (153,2 MB / 207,7 MB)

But: i still have the issue of wrong stats...

2.094 Künstler --------- This can't be true! (close to 4000 Artists in Foobar)
8.908 Alben
91.756 Songs
1000,53 GB (~ 7.969 Stunden) ---- wrong too!

I reported this several times in the mainforum, am I the only one with this lack of stats?

cleaning database als Madevil recommended and fresh installs don't change that.
User avatar
ananda96
 
Posts: 17
Joined: Fri Aug 26, 2011 4:27 am
Location: Costa Rica

Re: Madsonic - Mashup Mod [MAIN]

Postby Ghizmo » Tue Nov 06, 2012 11:04 am

Hi Mad,

In Settings, when i click on "Cleanup" i've this error message :
Code: Select all
HTTP ERROR: 404

/WEB-INF/jsp/cleanupSettings.jsp
RequestURI=/WEB-INF/jsp/cleanupSettings.jsp

Powered by Jetty://


What's wrong please ?

Thanks in advance...
Ghizmo
 
Posts: 9
Joined: Sat Jun 26, 2010 12:11 pm

Re: Madsonic - Mashup Mod [MAIN]

Postby MadEvil » Wed Nov 07, 2012 1:07 am

Ghizmo wrote:Hi Mad,

In Settings, when i click on "Cleanup" i've this error message :
Code: Select all
HTTP ERROR: 404
/WEB-INF/jsp/cleanupSettings.jsp
RequestURI=/WEB-INF/jsp/cleanupSettings.jsp


What's wrong please ?
Thanks in advance...

Hi,
sorry this was an TYPO, fixed with new Build 3210.
best regards
Madsonic Developer
User avatar
MadEvil
 
Posts: 353
Joined: Wed Nov 09, 2011 8:35 pm
Location: Vienna

Re: Madsonic - Mashup Mod [MAIN]

Postby MadEvil » Wed Nov 07, 2012 1:21 am

ananda96 wrote:at first - Beta works fine and there's no error so far. thank you.

4.8.beta1 (build 3200) – 31. Oktober 2012 – (Moded by MadEvil)
But: i still have the issue of wrong stats...

2.094 Künstler --------- This can't be true! (close to 4000 Artists in Foobar)
8.908 Alben
91.756 Songs
1000,53 GB (~ 7.969 Stunden) ---- wrong too!

I reported this several times in the mainforum, am I the only one with this lack of stats?
cleaning database als Madevil recommended and fresh installs don't change that.

Hi,
I changed/advanced the Media-Library Statistics in the new Build 3210. This should bring your Artists back.

New counting albums and albumsets:

Example

1 Albumset with 2 Disks are 2 album counts

Image

Image

best regards
Madsonic Developer
User avatar
MadEvil
 
Posts: 353
Joined: Wed Nov 09, 2011 8:35 pm
Location: Vienna

Re: Madsonic - Mashup Mod [MAIN]

Postby henriquemaia » Wed Nov 07, 2012 7:31 am

I'm using this mod and I'm very pleased with the way subsonic now looks. Thanks for that.

Question: is there a way to properly sort files? Some albums get all their tracks completely messed up*.

Note: running subsonic on Ubuntu server 12.10 and latest build of Madsonic. I've selected the option to sort by foldernames.

EDIT: *Not completely messed up, but not properly sorted. They are sorted alphabetically, not by tracks, which is rather annoying in albums where there are continuities.
henriquemaia
 
Posts: 17
Joined: Thu Oct 21, 2010 2:32 am

Re: Madsonic - Mashup Mod [MAIN]

Postby MadEvil » Wed Nov 07, 2012 7:04 pm

henriquemaia wrote:I'm using this mod and I'm very pleased with the way subsonic now looks. Thanks for that.
Question: is there a way to properly sort files? Some albums get all their tracks completely messed up*.
Note: running subsonic on Ubuntu server 12.10 and latest build of Madsonic. I've selected the option to sort by foldernames.
EDIT: *Not completely messed up, but not properly sorted. They are sorted alphabetically, not by tracks, which is rather annoying in albums where there are continuities.

Hi,
I found out not well tagged media files (example without track numbers) get sorted default alphabetically.
So i add in the Build 3216 a new Setting you can choose how the files get sorted (alphabetically or by filename if no tracknumber exist).

Best regards
Madsonic Developer
User avatar
MadEvil
 
Posts: 353
Joined: Wed Nov 09, 2011 8:35 pm
Location: Vienna

Re: Madsonic - Mashup Mod [MAIN]

Postby Ghizmo » Thu Nov 08, 2012 12:30 pm

Hi Mad,

Just a question : What's Subsonic Premium Services ?
Ghizmo
 
Posts: 9
Joined: Sat Jun 26, 2010 12:11 pm

Re: Madsonic - Mashup Mod [MAIN]

Postby hairlesshobo » Thu Nov 08, 2012 1:08 pm

I just installed build 3216 last night from a previous Madsonic build (3148), and I have to say that there have been huge improvements yet again! Thank you for the split transcoders, it made a huge difference on my machine in regards to transcoding performance, especially for audio!

I know that this is a beta, but I wanted to let you know of a couple bugs that I have spotted and not sure if you are aware of.

First, when I upgraded from my previous build to this one, I had to start subsonic, stop it, then start it again, run a full media scan, and then restart it one last time. The very first time I started Madsonic after the upgrade, it upgraded the database schema successfully, but it never would respond to incoming http requests until I restarted it the first time. After that, it started but I received errors about not being able to update statistics (sorry, I don't have the exact error message - forgot to save a copy last night). After I ran a manual scan of the database and restarted it one last time, the error went away and Madsonic started up successfully.

I also noticed that on the front end, it always reflects that it's scanning files in the top left corner, even when it isn't. Now the interesting part about this is that it happened when going to the front end on my Madsonic server and on my work laptop (this PC) - both running Windows 7 64 bit with Firefox 16.0.2. Now here is the kicker.. this did not happen on my Macbook running the same exact version of Firefox. I even tried clearing cache and restarting the browser, hoping that it was something caused by the browser itself and not the application, but it made no difference.
shot 1.png


And finally, and this one is very small, when CustomScrollbars are disabled (which I do), there is always a little room to scroll on the left side. What I mean is that, even if the content in the left frame is too short to need to be scrolled, it still can be by about 4 or 5 pixels. It almost seems like the margin or padding is set incorrectly on some content in that frame or something, but I have yet to dig in deeper to the code and look at what might be causing it. If you need me to, I will be glad to do this and lend a hand.
shot 2.png


So far, that is all I have seen. Other than that, Madsonic has been working great, especially since I upgraded to the latest build. Keep up the excellent work!!!

-Steve
hairlesshobo
 
Posts: 54
Joined: Tue Feb 15, 2011 4:34 pm

Re: Madsonic - Mashup Mod [MAIN]

Postby hairlesshobo » Thu Nov 08, 2012 1:12 pm

Ghizmo wrote:Hi Mad,

Just a question : What's Subsonic Premium Services ?


Someone correct me if I am wrong, but I believe that is referring to the subsonic.org subdomain you get if you donate to Sindre for the original subsonic. If you've never donated to the original subsonic, you don't have one and have no need to use it. If you choose to donate and get the license key from Sindre, then you'd have a subdomain for subsonic.org.

-Steve
hairlesshobo
 
Posts: 54
Joined: Tue Feb 15, 2011 4:34 pm

Re: Madsonic - Mashup Mod [MAIN]

Postby MediocreFred » Thu Nov 08, 2012 1:42 pm

Hi, Am on build 3210. During the daily scan of my media library, I get this in the log (error is new to this build):

Code: Select all
[2012-11-08 02:01:28,651] ERROR MediaScannerService - Failed to scan media library.
org.springframework.dao.DataIntegrityViolationException: PreparedStatementCallback; SQL [insert into artist (id, name, cover_art_path, album_count, last_scanned, present) values (?, ?, ?, ?, ?, ?)]; Attempt to insert null into a non-nullable column: column: NAME table: ARTIST in statement [insert into artist (id, name, cover_art_path, album_count, last_scanned, present) values (?, ?, ?, ?, ?, ?)]; nested exception is java.sql.SQLException: Attempt to insert null into a non-nullable column: column: NAME table: ARTIST in statement [insert into artist (id, name, cover_art_path, album_count, last_scanned, present) values (?, ?, ?, ?, ?, ?)]
   at org.springframework.jdbc.support.SQLStateSQLExceptionTranslator.doTranslate(SQLStateSQLExceptionTranslator.java:100)
   at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:72)
   at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:80)
   at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:80)
   at org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:607)
   at org.springframework.jdbc.core.JdbcTemplate.update(JdbcTemplate.java:792)
   at org.springframework.jdbc.core.JdbcTemplate.update(JdbcTemplate.java:850)
   at org.springframework.jdbc.core.JdbcTemplate.update(JdbcTemplate.java:858)
   at net.sourceforge.subsonic.dao.AbstractDao.update(AbstractDao.java:71)
   at net.sourceforge.subsonic.dao.ArtistDao.createOrUpdateArtist(ArtistDao.java:86)
   at net.sourceforge.subsonic.service.MediaScannerService.updateArtist(MediaScannerService.java:346)
   at net.sourceforge.subsonic.service.MediaScannerService.scanFile(MediaScannerService.java:235)
   at net.sourceforge.subsonic.service.MediaScannerService.scanFile(MediaScannerService.java:219)
   at net.sourceforge.subsonic.service.MediaScannerService.scanFile(MediaScannerService.java:222)
   at net.sourceforge.subsonic.service.MediaScannerService.doScanLibrary(MediaScannerService.java:170)
   at net.sourceforge.subsonic.service.MediaScannerService.access$000(MediaScannerService.java:47)
   at net.sourceforge.subsonic.service.MediaScannerService$2.run(MediaScannerService.java:146)
Caused by: java.sql.SQLException: Attempt to insert null into a non-nullable column: column: NAME table: ARTIST in statement [insert into artist (id, name, cover_art_path, album_count, last_scanned, present) values (?, ?, ?, ?, ?, ?)]
   at org.hsqldb.jdbc.Util.throwError(Unknown Source)
   at org.hsqldb.jdbc.jdbcPreparedStatement.executeUpdate(Unknown Source)
   at org.springframework.jdbc.core.JdbcTemplate$2.doInPreparedStatement(JdbcTemplate.java:798)
   at org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:591)
   ... 12 more


As soon as this error is encountered, scanning aborts. Since my id3 tags are pretty far from complete/perfect, will it be possible to ignore this error (skip the item) and continue scanning? Possibly, enter "Unknown" or "None" or just a space as the Artist if there is none in the id3 tag?

A couple of other errors in the log that are caused while streaming mp3s (I have disabled transcoding for mp3s). Neither if these cause any noticeable issues for the listener, but, clog the log:

This is new to this build
Code: Select all
[2012-11-07 19:23:35,248] WARN RESTFilter - Error in REST API: For input string: "6e3a5c4c2d2d4c4543545552452d2044454d4f4e5354524154494f4e532d4341524e415449432d31322e322047425c4c45432d44454d2d203732204d454c414b41525448412052414741532d532e42414c414348414e4445522d5645454e41495c564f4c554d4520315c30352033307468204d454c414b4152544841204e41414741414e414e44494e492d36746820524141474120494e204348414b524120562e6d7033"
java.lang.NumberFormatException: For input string: "6e3a5c4c2d2d4c4543545552452d2044454d4f4e5354524154494f4e532d4341524e415449432d31322e322047425c4c45432d44454d2d203732204d454c414b41525448412052414741532d532e42414c414348414e4445522d5645454e41495c564f4c554d4520315c30352033307468204d454c414b4152544841204e41414741414e414e44494e492d36746820524141474120494e204348414b524120562e6d7033"
   at java.lang.NumberFormatException.forInputString(Unknown Source)
   at java.lang.Integer.parseInt(Unknown Source)
   at java.lang.Integer.valueOf(Unknown Source)
   at org.springframework.web.bind.ServletRequestUtils$IntParser.doParse(ServletRequestUtils.java:554)
   at org.springframework.web.bind.ServletRequestUtils$ParameterParser.parse(ServletRequestUtils.java:524)
   at org.springframework.web.bind.ServletRequestUtils$IntParser.parseInt(ServletRequestUtils.java:558)
   at org.springframework.web.bind.ServletRequestUtils.getRequiredIntParameter(ServletRequestUtils.java:108)
   at org.springframework.web.bind.ServletRequestUtils.getIntParameter(ServletRequestUtils.java:62)
   at net.sourceforge.subsonic.controller.StreamController.getSingleFile(StreamController.java:241)
   at net.sourceforge.subsonic.controller.StreamController.handleRequest(StreamController.java:120)
   at net.sourceforge.subsonic.controller.RESTController.stream(RESTController.java:1141)
   at sun.reflect.GeneratedMethodAccessor114.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.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:396)
   at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:442)


while this has been there ever since I upgraded to 4.7 (Subsonic and Madsonic)
Code: Select all
[2012-11-07 17:00:45,270] WARN RESTFilter - Error in REST API: EofException
org.mortbay.jetty.EofException
   at org.mortbay.jetty.HttpGenerator.flush(HttpGenerator.java:760)
   at org.mortbay.jetty.AbstractGenerator$Output.blockForOutput(AbstractGenerator.java:546)
   at org.mortbay.jetty.AbstractGenerator$Output.flush(AbstractGenerator.java:567)
   at org.mortbay.jetty.HttpConnection$Output.flush(HttpConnection.java:907)
   at org.mortbay.jetty.AbstractGenerator$Output.write(AbstractGenerator.java:628)
   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:1141)
   at sun.reflect.GeneratedMethodAccessor114.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.headerComplete(HttpConnection.java:830)
   at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:514)
   at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211)
   at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:381)
   at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:396)
   at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:442)
Caused by: java.io.IOException: An existing connection was forcibly closed by the remote host
   at sun.nio.ch.SocketDispatcher.write0(Native Method)
   at sun.nio.ch.SocketDispatcher.write(Unknown Source)
   at sun.nio.ch.IOUtil.writeFromNativeBuffer(Unknown Source)
   at sun.nio.ch.IOUtil.write(Unknown Source)
   at sun.nio.ch.SocketChannelImpl.write(Unknown Source)
   at org.mortbay.io.nio.ChannelEndPoint.flush(ChannelEndPoint.java:166)
   at org.mortbay.io.nio.SelectChannelEndPoint.flush(SelectChannelEndPoint.java:208)
   at org.mortbay.jetty.HttpGenerator.flush(HttpGenerator.java:693)
   ... 67 more


Are these errors that can be easily fixed or worked around in the code?

Thanks.
MediocreFred
 
Posts: 35
Joined: Tue Oct 05, 2010 4:19 pm

Re: Madsonic - Mashup Mod [MAIN]

Postby sebass » Fri Nov 09, 2012 10:51 am

Hi MadEvil,

Your mod is awesome! However i'm getting this error since one of the last builts. The statistics are also wrong eversince, 1 hour of music on 0 artists/albums etc while the list is almost complete...

Info on the error:
Code: Select all
[2012-11-09 11:14:20,971] ERROR MediaScannerService - Failed to scan media library.
org.springframework.dao.DataIntegrityViolationException: PreparedStatementCallback; SQL [insert into album (id, path, name, SetName, artist, albumartist, song_count, duration_seconds, cover_art_path, play_count, last_played, comment, created, last_scanned, present) values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)]; Attempt to insert null into a non-nullable column: column: NAME table: ALBUM in statement [insert into album (id, path, name, SetName, artist, albumartist, song_count, duration_seconds, cover_art_path, play_count, last_played, comment, created, last_scanned, present) values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)]; nested exception is java.sql.SQLException: Attempt to insert null into a non-nullable column: column: NAME table: ALBUM in statement [insert into album (id, path, name, SetName, artist, albumartist, song_count, duration_seconds, cover_art_path, play_count, last_played, comment, created, last_scanned, present) values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)]
   at org.springframework.jdbc.support.SQLStateSQLExceptionTranslator.doTranslate(SQLStateSQLExceptionTranslator.java:100)
   at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:72)
   at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:80)
   at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:80)
   at org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:607)
   at org.springframework.jdbc.core.JdbcTemplate.update(JdbcTemplate.java:792)
   at org.springframework.jdbc.core.JdbcTemplate.update(JdbcTemplate.java:850)
   at org.springframework.jdbc.core.JdbcTemplate.update(JdbcTemplate.java:858)
   at net.sourceforge.subsonic.dao.AbstractDao.update(AbstractDao.java:71)
   at net.sourceforge.subsonic.dao.AlbumDao.createOrUpdateAlbum(AlbumDao.java:148)
   at net.sourceforge.subsonic.service.MediaScannerService.updateAlbum(MediaScannerService.java:311)
   at net.sourceforge.subsonic.service.MediaScannerService.scanFile(MediaScannerService.java:234)
   at net.sourceforge.subsonic.service.MediaScannerService.scanFile(MediaScannerService.java:219)
   at net.sourceforge.subsonic.service.MediaScannerService.doScanLibrary(MediaScannerService.java:170)
   at net.sourceforge.subsonic.service.MediaScannerService.access$000(MediaScannerService.java:47)
   at net.sourceforge.subsonic.service.MediaScannerService$2.run(MediaScannerService.java:146)
Caused by: java.sql.SQLException: Attempt to insert null into a non-nullable column: column: NAME table: ALBUM in statement [insert into album (id, path, name, SetName, artist, albumartist, song_count, duration_seconds, cover_art_path, play_count, last_played, comment, created, last_scanned, present) values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)]
   at org.hsqldb.jdbc.Util.throwError(Unknown Source)
   at org.hsqldb.jdbc.jdbcPreparedStatement.executeUpdate(Unknown Source)
   at org.springframework.jdbc.core.JdbcTemplate$2.doInPreparedStatement(JdbcTemplate.java:798)
   at org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:591)
   ... 11 more


I've got also some errors while scanning, I think it has something to do with the "mju"-sign in the file and folder-name:
Code: Select all
[2012-11-09 11:14:17,914] WARN JaudiotaggerParser - Error when parsing tags in D:\Music\µ-ziq\µ-Ziq - Lunatic Harness [1997] [Album][320CD](mu-ziq)\µ-Ziq - Lunatic Harness - 01 - Brace Yourself Jason.mp3
java.lang.NullPointerException
   at java.text.SimpleDateFormat.parse(Unknown Source)
   at java.text.DateFormat.parse(Unknown Source)
   at net.sourceforge.subsonic.service.metadata.JaudiotaggerParser.parseYear(JaudiotaggerParser.java:113)
   at net.sourceforge.subsonic.service.metadata.JaudiotaggerParser.getRawMetaData(JaudiotaggerParser.java:86)
   at net.sourceforge.subsonic.service.metadata.MetaDataParser.getMetaData(MetaDataParser.java:47)
   at net.sourceforge.subsonic.service.MediaFileService.createMediaFile(MediaFileService.java:647)
   at net.sourceforge.subsonic.service.MediaFileService.updateChildren(MediaFileService.java:392)
   at net.sourceforge.subsonic.service.MediaFileService.getChildrenOf(MediaFileService.java:249)
   at net.sourceforge.subsonic.service.MediaScannerService.scanFile(MediaScannerService.java:218)
   at net.sourceforge.subsonic.service.MediaScannerService.doScanLibrary(MediaScannerService.java:170)
   at net.sourceforge.subsonic.service.MediaScannerService.access$000(MediaScannerService.java:47)
   at net.sourceforge.subsonic.service.MediaScannerService$2.run(MediaScannerService.java:146)


Keep up the good work, MadEvil!
sebass
 
Posts: 1
Joined: Fri Nov 09, 2012 10:41 am

Re: Madsonic - Mashup Mod [MAIN]

Postby MadEvil » Fri Nov 09, 2012 12:37 pm

Hi @ all,
Hopefully fixed all scanning Errors with Build 3220 :wink:
best regards
Madsonic Developer
User avatar
MadEvil
 
Posts: 353
Joined: Wed Nov 09, 2011 8:35 pm
Location: Vienna

Re: Madsonic - Mashup Mod [MAIN]

Postby henriquemaia » Sat Nov 10, 2012 1:19 pm

I've noticed that since I started using Madsonic's mod that some of the albums names are not shown. I don't know if this a bug of the mod. In any case, I wanted to point it out. I've added a screenshot with that error.

Running version 3220.
henriquemaia
 
Posts: 17
Joined: Thu Oct 21, 2010 2:32 am

Re: Madsonic - Mashup Mod [MAIN]

Postby MadEvil » Sat Nov 10, 2012 1:46 pm

henriquemaia wrote:I've noticed that since I started using Madsonic's mod that some of the albums names are not shown. I don't know if this a bug of the mod. In any case, I wanted to point it out. I've added a screenshot with that error.
Running version 3220.


Hi,
this can be if you upgrade from vanilla subsonic, the database schema in madsonic is a little diffrent, other user have this seen to.

viewtopic.php?f=15&t=9187&start=345#p46866

Solution1: restart from scratch. -> delete the whole subsonic folder. Reinstall & rescan

Solution2: make a Full rescan -> viewtopic.php?f=15&t=10463

a other problem could be a tagging issue. Give me feedback, together we find the problem. :wink:

best reagards
Madsonic Developer
User avatar
MadEvil
 
Posts: 353
Joined: Wed Nov 09, 2011 8:35 pm
Location: Vienna

PreviousNext

Return to Madsonic

Who is online

Users browsing this forum: Bing [Bot] and 1 guest