MusicCabinet - artist radio, genre radio & related artists

Artist radio, genre radio & related artists. A Subsonic server for music nerds.

Moderator: moderators

Re: MusicCabinet - artist radio, genre radio & related artis

Postby hakko » Thu Sep 06, 2012 7:02 am

The initial file-based interface is just a way to allow you to play music while your library is being scanned for the first time. I guess I need to add more restrictions to it, as artist links etc won't be meaningful until information about the artists have actually been fetched from last.fm. The scanning must also be finished before it knows exactly which albums and compilation albums you have by each artist.
MusicCabinet developer
hakko
 
Posts: 1416
Joined: Tue Apr 17, 2012 7:05 pm
Location: Sweden

Re: MusicCabinet - artist radio, genre radio & related artis

Postby Pcace » Thu Sep 06, 2012 7:07 am

Ok, but what about the errors i pasted 2 posts earlyer?


Pcace
Pcace
 
Posts: 117
Joined: Tue Nov 29, 2011 2:44 pm

Re: MusicCabinet - artist radio, genre radio & related artis

Postby hakko » Thu Sep 06, 2012 8:03 am

No one has reported it before, so let it finish scanning, switch to the tag based interface and report back if it persists.
MusicCabinet developer
hakko
 
Posts: 1416
Joined: Tue Apr 17, 2012 7:05 pm
Location: Sweden

Re: MusicCabinet - artist radio, genre radio & related artis

Postby Pcace » Thu Sep 06, 2012 9:13 am

Hmm ok, the error does not occur anymore (after a reboot).
BUT the file scanner hangs at 35337 Songs. Since more than one hour.
Where can i look whats going on there?

The Error message in subsonic_sh.log is:

java.lang.NumberFormatException: For input string: "4294967295"
at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
at java.lang.Integer.parseInt(Integer.java:495)
at java.lang.Integer.parseInt(Integer.java:527)
at org.jaudiotagger.tag.datatype.PartOfSet$PartOfSetValue.<init>(PartOfSet.java:210)
at org.jaudiotagger.tag.datatype.PartOfSet.readByteArray(PartOfSet.java:97)
at org.jaudiotagger.tag.id3.framebody.AbstractID3v2FrameBody.read(AbstractID3v2FrameBody.java:181)
at org.jaudiotagger.tag.id3.framebody.AbstractID3v2FrameBody.<init>(AbstractID3v2FrameBody.java:81)
at org.jaudiotagger.tag.id3.framebody.FrameBodyTRCK.<init>(FrameBodyTRCK.java:94)
at sun.reflect.GeneratedConstructorAccessor20.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:525)
at org.jaudiotagger.tag.id3.AbstractID3v2Frame.readBody(AbstractID3v2Frame.java:214)
at org.jaudiotagger.tag.id3.ID3v24Frame.read(ID3v24Frame.java:618)
at org.jaudiotagger.tag.id3.ID3v24Frame.<init>(ID3v24Frame.java:295)
at org.jaudiotagger.tag.id3.ID3v24Tag.readFrames(ID3v24Tag.java:891)
at org.jaudiotagger.tag.id3.ID3v24Tag.read(ID3v24Tag.java:866)
at org.jaudiotagger.tag.id3.ID3v24Tag.<init>(ID3v24Tag.java:598)
at org.jaudiotagger.audio.mp3.MP3File.readV2Tag(MP3File.java:208)
at org.jaudiotagger.audio.mp3.MP3File.<init>(MP3File.java:391)
at org.jaudiotagger.audio.mp3.MP3FileReader.read(MP3FileReader.java:39)
at org.jaudiotagger.audio.AudioFileIO.readFile(AudioFileIO.java:285)
at org.jaudiotagger.audio.AudioFileIO.read(AudioFileIO.java:148)
at com.github.hakko.musiccabinet.service.library.AudioTagService.updateMetadata(AudioTagService.java:78)
at com.github.hakko.musiccabinet.service.library.LibraryMetadataService.receive(LibraryMetadataService.java:41)
at com.github.hakko.musiccabinet.service.library.LibraryScannerService$1.run(LibraryScannerService.java:129)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
at java.lang.Thread.run(Thread.java:722)



i tried that now 3 times, everytime it hangs at song 35337. How can i find out which one that is?!
Now after several hours nothing changes, it still hangs at 35337 Songs. The complete Log ist here: http://pastebin.com/raw.php?i=8M5TY7QD


Thanks,


Pcace


EDIT: i get that error:
java.lang.NumberFormatException: For input string: "4294967295"

4294967295 is the number of bits 4GB have. Is there a ristriction i havent seen?
--> but there is no single file wich is larger than 1GB in my Music Folder! (find . -size +1000M --> no results)

EDIT2: i also reinstalled Java - both openjdk and oracle
root@t64:~# java -version
java version "1.7.0_07"
Java(TM) SE Runtime Environment (build 1.7.0_07-b10)
Java HotSpot(TM) Client VM (build 23.3-b01, mixed mode)
root@t64:~# update-alternatives --config java
Es gibt 3 Auswahlmöglichkeiten für die Alternative java (welche /usr/bin/java bereitstellen).

Auswahl Pfad Priorität Status
------------------------------------------------------------
0 /usr/lib/jvm/java-6-openjdk-i386/jre/bin/java 1061 Auto-Modus
1 /usr/lib/jvm/java-6-openjdk-i386/jre/bin/java 1061 manueller Modus
2 /usr/lib/jvm/java-7-openjdk-i386/jre/bin/java 1051 manueller Modus
* 3 /usr/lib/jvm/java-7-oracle/bin/java 1 manueller Modus

Drücken Sie die Eingabetaste, um die aktuelle Wahl[*] beizubehalten,
oder geben Sie die Auswahlnummer ein:
Pcace
 
Posts: 117
Joined: Tue Nov 29, 2011 2:44 pm

Re: MusicCabinet - artist radio, genre radio & related artis

Postby hakko » Thu Sep 06, 2012 2:59 pm

Oh, that looks like a bug in the audio parser library. Interesting, it should be reported back to them. Try downloading this war file: http://dilerium.se/musiccabinet/subsonic-0.7.9.war, rename to subsonic.war, replace your current and restart your subsonic service. Hopefully, it'll then get logged in musiccabinet.log which file it is and the scanning will continue without that file.
MusicCabinet developer
hakko
 
Posts: 1416
Joined: Tue Apr 17, 2012 7:05 pm
Location: Sweden

Re: MusicCabinet - artist radio, genre radio & related artis

Postby Pcace » Thu Sep 06, 2012 3:12 pm

Hmm,

now nothing works..

HTTP ERROR: 503

SERVICE_UNAVAILABLE
RequestURI=/index.view

Powered by jetty://


I really do not know what to do....


Pcace
Pcace
 
Posts: 117
Joined: Tue Nov 29, 2011 2:44 pm

Re: MusicCabinet - artist radio, genre radio & related artis

Postby Pcace » Thu Sep 06, 2012 3:13 pm

How can i completely remove Subsonic?

/usr/share/subsonic
/var/subsonic

what else?


Thanks,

Pcace
Pcace
 
Posts: 117
Joined: Tue Nov 29, 2011 2:44 pm

Re: MusicCabinet - artist radio, genre radio & related artis

Postby precipitous » Thu Sep 06, 2012 3:25 pm

@Pcace: It looks like from one of your earlier posts that you have both openjdk-6 and openjdk-7 installed... I don't know what OS you are using, but I know that on my Ubuntu 12.04 machine I am not able to run MusicCabinet successfully with both. I had to uninstall version 6 to get everything working properly.

Just a thought...
User avatar
precipitous
 
Posts: 91
Joined: Fri Aug 14, 2009 6:43 pm
Location: Santa Barbara CA USA

Re: MusicCabinet - artist radio, genre radio & related artis

Postby Pcace » Thu Sep 06, 2012 4:13 pm

precipitous wrote:@Pcace: It looks like from one of your earlier posts that you have both openjdk-6 and openjdk-7 installed... I don't know what OS you are using, but I know that on my Ubuntu 12.04 machine I am not able to run MusicCabinet successfully with both. I had to uninstall version 6 to get everything working properly.

Just a thought...



Hey, i just started from scatch. I deleted/uninstalled everything which is java 6. there is now only one Java 7 on the machine (debian).
But no other result. Same log lines, same behavior in the webinterface.

Any other idea?!

Pcace
Pcace
 
Posts: 117
Joined: Tue Nov 29, 2011 2:44 pm

Re: MusicCabinet - artist radio, genre radio & related artis

Postby Pcace » Thu Sep 06, 2012 4:24 pm

hakko wrote:Oh, that looks like a bug in the audio parser library. Interesting, it should be reported back to them. Try downloading this war file: http://dilerium.se/musiccabinet/subsonic-0.7.9.war, rename to subsonic.war, replace your current and restart your subsonic service. Hopefully, it'll then get logged in musiccabinet.log which file it is and the scanning will continue without that file.



I tried this with a new install. I Still get the error 503. Here is the Log if the subsonic_sh.log: http://pastebin.com/raw.php?i=Uj73bsVM

Does that help?

Pcace
Pcace
 
Posts: 117
Joined: Tue Nov 29, 2011 2:44 pm

Re: MusicCabinet - artist radio, genre radio & related artis

Postby Pcace » Thu Sep 06, 2012 9:00 pm

@Hakko:

can you please doublecheck the subsonic.war you uploaded? I still get the 503 Error.

Thank you soo much!!

Pcace
Pcace
 
Posts: 117
Joined: Tue Nov 29, 2011 2:44 pm

Re: MusicCabinet - artist radio, genre radio & related artis

Postby hakko » Thu Sep 06, 2012 9:01 pm

Oh, I have you go through so much trouble when I though everything was supposed to work well now.

The last one is a bit confusing. Or, in the latest version, I started using a PostgreSQL extension (pg_trgm) which is supposed to come bundled with PostgreSQL 9.1. I googled it now, and it might not actually come bundled, but you rather have to get it yourself:

Code: Select all
sudo apt-get install postgresql-contrib


Could you try it and see if it works better? I'll add this to the install guidelines.
MusicCabinet developer
hakko
 
Posts: 1416
Joined: Tue Apr 17, 2012 7:05 pm
Location: Sweden

Re: MusicCabinet - artist radio, genre radio & related artis

Postby Pcace » Thu Sep 06, 2012 9:12 pm

Ahhhh, nice! Now the subsonic.war you uploaded works!

im going to complete rescan my library (since i deleted the postgresql db...)

Hopefully the log will tell me more now ;)


Thank you sooo much!!!
Pcace
 
Posts: 117
Joined: Tue Nov 29, 2011 2:44 pm

Re: MusicCabinet - artist radio, genre radio & related artis

Postby cakgok » Tue Sep 11, 2012 8:09 pm

Cheers for the great mod mate.

As somebody else mentioned above, mod doesn't work with both jdk 6 and jdk 7 installed on ubuntu server 12.04.

VA albums get screwed but it's a pretty good trade i guess :D
cakgok
 
Posts: 6
Joined: Mon Sep 10, 2012 4:28 pm

Re: MusicCabinet - artist radio, genre radio & related artis

Postby hakko » Tue Sep 11, 2012 9:00 pm

Make sure to use the Album Artist tag (I'd suggest using "Various Artists"). That'll group those album as "Various Artists" in the left column, but the real artist names will be displayed when browsing the albums, in playlists and when scrobbling and searching. Songs from VA albums will still pop up on the artist's own page as well, below the "real" albums.
MusicCabinet developer
hakko
 
Posts: 1416
Joined: Tue Apr 17, 2012 7:05 pm
Location: Sweden

PreviousNext

Return to MusicCabinet

Who is online

Users browsing this forum: No registered users and 0 guests