adneal / apollo-cm Goto Github PK
View Code? Open in Web Editor NEWAndroid yacht player
Home Page: seeingpixels.org
Android yacht player
Home Page: seeingpixels.org
Currently it creates a ordered playlist of all songs in the phone and plays it in random order.
The stock music app, however, creates a randomized playlist, and this enables the user to know which songs will be played next, and modify it while keeping the random features. I think that way is easier to understand and more powerful.
When opening a playlist, or a page for an artist, album, or genre, the screen orientation changes to portrait. This is especially troublesome on tablets where the user needs to rotate the screen over and over while using the app.
The following exception occur while trying to play a track with some weird album art.
The crash causes the media process to reload apollo. which in turn crashes, then again... ("crash loop"?) until you kill the media process.
W/dalvikvm( 4072): threadid=1: thread exiting with uncaught exception (group=0x411ea930)
2E/AndroidRuntime( 4072): FATAL EXCEPTION: main
3E/AndroidRuntime( 4072): java.lang.NullPointerException
4E/AndroidRuntime( 4072): at android.os.Parcel.readException(Parcel.java:1431)
5E/AndroidRuntime( 4072): at android.os.Parcel.readException(Parcel.java:1379)
6E/AndroidRuntime( 4072): at com.andrew.apollo.IApolloService$Stub$Proxy.open(IApolloService.java:373)
7E/AndroidRuntime( 4072): at com.andrew.apollo.utils.MusicUtils.playAll(MusicUtils.java:585)
8E/AndroidRuntime( 4072): at com.andrew.apollo.ui.fragments.SongFragment.onItemClick(SongFragment.java:268)
9E/AndroidRuntime( 4072): at android.widget.AdapterView.performItemClick(AdapterView.java:298)
10E/AndroidRuntime( 4072): at android.widget.AbsListView.performItemClick(AbsListView.java:1100)
11E/AndroidRuntime( 4072): at android.widget.AbsListView$PerformClick.run(AbsListView.java:2749)
12E/AndroidRuntime( 4072): at android.widget.AbsListView$1.run(AbsListView.java:3423)
13E/AndroidRuntime( 4072): at android.os.Handler.handleCallback(Handler.java:725)
14E/AndroidRuntime( 4072): at android.os.Handler.dispatchMessage(Handler.java:92)
15E/AndroidRuntime( 4072): at android.os.Looper.loop(Looper.java:137)
16E/AndroidRuntime( 4072): at android.app.ActivityThread.main(ActivityThread.java:5226)
17E/AndroidRuntime( 4072): at java.lang.reflect.Method.invokeNative(Native Method)
18E/AndroidRuntime( 4072): at java.lang.reflect.Method.invoke(Method.java:511)
19E/AndroidRuntime( 4072): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:795)
20E/AndroidRuntime( 4072): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:562)
21E/AndroidRuntime( 4072): at dalvik.system.NativeStart.main(Native Method)
22W/ActivityManager( 2236): Force finishing activity com.andrew.apollo/.ui.activities.HomeActivity
lockscreen widget currently doesn't respect the app selected repeat setting. When I stop a repeating single song, and start it again later from the lockscreen, it doesn't repeat the song, it moves to the next one in the list, but when I open the app, the repeat setting is still at reapeat single song.
Apollo doesn't show the album art embedded in .ogg (vorbis audio) files. This is the recommended way to embed album art in Ogg Vorbis files.
The app is vulnerable against SQL injection attacks.
Steps to reproduce:
When creating a new playlist and entering the name (e.g. long click on a song > Add to playlist > New playlist) you may enter characters such as ' which is then interpreted in SQLite but should not.
You can see the SQLite errors when using USB debug conntected to a pc.
Additionally the app crashes.
Expected behaviour:
The string of the playlist name should not be interpreted but rather be part of the name, such that names like "Assassin's Creed" is possible.
Furthermore, the app should not crash.
Impact:
Currently the impact is limited on the local SQLite database of the Apollo app.
It may be possible to inject URLs for Apollo to load (such as advertisments instead of the album covers) or media streams containing malware, but I do not know enough of Apollo internals to evaluate probable scenarios.
In combination with possible other bugs this may even become critical.
Version:
Apollo Version 1.1
Cyanogenmod 11-20140609-SNAPSHOT-M7-i9300
Android 4.4.2 german
Apollo (1.1) is crashing when dragging music up really fast in a playlist.
Steps to reproduce:
I'm running Mahdi ROM (Android 4.4.4) on my Nexus 4.
Hey there,
just found a little bug.
I was playing a song and removed the headphones jack from the phone.
The system notification widget states that the play is stil playing, but it was not.
Pushing the play/pause button in the widget causes to show false state of play/pause but will of course start and pause the music.
I did not try to revert the thing by doing the exact same thing while the states in the widget are already switched, but that is not so important, I think.
I am on Cyanogenmod 10.1 Nightly of the March, 21st, 2013.
Any further questions? Don't hesitate to ask ;)
Subj.
I have smf like this
./res/values/styles.xml:20: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.Sherlock'.
./res/values/styles.xml:22: error: Error: No resource found that matches the given name: attr 'windowContentOverlay'.
./res/values/styles.xml:26: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.Sherlock.Light'.
./res/values/styles.xml:28: error: Error: No resource found that matches the given name: attr 'windowContentOverlay'.
./res/values/styles.xml:32: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.Sherlock.NoActionBar'.
When I perform this sequence of events:
Click on "..." (More Options...)
Click on "Settings"
Click on "Choose...color scheme"
Orientation Change
The dialog on screen disappears.
Hi,
I'd like to have a feature that it scanns the folders where the tracks lies for Cover files like Cover.jpg and Cover.png. When I rip a CD I always download a high resolution Cover for it and place it in the same directory. Apollo only search for low resolution Covers from last.fm. Please implement a function that it search first for local Covers and then search on last.fm. The Local (high resolution) Cover Image should be preffered displaying
Battery: It quickly drains AND dangerously raises battery temperature. After one full drain, the Battery Consumption screen says 47% of it all was taken by CM9 Music alone, and 17% by the media server.
Stability: After loading one or at most 2 albuns to play, if I go back to the selector, it becomes very unresponsible. Killing the app and loading it from scratch solves it until I repeat the steps.
My configuration: The CM9 nightlies for Motorola Defy, and those issues do not occur with the stock Gapps music app.
When browsing songs in the audioplayer Apollo chrashes on some songs(mostly the onze without art)
Also when playing the song that makes the audioplayer chrash the notification is gone
Could not debug atm but will place a log if needed
Hello all,
I am curious as to whether Apollo plans on adding streaming support. It appears like it should be doable through the mediaplayer API. If you wanted to gently nudge me toward how to implement, I would love to help here.
tarek : )
Minimizing app don't show app icon in notification bar in KitKat
Hey there,
if I scroll down with the scrollbar on the right side Apollo randomly crashes.
Music is still playing, but the App closes down.
This happens around the letter T of my albums.
I could not find any logs or something, to put in here, but maybe you could provide me with a location for them so I can attach them?
Greetings
func0der
If I uncheck the option in the apollo settings it works for only one session. When I close and start the apollo player again the widget still apears. But I don´t want to use the system-controls.
I have a few songs that are several hours long. When playing those Just Player locks for 30-60 seconds before playing.
It is as if it goes through the whole song before starting to play.
To reproduce: Download https://www.youtube.com/watch?v=lki1y2wa820 convert to aac: avconv -y -i in.mp4 -c:a copy out.aac
Gpl? Apache?
The ability to read lyrics form the MP3 files would be great as this would not require an internet connection. The lyrics can probably be read from the ID3 tags (yet, I did not have a look at this in depth)
When I perform this sequence of events:
Click on "..." (More Options...)
Click on "Settings"
Click on "Delete Cache"
Orientation Change
The dialog on screen disappears.
It would be nice to have an option that plays the selected song after the one that is currently playing, even on shuffle.
Consider the following two interactions, which:
In this case, you're taken all the way back to the list of artists. Instead, you should be taken back one level only -- to the list of albums for that artist.
There is another, different interaction design flaw if you use the soft back button at the top-left of Apollo's UI (the Apollo icon):
In this case, you're taken to a different incorrect location -- the list of all songs for the artist you selected. Instead, Apollo should remember that you swiped over to the album list, and you should be shown the albums.
These two should take you back to the same place, and that place should be the albums list.
There is probably an analogous interaction design flaw when navigating in other ways through the music library. For example:
Beause the standard lockscreen that gets displayed when the music is playing is very simple.
When I perform these sequences of events, the context menu on screen disappears:
Sequence 1:
Swipe to Playlist
Long click on element in list
Orientation Change
Sequence 2:
Swipe to Recent
Long click on element in list
Orientation Change
Sequence 3:
Swipe to Artists
Long click on element in list
Orientation Change
Sequence 4:
Swipe to Album
Long click on element in list
Orientation Change
Sequence 5:
Swipe to Genres
Long click on element in list
Orientation Change
I would like see a toggle preference that allows me to remove the tiled display of album art and last.fm images in the artist and album fragments. These images convey little useful information for me and I would prefer to just see a list of names in larger text for easier viewing in a car dock.
This would also affect the Now Playing fragment, where the album art would be replaced with large text displaying the artist, album, track name and track number.
I'm adding this function in my fork, but curious if there is interest in committing the change back.
trying to open a AAC file results in the following error:
Permission Denial: reading com.android.providers.media.MediaProvider uri content://media/external/audio/media/2940 from pid=715, uid=1000 requires android.permission.READ_EXTERNAL_STORAGE, or grantUriPermission()
E/JavaBinder(11008): *** Uncaught remote exception! (Exceptions are not yet supported across processes.)
E/JavaBinder(11008): java.lang.NoSuchMethodError: android.content.ContentResolver.query
E/JavaBinder(11008): at com.andrew.apollo.MusicPlaybackService.a(Unknown Source)
E/JavaBinder(11008): at com.andrew.apollo.MusicPlaybackService.a(Unknown Source)
E/JavaBinder(11008): at com.andrew.apollo.MusicPlaybackService.a(Unknown Source)
E/JavaBinder(11008): at com.andrew.apollo.MusicPlaybackService.b(Unknown Source)
E/JavaBinder(11008): at com.andrew.apollo.MusicPlaybackService.open(Unknown Source)
E/JavaBinder(11008): at com.andrew.apollo.j.open(Unknown Source)
E/JavaBinder(11008): at com.andrew.apollo.IApolloService$Stub.onTransact(Unknown Source)
E/JavaBinder(11008): at android.os.Binder.execTransact(Binder.java:338)
E/JavaBinder(11008): at dalvik.system.NativeStart.run(Native Method)
W/dalvikvm(11008): threadid=10: thread exiting with uncaught exception (group=0x40a4a1f8)
E/AndroidRuntime(11008): FATAL EXCEPTION: Binder Thread #2
E/AndroidRuntime(11008): java.lang.NoSuchMethodError: android.content.ContentResolver.query
E/AndroidRuntime(11008): at com.andrew.apollo.MusicPlaybackService.a(Unknown Source)
E/AndroidRuntime(11008): at com.andrew.apollo.MusicPlaybackService.a(Unknown Source)
E/AndroidRuntime(11008): at com.andrew.apollo.MusicPlaybackService.a(Unknown Source)
E/AndroidRuntime(11008): at com.andrew.apollo.MusicPlaybackService.b(Unknown Source)
E/AndroidRuntime(11008): at com.andrew.apollo.MusicPlaybackService.open(Unknown Source)
E/AndroidRuntime(11008): at com.andrew.apollo.j.open(Unknown Source)
E/AndroidRuntime(11008): at com.andrew.apollo.IApolloService$Stub.onTransact(Unknown Source)
E/AndroidRuntime(11008): at android.os.Binder.execTransact(Binder.java:338)
E/AndroidRuntime(11008): at dalvik.system.NativeStart.run(Native Method)
D/dalvikvm(10509): GC_FOR_ALLOC freed 299K, 24% free 7721K/10119K, paused 91ms
D/dalvikvm(10992): GC_CONCURRENT freed 2362K, 39% free 8242K/13319K, paused 4ms+15ms
D/NetlinkEvent( 753): Unexpected netlink message. type=0x0
D/NetlinkEvent( 753): Unexpected netlink message. type=0x0
I/Process (11008): Sending signal. PID: 11008 SIG: 9
W/AudioService( 864): RemoteControlClient died
I/ActivityManager( 864): Process com.andrew.apollo:main (pid 11008) has died.
W/ActivityManager( 864): Scheduling restart of crashed service com.andrew.apollo/.MusicPlaybackService in 5000ms
W/InputManagerService( 864): Window already focused, ignoring focus gain of: com.android.internal.view.IInputMethodClient$Stub$Proxy@40eef430
I/dalvikvm(10992): Jit: resizing JitTable from 2048 to 4096
I/ActivityManager( 864): Start proc com.andrew.apollo:main for service com.andrew.apollo/.MusicPlaybackService: pid=11087 uid=10072 gids={1015, 3003}
When I perform this sequence of events:
Long click on element in list
Orientation Change
The context menu on screen disappears.
Other apps such as the simple last.fm scrobbler require artist, album and track data bundled as an extra with the intent. The Cyanogenmod verision of Apollo does report this data.
When I perform this sequence of events:
Click on Search button
Insert text "example"
Orientation Change
The input data disappears.
I've been using Apollo for a while now and all of the album art and artist art has been correctly automatically imported. However, now the artist art for "Three Dog Night" is not importing. If I use the select art feature, the album art updates but not the artist art. However, Three Dog Night is not a new band and should have adequate artist art on last.fm and Google. Is there anything I can do to help?
Thanks!
Keep up the great work!
Since ogg is a container for various Media Types, RFC5334 had add some file extentions to indicate the content:
For Audio (audio/ogg):
.ogg
, .oga
, .spx
Apollo can play .oga
files (trough open the file directly with a file manager) but the vorbis comment will not be read. Also .oga
files will not be added to the library.
It would be nice if you can add these file extentions, actually i have to rename oga files to ogg files for correctly detecting by apollo.
Hi!
I already added the modules ActionBarSherlock, ViewPager and Crouton but it can't find them.
Where's the wrong Thing? What have I forgot?
Thank you
Version 1.1
Samsung galaxy s3
Cyanogenmod 11
Steps to recreate.
Hi, there:
Thanks for your great work at this repository. Recently, I saw it occasionally. I found it interesting so downloaded it from Github. But there are three libraries lacking but I can't find them on Github.
So could you tell me which repositories are these libraries included in this one??
Thanks a lot.
...and some basic controls. Nothing more...
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.