Giter Club home page Giter Club logo

apollo-cm's People

Contributors

adneal avatar gu1dry avatar techmik avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

apollo-cm's Issues

Shuffle mode should create a shuffled playlist

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.

Need ability to select music root path

By default Apollo scans the entire sdcard for music. But I store my music in sdcard/Music, and there are other audio files on my sd, e. g. Android system sounds, so the player displays these as well:

Screenshot

Possible solution is to let user choose where does she store music and scan only that folder.

Full landscape support

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.

Issue with album art extraction exception and player reloading

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 repeat control

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.

SQLite injection attacks possible

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.

  • Screenshot:
    apollo_sqlite_injection

  • Version:

    Apollo Version 1.1
    Cyanogenmod 11-20140609-SNAPSHOT-M7-i9300
    Android 4.4.2 german

Crash after dragging entries in playlist

Apollo (1.1) is crashing when dragging music up really fast in a playlist.

Steps to reproduce:

  • Create playlist, about 150 entries may be enough
  • Drag one of the last entries up really fast
  • Apollo is crashing

I'm running Mahdi ROM (Android 4.4.4) on my Nexus 4.

System notification widget states "playing" after unplugging headphones while playing

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 ;)

How to bulid this?

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'.

Dialog Disappears on Device Rotation

When I perform this sequence of events:

  1.   Click on "..." (More Options...)
    
  2.   Click on "Settings"
    
  3.   Click on "Choose...color scheme"
    
  4.   Orientation Change
    

The dialog on screen disappears.

Covers from local folders

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 and Stability Issues

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.

Crash on sertain numbers in playeractivity and notfication

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

Add streaming capability to Apollo

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 : )

Random crash around the letter T in album view

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

Can´t disable the automatic lockscreenwidget

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.

Read Lyrics form files

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)

Dialog Disappears on Device Rotation 2

When I perform this sequence of events:

  1.   Click on "..." (More Options...)
    
  2.   Click on "Settings"
    
  3.   Click on "Delete Cache"
    
  4.   Orientation Change
    

The dialog on screen disappears.

Add option "Play next"

It would be nice to have an option that plays the selected song after the one that is currently playing, even on shuffle.

Poor interaction design for back button

Consider the following two interactions, which:

  • Should be equivalent, but are not; and
  • Could both be improved.

Interaction 1

  1. Open Apollo
  2. Select an artist
  3. Swipe to view albums instead of songs
  4. Select an album
  5. Oops, wrong album, hit the device's back button
  6. Why am I not at the list of albums again?

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):

Interaction 2

  1. Open Apollo
  2. Select an artist
  3. Swipe to view albums instead of songs
  4. Select an album
  5. Oops, wrong album, hit the Apollo icon/back button at the top left of the UI
  6. Why am I not at the list of albums again?

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:

Interaction 3

  1. Open Apollo
  2. Swipe over to the album list
  3. Pick an album
  4. Wrong album, hit the soft back button
  5. I should be at the list of all artists' albums, but instead I am at the list of songs for the artist of the album I was at when I hit the back button.

Context Menu Disappears on Device Rotation

When I perform these sequences of events, the context menu on screen disappears:

Sequence 1:

  1.  Swipe to Playlist
    
  2.   Long click on element in list
    
  3.   Orientation Change
    

Sequence 2:

  1.  Swipe to Recent
    
  2.   Long click on element in list
    
  3.   Orientation Change
    

Sequence 3:

  1.  Swipe to Artists
    
  2.   Long click on element in list
    
  3.   Orientation Change
    

Sequence 4:

  1.  Swipe to Album
    
  2.   Long click on element in list
    
  3.   Orientation Change
    

Sequence 5:

  1.  Swipe to Genres
    
  2.   Long click on element in list
    
  3.   Orientation Change
    

Toggle display of album art and last.fm images

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.

KitKat 4.4 fails to open AAC (server side)

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()

Force close on play ICS devices

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}

Three Dog Night Album Art

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!

Add file extentions .oga, .spx for OGG Vorbis to follow RFC5334

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.

How to build this in Android Studio?

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

While shuffle is on, attempting to go back 1 track does not work.

Version 1.1
Samsung galaxy s3
Cyanogenmod 11
Steps to recreate.

  1. open up apollo
  2. go to all music.
  3. start playing music
  4. click the shuffle setting
  5. go back 1 track. or go forward 1 track and then back 1 track. Going back will only restart the song, never go to the last track played no matter how many times it is pressed.

libraries are lacking

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.