LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
LinkBack Search this Thread
Old 04-04-2010, 04:47 PM   #1
gnufreex
LQ Newbie
 
Registered: Oct 2009
Distribution: Ubuntu
Posts: 21

Rep: Reputation: 16
aTunes wont play music


Hi people !

I have used Songbird as my music player for some time, but since developers decided to bail on us, I decided to find an alternative. It has to be cross-platform, so I picked aTunes which is written in Java.

But it wont play music. This is what I get when I start it from terminal:

Quote:
$ sh aTunes.sh
INFO: aTunes is listening for other instances on port 7777
INFO [START ] Starting aTunes 1.13.6 Autan (Build 546 [12/12/2009])
INFO [START ] Running in Java Virtual Machine 1.6.0_18
INFO [START ] Arguments = []
INFO [START ] Debug mode = false
INFO [START ] Execution path = /home/****/aTunes
INFO [DESKTOP ] class com.sun.awt.AWTUtilities not found
INFO [START ] Setting language: en
INFO [HANDLER ] Reading serialized favorites cache
INFO [HANDLER ] Reading serialized repository cache
INFO [HANDLER ] Play lists loaded (1 playlists)
INFO [HANDLER ] Reading repository cache done (0.071 seconds)
INFO [PLAYER ] Xine: Engine version: 1.1.17
INFO [PLAYER ] List of availables engines : {Xine}
INFO [PLAYER ] Engine initialized : Xine
INFO [START ] Application started (0.088 seconds)
INFO [HOTKEYS ] No hotkeys supported
INFO [HANDLER ] Hotkeys are not supported
INFO [HANDLER ] Updating index for class net.sourceforge.atunes.kernel.modules.search.searchableobjects.FavoritesSearchableObject
INFO [HANDLER ] update search index
INFO [HANDLER ] Update index for class net.sourceforge.atunes.kernel.modules.search.searchableobjects.FavoritesSearchableObject finished
INFO [HANDLER ] 1 audio objects added to play list
INFO [HANDLER ] Updating index for class net.sourceforge.atunes.kernel.modules.search.searchableobjects.RepositorySearchableObject
INFO [HANDLER ] update search index
INFO [HANDLER ] Update index for class net.sourceforge.atunes.kernel.modules.search.searchableobjects.RepositorySearchableObject finished
ERROR [SERVICE ] --> LastFmService.getImage [1] java.lang.IllegalArgumentException: bandOffsets.length is wrong!
ERROR [SERVICE ] --> LastFmService.getImage [1] javax.imageio.ImageTypeSpecifier$Interleaved.<init>(ImageTypeSpecifier.java:399)
ERROR [SERVICE ] --> LastFmService.getImage [1] javax.imageio.ImageTypeSpecifier.createInterleaved(ImageTypeSpecifier.java:512)
ERROR [SERVICE ] --> LastFmService.getImage [1] com.sun.imageio.plugins.jpeg.JPEGImageReader.getImageTypesOnThread(JPEGImageReader.java:804)
ERROR [SERVICE ] --> LastFmService.getImage [1] com.sun.imageio.plugins.jpeg.JPEGImageReader.getImageTypes(JPEGImageReader.java:737)
ERROR [SERVICE ] --> LastFmService.getImage [1] com.sun.imageio.plugins.jpeg.JPEGImageReader.readInternal(JPEGImageReader.java:1011)
ERROR [SERVICE ] --> LastFmService.getImage [1] com.sun.imageio.plugins.jpeg.JPEGImageReader.read(JPEGImageReader.java:984)
ERROR [SERVICE ] --> LastFmService.getImage [1] javax.imageio.ImageIO.read(ImageIO.java:1438)
ERROR [SERVICE ] --> LastFmService.getImage [1] javax.imageio.ImageIO.read(ImageIO.java:1342)
ERROR [SERVICE ] --> LastFmService.getImage [1] net.sourceforge.atunes.utils.NetworkUtils.getImage(Unknown Source)
ERROR [SERVICE ] --> LastFmService.getImage [1] net.sourceforge.atunes.kernel.modules.context.lastfm.LastFmService.getArtistImageFromLastFM(Unknown Source)
ERROR [SERVICE ] --> LastFmService.getImage [1] net.sourceforge.atunes.kernel.modules.context.lastfm.LastFmService.getImage(Unknown Source)
ERROR [SERVICE ] --> LastFmService.getImage [1] net.sourceforge.atunes.kernel.modules.context.lastfm.runnables.LastFmSimilarArtistsRunnable.run(Unkn own Source)
ERROR [SERVICE ] --> LastFmService.getImage [1] java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
ERROR [SERVICE ] --> LastFmService.getImage [1] java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
ERROR [SERVICE ] --> LastFmService.getImage [1] java.util.concurrent.FutureTask.run(FutureTask.java:166)
ERROR [SERVICE ] --> LastFmService.getImage [1] java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
ERROR [SERVICE ] --> LastFmService.getImage [1] java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
ERROR [SERVICE ] --> LastFmService.getImage [1] java.lang.Thread.run(Thread.java:636)
INFO [PLAYER ] Xine: Creating xineController for playback
xine_open_audio_driver
xine_stream_new
xine event queue
INFO [PLAYER ] Xine: Opening stream and setting xine params
INFO [PLAYER ] Xine: Starting playback
INFO [PLAYER ] Xine: Starting duration thread
INFO [PLAYER ] Started play of file 01 David Guetta Feat. Kelly Rowland , When Love Takes Over.mp3
INFO [PLAYER ] Xine: Stopping without fade
INFO [PLAYER ] Xine: Internal stop
INFO [PLAYER ] Stop
INFO [PODCAST ] Podcast feed entri
Those lines I bolded are ones that show up when I try to play a song in GUI of the player.

Rytmbox plays those songs ok, so I think it is not due to codecs.

Other info: Box on which I am trying aTunes is running Ubuntu 10.4 beta, x86_64 (AMD64), Java runtime is OpenJDK... I do not know what more could be of relevance... but here is uname , that never hurts:

$ uname -s -r -v -m -o
Linux 2.6.32-17-generic #26-Ubuntu SMP Sat Mar 20 02:23:45 UTC 2010 x86_64 GNU/Linux



If someone know how to play tunes with aTunes, please tell.

Last edited by gnufreex; 04-04-2010 at 04:52 PM.
 
Old 04-04-2010, 09:31 PM   #2
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Lubuntu
Posts: 19,045
Blog Entries: 4

Rep: Reputation: 375Reputation: 375Reputation: 375Reputation: 375
You need to be running Java 6. What is the output of "java --version" (minus the quotes)?
 
Old 04-05-2010, 07:12 AM   #3
gnufreex
LQ Newbie
 
Registered: Oct 2009
Distribution: Ubuntu
Posts: 21

Original Poster
Rep: Reputation: 16
Here is it, it is (1.)6:

Quote:
$ java -version
java version "1.6.0_18"
OpenJDK Runtime Environment (IcedTea6 1.8) (6b18~pre4-1ubuntu1)
OpenJDK 64-Bit Server VM (build 16.0-b13, mixed mode)
 
Old 04-05-2010, 08:11 AM   #4
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Lubuntu
Posts: 19,045
Blog Entries: 4

Rep: Reputation: 375Reputation: 375Reputation: 375Reputation: 375
Do you have a 64 bt install of Ubuntu or the 32 bit version?

Never mind - I just reread the OP
 
Old 04-07-2010, 01:53 PM   #5
Ron F.
LQ Newbie
 
Registered: Apr 2010
Posts: 1

Rep: Reputation: 0
Faced with the same situation, I am trying to move to atunes as well on my two Ubuntu machines, and encountered a similar problem on both. The program runs, but won't play any music in my collection. One is running Ubuntu 10.04 64bit, and the other is running Ubuntu 8.04 32bit. I am running Java 1.6 on both platforms, and have both mplayer and xine installed. Both backends work, and have been tested independently.

I downloaded the atunes 2.0 Release Candidate from March 13, 2010. In both cases, when I attempt to play a file, I get two empty error boxes in succession - with nothing written in them. I tried both ogg and flac files. I note that Jajuk using mplayer works fine.

From the box running Ubuntu 8.04 32bit (using mplayer as the backend):
INFO [PLAYER ] Started play of file 01 - Take the 'A' Train.flac
ERROR [PLAYER ] --> PlayerEngine.handlePlayerEngineError [4] Player Error: java.lang.UnsupportedOperationException
ERROR [PLAYER ] --> PlayerEngine.handlePlayerEngineError [5] java.lang.UnsupportedOperationException
ERROR [PLAYER ] --> PlayerEngine.handlePlayerEngineError [5] java.awt.TrayIcon.<init>(TrayIcon.java:120)
ERROR [PLAYER ] --> PlayerEngine.handlePlayerEngineError [5] java.awt.TrayIcon.<init>(TrayIcon.java:144)
ERROR [PLAYER ] --> PlayerEngine.handlePlayerEngineError [5] net.sourceforge.atunes.gui.views.controls.JTrayIcon.<init>(JTrayIcon.java:78)
ERROR [PLAYER ] --> PlayerEngine.handlePlayerEngineError [5] net.sourceforge.atunes.kernel.modules.tray.SystemTrayHandler.getTrayIcon(SystemTrayHandler.java:389)
ERROR [PLAYER ] --> PlayerEngine.handlePlayerEngineError [5] net.sourceforge.atunes.kernel.modules.tray.SystemTrayHandler.setTrayToolTip(SystemTrayHandler.java:2 58)

I would prefer atunes, but at this point I guess I will stick with Jajuk, since it appears to work. I bet there are a lot of Linux users out there looking for a replacement for Songbird this week!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
can't play music cd clementis Ubuntu 3 06-17-2008 02:07 PM
why doesn't play any music Diwakar Linux - Newbie 2 03-28-2008 03:12 AM
mp3's wont play in any music player ?? jessica_lilly Linux - Newbie 3 11-25-2007 08:43 AM
Can't play music ronepowell MEPIS 10 06-04-2007 09:58 AM
my music won't play JamDunc Linux - Newbie 4 08-03-2003 08:30 AM


All times are GMT -5. The time now is 05:01 AM.

Main Menu
 
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration