SymbiSoft / aspyplayer

Automatically exported from code.google.com/p/aspyplayer
0 stars 0 forks source link

M4A files are not shown on the playlist although they can be played. #57

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Put MyGreatSong.m4a to phone.
2. Open AspyPlayer
3. Refresh music library

What is the expected output? What do you see instead?
Expected output is that music file becomes visible and it can be played but
it won't become as only .mp3 suffixed files are searched.

Please note that DRM free songs from iTunes are downloaded m4a format thus
Nokia Music manager converts songs to respective format. I triggered m4a
song playing by renaming m4a files to mp3 format and then aspy player found
them and played well.

This is really simple fix: Change this part to contain also m4a files? (I
don't know python at all)

   def get_all_music_files_path_in_device(self):
                all_musics_in_c = self.find_all_files("C:\\", ".mp3")
                all_musics_in_e = self.find_all_files("E:\\", ".mp3")
                all_music = []
                all_music.extend(all_musics_in_c)
                all_music.extend(all_musics_in_e)
                return all_music

What version of the product are you using? On what operating system?

I'm using Nokia N85 so it is S60 3rd edition FP2.

Please provide any additional information below:

I'm not sure if this is a safe change as some phone videos might have the
same file suffix m4a (Actually .mp4). Worst or best case player may play
soundtrack of the video or not play at all :)...

Original issue reported on code.google.com by kalle.la...@gmail.com on 3 Dec 2008 at 1:49