yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] th3raid0r:
More bugs with Google Music

I found a few more bugs regarding Google Music-

1. Streaming stops 10 seconds into the next track. Can't be restarted.

Reproduce:

- Set up google music streaming

- Select a few songs of any album

- Listen to the first song that was selected and created within the Dynamic playlist.

- Allow it to hand off to the next song

- Note that the music stops about ten seconds in, however the progress bar continues to move as if the song is still playing.

2. Once bug #1 occurs, streaming cannot be restarted

Reproduce:

- Allow bug #1 to occur.

- Note that you can switch forward or back thus skipping the song

- Note that attempting to play the song that bug #1 occured on causes the player to permanently say its paused.

- Attempt to play another song in the playlist - same behavior - no buffering occurs

- Attempt to clear the playlist and re-select intended song > Same behavior, player still reports as paused and refuses to buffer - also note that the track name no longer changes when a different song is selected.

- Exit xenoamp and re-open - Note that the last song that was selected is now on the screen. However it cannot be changed and refuses to buffer.

- Clear the playlist and exit xenoamp, then re-open. - Now the song can be selected to begin playing, however even this is hit or miss.

3. Sometimes, google music songs fail to play entirely.

Reproduce:

-Unknown exact reproduction steps. Just try to use the feature for a bit and you will see what I mean.

4. Sometimes, when using Google Music, the currently playing song does not match the selection from the playlist

Reproduce:

-Unknown exact reproduction steps. Usually happens when rapidly moving forward or backwards through a playlist.

-XenoAmp usually will need to be restarted in order to recover.

Some Questions:

What is the expected behavior of selecting a song within the music menu? Does it play automatically or is it just added to the dynamic playlist?

Does selecting "Play" from the context menu add the track to the dynamic playlist? What makes "Add and Play" different?

When auto-buffering the next track for a google play playlist - is this action performed within the same "logic block" as the previous track? Or does XenoAmp actually send the next track to be buffered and then pull the pre-buffered track from a cache?

Excuse my really specific questions. I am a Software QA Analyst by trade and I love helping in any way I can.
[Android Apps and Games] bababar:
by selecting a song from the music menu i guess u mean one tap that makes it green ? if so this is for preselecting songs for creating a playlist.

play should (when working ) immedietly play the same track and the followoingtracks on the same albums.

add and play adds the track to the end of the current ( dynamic ) playlist.
[Android Apps and Games] markk1995:
Re: [APP][2.3+] XenoAmp 0.183 (21032013) - A Slightly Different Audio Player

New horizontal scrolling is so smooth, only problem is that it sometime high lists the artist and the list moves up or down slightly
[Android Apps and Games] ssuukk:
What you show is grouping. You are grouping rows by artists and inside each row you're grouping their tracks by year/genre etc. I think it works as designed. Let me check that... Oh, yes. It works.
[Android Apps and Games] ssuukk:
OK, that's some wonderful feedback. XenoAmp is still a work in progress, unfortunately most of the work is now required on these small bits and pieces that all standard players have... :D So don't hesitate to send more of such feedback. I've added all your points to my to do list...

Just quick answer to question:

1) highlighting a song just adds it to active playlist (the one that is selected in slide out playlist). I'll probably add just a quick play option, as it confuses just too many people

2) as far as I remember I disable "double buffering" of online media, as this would cause some unpleasant and unnecessary work, think about two online radio streams on the same playlist. If I would start buffering the second one when you select for play the first one two streams would be pulled at the same time. But for local and smb: streams I think I'm preloading the next one.
[Android Apps and Games] ssuukk:
Highlight is probably fixable, but putting a contraint on vertical movement when horizontal scrolling would probably introduce another strange behaviour. I might try it if current is very disturbing.
[Android Apps and Games] ssuukk:
Most pressing matters:

- make sure that edited and dynamic are always not null

[FIXED] blue background in music view

- do not walk beyond last track

- playing stops when skipped back stops playing

- fix playing a single song

- play and add FC (because of edited = null)

- add visible index

- New, short and nice tutorial

- Fix file synchronizer/downloader

- Think about new concert view

- Smart continuator

- double click in music row

- disable angle listener in lockscreen preventing unlocking

- fix back gesture

- handle adding MBID

- fix voice search bug

- subsonic browsing

- gmusic browsing
[Android Apps and Games] ssuukk:
Phew, guys! With all these reports in one evening I feel like under artillery fire. Thank you for the log it helped fixing at least 3 FCs, unfortunately the root causes of these require more clever thinking, so the problem might pop up in different place now.
[Android Apps and Games] bababar:
grouping & artillery

your approach to grouping in music menu is totaly new to me (different sorting of the tracks of same artist vs sorting of whole albums ), didnt see it in other players,therefore i thought it doesnt work.

as for bombarding u with bugs... its a big complement for u so take it:good:
[Android Apps and Games] ssuukk:
:D

What you may do in music view:

group rows by years and show genres in these years

group rows by genres and show which artists played tracks in these genres

You have two edges to select criteria, left edge (for rows) and top edge (for columns). Try it.
[Android Apps and Games] ssuukk:
Uth3raid0r - I'm keeping your list separately with other elaborative bugreports! :D

- editing single track tags broken

- filtering broken

- can't see my only Google track

- handle untagged in mb searches

- changing cover doesn't work or delayed (by cache?)

- add visible index

- make sure that edited, index and dynamic are always not null

- New, short and nice tutorial

- Fix file synchronizer/downloader

- Think about new concert view

- Smart continuator

- double click in music row

- disable angle listener in lockscreen preventing unlocking

- fix back gesture

- handle adding MBID

- fix voice search bug

- subsonic browsing

- gmusic browsing
[Android Apps and Games] ssuukk:
RELEASE 0.184

New: in browser or music view - click icon to play track (works also on playlists and directories)

Fix: Play from music view row context menu

Fix: Playing radio or 8Tracks from context menu (or icon)

Fix: blue background in music view

Fix: do not walk beyond last track

Fix: playing stops when skipped back stops playing

Fix: fix playing a single song (menu or icon)
[Android Apps and Games] th3raid0r:
Yeah, I am a Software QA Analyst by trade. So I tend to do 2 things,

1. I create really good bug reports

2. I ask very in depth questions to get an understanding of underlying code.

I am downloading your latest update to see if that fixes some of the GMusic issues. It seems like some of the implemented logic could certainly help.

That doesn't seem to match the behavior of the Google Music issue (Going 10 seconds into the next track before the sound stops but XenoAmp keeps "playing"). Does automatically going to the next track somehow different from manually skipping the track when it comes to streaming?
[Android Apps and Games] ssuukk:
Odp: [APP][2.3+] XenoAmp 0.184 (22032013) - A Slightly Different Audio Player

I haven't looked into google issues, as I have only one track there, so I just couldn't replicate :D but this is my next thing to investigate. Manual and and end of song skipping use a bit different pieces of code, but the fragment that precaches (or not) next teack is common.

Sent by automatic reply bot from my Galaxy S2
[Android Apps and Games] th3raid0r:
Okay, I have some updates for you.

1. Behavior change on bug #1: Now can be recovered within same listening session.

Changes:

-Rather than playing 10 seconds into the next song and cutting out (while the ui still thinks the track is playing) XenoAmp now hangs at the end of the song for about 20-30 seconds. When the song switches, it actually ends up skipping a song in the playlist.

-Occasionally the UI thinks it skipped ahead 2 songs resulting in a mismatch of audio from the listed song.

-If any of the above happens, the playlist can be opened and a song can be selected to work around the issue. No restart of XenoAmp is necessary (which is awesome).

2. Bug #2 is now resolved - currently trying other things that may cause the issue.

3. Bug #3 seems to be resolved as well - Still searching for other methods to reproduce

4. Bug #4 Still exists, but can be easily fixed by touching the correct song in the playlist. No restart is necessary. Often this issue can be aggravated by Bug #1.

Feature request(s):

1. On music list create an alphabet list along the right margin when the user is scrolling via that method so it is easy to find a particular letter. (Similar to Windows Phone 7 method)

2. Implement a method so that the right margin in Music List can differentiate between tapping on an album near the margin and actually wanting to scroll down the list. Too many times have I tapped on an album and gone to a completely different artist because the app thought I wanted to navigate rather than select.

Additional Notes:

By the way, I am running this on an HTC Droid DNA with an experimental Sense 5 ROM. This could cause separate issues since it is known that HTC stock roms have some interesting things going on with the Media Scanner. (See the GMusicFS project thread)
[Android Apps and Games] markk1995:
Re: [APP][2.3+] XenoAmp 0.184 (22032013) - A Slightly Different Audio Player

I just updates to CM 10.1 (4.2.2).

Problems: can't swipe to select playlist have to open menu and manually click the playlist I want to select. You can swipe through but the tracks don't load it is empty. Also I cannot remove tracks from the playlists. Not sure if these are 4.2.2 specific

Edit: I CAN remove tracks but only if I start dragging while the playlist is moving up or down. I cannot remove a track when the playlist is still
[Android Apps and Games] coolnessQ:
Re: [APP][2.3+] XenoAmp 0.184 (22032013) - A Slightly Different Audio Player

It looks awesome, but also wtf am i doing this alien tech is to difficult riding a alien ship might be alot more easier...

Verstuurd van mijn GT-I9300 met Tapatalk
[Android Apps and Games] ssuukk:
TO DO:

- changing cover doesn't work or delayed (by cache?)

- make sure that edited, index and dynamic are always not null

- New, short and nice tutorial

- Fix file synchronizer/downloader

- Think about new concert view

- Smart continuator

- double click in music row

- disable angle listener in lockscreen preventing unlocking

- fix back gesture

- handle adding MBID

- fix voice search bug

- subsonic browsing

- gmusic browsing
[Android Apps and Games] ssuukk:
Heh, it's designed for thumb operation. You'll get used to if you try harder.
[Android Apps and Games] ssuukk:
RELEASE 0.185

Fix: case insensitive extensions when scanning for music

Fix: dragging tracks around in playlist

Fix: editing single track tags broken (not commited)

Fix: filtering broken

Fix: can't see my only Google track

Fix: handle untagged in mb searches

Fix: add visible index + remove when unused

TO DO:

- db rescan doesn't pick New files.

- stack overflow in walker still exists

- changing cover doesn't work or delayed (by cache?)

- make sure that edited, index and dynamic are always not null

- New, short and nice tutorial

- Fix file synchronizer/downloader

- Think about new concert view

- Smart continuator

- double click in music row

- disable angle listener in lockscreen preventing unlocking

- fix back gesture

- handle adding MBID

- fix voice search bug

- subsonic browsing

- gmusic browsing
[Android Apps and Games] markk1995:
Re: [APP][2.3+] XenoAmp 0.185 (25032013) - A Slightly Different Audio Player

When I update a playlist (remove or made songs) then use the double tap on album into dynamic, the changes I made to playlist are reverted
[Android Apps and Games] ldiomedi:
Re: [APP][2.3+] XenoAmp 0.185 (25032013) - A Slightly Different Audio Player

185 installed on 184 build. The image say all. The index isn't working well. I'll try a clean install later. Thanks!

Enviado desde mi MB526 usando Tapatalk 2
[Android Apps and Games] ssuukk:
Odp: [APP][2.3+] XenoAmp 0.185 (25032013) - A Slightly Different Audio Player

Heeee, heeee, that's some weird sh!t. Of course it works as expected on my phone. Can you estimate how many rows do you have in your music view?

Sent by automatic reply bot from my Galaxy S2
[Android Apps and Games] ldiomedi:
Re: [APP][2.3+] XenoAmp 0.185 (25032013) - A Slightly Different Audio Player

I've 20 rows on music view.

Enviado desde mi MB526 usando Tapatalk 2
[Android Apps and Games] ssuukk:
Odp: [APP][2.3+] XenoAmp 0.185 (25032013) - A Slightly Different Audio Player

Ok, that explains a lot. Thanks for the tip. I'm back to drawing board :)

Sent by automatic reply bot from my Galaxy S2
[Android Apps and Games] ldiomedi:
Re: [APP][2.3+] XenoAmp 0.185 (25032013) - A Slightly Different Audio Player

That explains? How? Btw, made a clean install and happens the same

Enviado desde mi MB526 usando Tapatalk 2
[Android Apps and Games] ssuukk:
Odp: [APP][2.3+] XenoAmp 0.185 (25032013) - A Slightly Different Audio Player

That explains where I made a mistake in my code. Will be fixed tomorrow.

Sent by automatic reply bot from my Galaxy S2
[Android Apps and Games] jdock:
Just tried XenoAmp for the first time (0.185). When it first asked me if I wanted to set the root directory, the popup went away before I could read it (I must have touched outside it) and I ended up with no music in the database. This would always cause XenoAmp to crash when I tried to select 'music'.

So I managed to set the root and build the db. In trying to see if I could set the root dir to an empty directory, rebuild the db, and reproduce the crash, I did a 'select music folder' and then chose a folder with just 3 albums from one artist. Then tried both 'I feel recursive' and 'Total Mass Retain' options, which seemed to rescan the original folder I had selected, not the new one -- the db still shows all my music. Am I missing the purpose of the "Only You!" select media folder option?

Also, a feature request: I have yet to see an Android music player that does the kind of gapless playback I need. In particular, I need to play back tracks that are not "properly" encoded with the gap info (this is a relatively new feature in LAME and some of my mp3's go waaaay back -- also, when you buy MP3s you don't have control over how they are encoded). Way back when, I wrote a patch for Rockbox that will skip near-silence from the beginning and end of each track to handle these situations. Some of the rockbox devs didn't like it on philosophical grounds, but it let me playback ALL of my music the way I want, so I still use it today on my mp3 player.
[Android Apps and Games] ssuukk:
Odp: [APP][2.3+] XenoAmp 0.185 (25032013) - A Slightly Different Audio Player

Ok, quick answer as I'm... in the middle of something else. There's definitely a problem with db scanning and I'll try to solve it tomorrow. It would be useful though to discover why root dialog disappears on your device. Nobody reported it so far.

As for smart gapless - I'm currently playing with ffmpeg codec as xeno main decoder, so I guess it will be doable sometime in the future. I'm not sure what it is with this special encoding, but believe me - xeno currently handles gapless pretty well, and I never did any special encoding. Hell, how would I be able to listen to "music for 18 musicians" otherwise? :)

Sent by automatic reply bot from my Galaxy S2
[Android Apps and Games] jdock:
No, if you encoded it within the last... 8 years or so, it probably has the gap info in the headers. That's when LAME introduced the feature and I'm sure many other encoders nowadays do it too without you having to think about it. I'm talking about older files here.

I don't know how much you have looked into this issue, so I will go ahead and write a little about the problem here :)

There are two potential sources for the gaps in mp3 playback. First, mp3 files are made up of fixed-size frames, and this means there is on average a half-frame of padding at the end to fill out the last frame. Second, in order to avoid frequency-domain artifacts, the encoder pads out the beginning and end of the track with some amount of silence, at least one full frame. The encoder nowadays stores the information for the amount of padding at the beginning and end, and upon decoding you just ignore that data. Easy enough; this is what everyone's doing. But in the beginning they didn't bother to do that, maybe because there were other impediments to gapless playback (like the decoder opening the next track and being ready to play it before the current one ended).

My patch to rockbox was less than 20 lines. The only trick is the decoded "silence" will only really be near-silence, so I had to fiddle with threshholds to determine what should be considered silence, and determine a max that I would strip. I found I could be a little aggressive with the threshhold, because deleting a few extra samples of near-silence is completely unnoticeable, but a few samples of silence where it shouldn't be is jarring.

I know I can decode each track to wav, open it up in audacity and determine how many samples to strip, then use foobar2000 to edit the gapless info in the header... but this is a very manual process!
[Android Apps and Games] ssuukk:
Odp: [APP][2.3+] XenoAmp 0.185 (25032013) - A Slightly Different Audio Player

Ok, that's what I expected. You can send me your lines if you want, I wonder though if they help me much, since I can't use (due to licence terms) rockbox and will stick to ffmpeg instead. Mind though that with current amount of bugs still open, it will take some time until I post xenoamp with ffmpeg support.

I just wonder how does your code decide if this particular pair of tracks are candidates for gapless playback (since they end and begin with silence they can be indeed two separate tracks, right?)

Sent by automatic reply bot from my Galaxy S2
[Android Apps and Games] ssuukk:
RELEASE 0.186

Fix: index for people who have less artists than letters in the alphabet

Change: media root is now managed ONLY via credentials center, and you can put several media roots there,

Change: synchronization (be it google, subsonic, local media) moved from db prefs to credential prefs

New: media roots survive uninstall

All who had problems with detecting new media - could you try running it again with this version + logcat + tell me where should the new media be found?

If you care more you can also uninstall completely and see if everything is ok for new users who will start from scratch...

Note: scanning SMB is now possible, but since Jaudiotagger authors didn't put any abstraction in their library, I would have to fix a lot of their code to have xenoAmp pick tags from SMB shares and without tags it's pretty useless.

TO DO:

- db rescan doesn't pick New files.

- stack overflow in walker still exists

- changing cover doesn't work or delayed (by cache?)

- make sure that edited, index and dynamic are always not null

- New, short and nice tutorial

- Fix file synchronizer/downloader

- Think about new concert view

- Smart continuator

- double click in music row

- disable angle listener in lockscreen preventing unlocking

- fix back gesture

- handle adding MBID

- fix voice search bug

- subsonic browsing

- gmusic browsing
[Android Apps and Games] ssuukk:
Could you give me exact steps to reproduce? Playlists are normally saved on each change, so it shouldn't happen.
[Android Apps and Games] ldiomedi:
Re: [APP][2.3+] XenoAmp 0.186 (26032013) - A Slightly Different Audio Player

Hi. Fresh install. Can't access music. Fc. Attached the log. Music is in media/sdcard/musica. I can set like music folder, but on main screen can't enter to music.

http://db.tt/HHD3V20q

Enviado desde mi MB526 usando Tapatalk 2
[Android Apps and Games] ssuukk:
It's very strange, it's giving out of memory exception when trying to read... single letter from your artist. I'll add some more logging, please try it again then.
[Android Apps and Games] ssuukk:
OK, download fix from first post, and send me another logcat. I think it has a high chance of crashing in music view, but this time at last I will have a nice log of what's happening.
[Android Apps and Games] mpiekp:
Re: [APP][2.3+] XenoAmp 0.186 (26032013) - A Slightly Different Audio Player

Ok scanner didn't run after adding media root, no longer runs from I feel recursive? But does run from credentials check for new media
[Android Apps and Games] ssuukk:
You mean it didn't run when it asks user on first run? Or when you add manually from credentials manager? "I feel recursive" - I forgot to remove it from prefs, it won't be there, that's why it doesn't run.

Is index working for you?
[Android Apps and Games] mpiekp:
Re: [APP][2.3+] XenoAmp 0.186 (26032013) - A Slightly Different Audio Player

Yeah didn't run on first run, fresh install.

Index working beautifully :)
[Android Apps and Games] ssuukk:
You've choosen to choose root dir or "Whaaa...?"?
[Android Apps and Games] ldiomedi:
Re: [APP][2.3+] XenoAmp 0.186 (26032013) - A Slightly Different Audio Player

Fix doesn't work.

Log: http://db.tt/37OwQ0u6

Enviado desde mi MB526 usando Tapatalk 2
[Android Apps and Games] ssuukk:
Hmmm... I see you have only 21 artists... So it's the same error I was trying to fix. I'll look into it again. :D
[Android Apps and Games] mpiekp:
Re: [APP][2.3+] XenoAmp 0.186 (26032013) - A Slightly Different Audio Player

Yes, the wizard ran and selected a folder, it has always automatically scanned on first run, except in 186
[Android Apps and Games] ssuukk:
Another fix for index, try it now.
[Android Apps and Games] jdock:
I grabbed ffmpeg and looked to see how easy it would be to add this functionality, haven't gotten anywhere yet (rockbox's architecture made it really simple). Actually it may lead to me adding a feature to ffmpeg to re-write the headers with the correct padding info, determined using my method!

First of all, if the LAME header info is there, I use it and no more stripping is done.

If the header info is not there I assume they are candidates for stripping. Since I strip at most 1 frame from the end and 3 frames from the beginning, this is an infinitesimal amount of silence to be removed (1 frame is about 1/75 second), which is completely unnoticeable if there is indeed supposed to be a gap there.

In rockbox, I didn't spend much time in the UI code, just a toggle to enable/disable the feature, and I tweaked the "silence" level until I found a reasonable value, and hardcoded it. If I were putting it in an android app I'd let the end-user control the level and max amount to strip and maybe even whether to strip beginning, end, or both.
[Android Apps and Games] ldiomedi:
Re: [APP][2.3+] XenoAmp 0.186 (26032013) - A Slightly Different Audio Player

Now it's working!! I'll test the new fixes. Thanks man!

Enviado desde mi MB526 usando Tapatalk 2