yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] bubbleguuum:
GMusicFS 0.9.6 is available (first post to download), bringing caching to SD card (by pinning albums) and stream buffering.

Make sure to read the updated help on pinning albums and buffering, for important info.

Please test in various conditions (in particular, streaming from mobile networks) and report issues.

Note that buffering will not magically fix unreliable mobile networks for which the connection drops all the time. It will help though

if the bandwidth is not consistent and fluctuating, as long as the connection remains and the average bandwidth is sufficient.

Changelog 0.9.6

configurable buffering during streaming

album pinning to cache tracks to local storage

ability to auto-remount only selected apps (Settings > Selected music apps)

the notification shows current playing track and its status (streaming, cached file, caching, buffer fill)

fixed small audio stutter sometimes at beginning of tracks with n7player

remove generated adb keys in some case of mount failure. might help to mount successfully afterwards

fixed a few rare crashes
[Android Apps and Games] pipergca:
Simply amazing sir. With buffering this is just amazing. Did I say amazing? Very good work. Will keep testing and if any bugs will report.

p.s. I went back to PowerAmp and so far working flawlessly with GMusicFS
[Android Apps and Games] cdkane:
Anyone have a recommended setting for buffering? Does also pre buffer/cache the next track?
[Android Apps and Games] bubbleguuum:
The default is 10s. Unless it is not sufficient (audio drop out) you can leave it to this value.

On WiFi when the screen is off, using a higher value can have the advantage to slightly improve battery usage, because the WiFi lock will be released earlier.

The higher the value you set, the more data is downloaded that will be discarded in the case of seeking in the track. Doesn't matter much

on WiFi but on mobile that can download quite a bit of data for nothing if you seek often in tracks.

No as it doesn't know what next track is. There's no real need to prebuffer next track on an adequate connection with

required bandwidth (40Kb/s average for 320K mp3).
[Android Apps and Games] bubbleguuum:
New version 0.9.6.1 fixing a few crashes (first post to download).
[Android Apps and Games] beren:
thanks for new release, has a lot of new awesome features!!

just curious about now google's API, did you have time to look at it and maybe found something interesting for your app?
[Android Apps and Games] bubbleguuum:
What do you mean ?
[Android Apps and Games] thelonelyghost:
Unable to play music added by GMusic All-Access Pass. Says it's an invalid URI and gives what appears to be JSON with the song's metadata. Not too surprising, but thought I'd report it.

Running GFS 0.9.6.1 ON CyanogenMod 10.1 Nightly. Device: Galaxy Nexus (toro)
[Android Apps and Games] bubbleguuum:
Known issue, working on it, although whether these tracks will be playable remain to be seen.
[Android Apps and Games] beren:
I meant if Google released something about Google music in new API from last Google I/O

Inviato dal mio Nexus 4 con Tapatalk 2
[Android Apps and Games] bubbleguuum:
No, but at least they didn't break the unofficial API. The only new thing is "All Access" tracks, which for the moment are not playable.
[Android Apps and Games] Phantom Pt. II:
Have you ever researched if it's possible to create the ability to upload music to Google Music using your phone?
[Android Apps and Games] milleph:
Mono - A New Android Music App

Definitely worth checking out - watch the demo videos (mono-cloud.appspot.com)
[Android Apps and Games] Dungeon47:
Not exactly what you're after, but here's how I get around it.

I have a FTP share on my NAS at home that is also an upload folder for Google Music on my phone. I just browse to the FTP site from my phone and drop the file into the upload folder. It's on Google Music in a few minutes.
[Android Apps and Games] Phantom Pt. II:
Sounds interesting. I don't have that available though at home. Sadly. :)
[Android Apps and Games] beren:
do you have a google music manager on your NAS or simply choosed that folder on your home pc?
[Android Apps and Games] Dungeon47:
Just mapped a drive on my computer to the folder on the NAS, and set Google Music to look in the mapped drive. Regular old "net use"
[Android Apps and Games] creeve4:
Auto remount does not seem to be working on my Galaxy Nexus with Poweramp.

I start Poweramp and get the error "too many failed files, playing will stop." I wait 30 seconds for auto mount and then select a new file, but still get the same error. I then exit Poweramp and then re-enter it and still get the same error.

When I check GMusicFS it shows as mounted. If I manual unmount then remount from within the app, then Poweramp is able the find the files.
[Android Apps and Games] beren:
For me auto remount is working perfectly with power amp, maybe try to clear power amp database and make a rescan.

Btw do you (developer) think could be useful to put an auto unmount option when closing player app? Just not to show notification when not playing music...

Inviato dal mio Nexus 4 con Tapatalk 2
[Android Apps and Games] e2zippo:
Just tried this out again now that buffering is implemented, and it works a lot better!

However, I seem to be missing a few albums, and I can't see any playlists, even though I imported them in poweramp. (and GMusicFS shows 4 playlists synced)

I'm running latest poweramp, and a rooted stock rom (android 4.1.2) on my Galaxy S2

Also, is it possible to pin playlists?

Any ideas?

Edit: track skipping still occur for me, would it help to increase buffer?

Edit2: I can't seem to start any songs from the widget as well, I have to enter the application, this doesn't happen with local songs.
[Android Apps and Games] bubbleguuum:
GMusicFS 1.0 is finally available on Google Play.

This version adds support for playing "All Access" tracks.

The new version has the following limitations that can be removed by purchasing the unlocker (2.49€ / 2.99$) :

- a maximum of 5 albums can be pinned (cached to SD Card)

- a maximum of 16 Google Music "All Access" tracks can be played per app launch. Regular track playback is unlimited

Special thanks to jamocha310 for helping making All Access track work.

And thanks to everyone that contributed feedback and bug reports!
[Android Apps and Games] bubbleguuum:
Try increasing it and let us know. What kind of network connection was it when it happened ?

Noted. Auto remount doesn't work for widgets (it is not detected). I'll see what I can do.
[Android Apps and Games] bubbleguuum:
Not practical unfortunately because the player migth not really be closed (its process terminated) when you'd want that behaviour.

In short, GMusicFS cannot make the distinction between the player being in the background and unused because you do not want to use it for a while, or simply in the background and that you will use it soon.

You can still hide the notification globally if you wish (look in the apps settings) but you will also loose the ability to pin from the notification, and all toast messages will not show anymore (mostly used to notify of playback errors).
[Android Apps and Games] beren:
Hide notification can be a good option for me...

Having file system mounted can affect battery or network usage when not playing music?

Inviato dal mio Nexus 4 con Tapatalk 2
[Android Apps and Games] e2zippo:
Great, thanks!

What about the missing playlists, any clues? And can playlists be pinned?

Cheers!
[Android Apps and Games] bubbleguuum:
It doesn't use the battery nor network when not playing music.

As far as battery goes, the app simply holds a WiFi lock while streaming a track on WiFi (no lock when the track is cached),

like every other streaming app.

Network usage only happens when syncing you collection, or streaming a track.
[Android Apps and Games] bubbleguuum:
playlists should appear if you do the following (with GMusicFS remounted after Poweramp startup):

- Settings > FoldersAnd Library > Playlist Import/Export > Import System Library playlists

- playlists should now be listed in Library > Playlists

As for pinning playlists this is a good idea and definitely in the todo list.
[Android Apps and Games] PoetO:
AW: [APP][4.0+][ROOT][BETA] GMusicFS: play cloud Google Music in most music players a

The new beta didn't fix it. I still get that error when the app is trying to mount the file system. There's still no prompt for adb shell root permissions.
[Android Apps and Games] bubbleguuum:
Damn, that's incomprehensible. I too have a Nexus 4 running stock 4.2.2 and no problem.

How did you root it ?

Do you have Superuser installed alongside SuperSU ?

In a shell, if you type command:

getprop persist.sys.root_access

What does it return (should be empty on N4) ?
[Android Apps and Games] PoetO:
AW: [APP][4.0+][ROOT][BETA] GMusicFS: play cloud Google Music in most music players a

getprop persist.sys.root_access is NOT empty, returns 3.

The device was rooted using Nexus 4 toolkit, superSU is the only su app installed.
[Android Apps and Games] bubbleguuum:
Weird that the value is 3. The mount script changes it to 3 temporarily before reverting to the previous value it was.

3 means: authorize root for Apps + ADB. I do not think this property is used on the nexus stok rom though, although it is definetely used on CyanogenMod.

Can you record a log with CatLog :

- start GMusicFS, wait for mounting to fail

- start CatLog , Menu > Save

- send me the file (bubbleguuum at free.fr)
[Android Apps and Games] PoetO:
AW: [APP][4.0+][ROOT][BETA] GMusicFS: play cloud Google Music in most music players a

I sent you the log file.
[Android Apps and Games] jazzboyrules:
Re: [APP][4.0+][ROOT][BETA] GMusicFS: play cloud Google Music in most music players a

I too got a mounting error but it got fixed after I backed up and restored the app+data using Titanium Backup.

Here's the mounting error I got :

http://db.tt/bPj3A3Wv (screenshot)

Thanks for fixing the long filename issue.

Now the database generation is completing and everything is great except the buffering.

Music pauses quite a few times within a single track.

Nexus 4

PA Feb 24

motley b40

PowerAmp
[Android Apps and Games] cdkane:
I got the same error too. I just deleted it and reinstalled from scratch. All worked perfectly!!

Looking forward to being able to buffer. Once thats in place its perfect IMO
[Android Apps and Games] bubbleguuum:
@cdkane or @]jazzboyrules: how did you install the new version to get that error ? I'm trying to understand what steps made that error happen.
[Android Apps and Games] 200mpx:
Very usefull and nice app! is there a possibility to donate for such a beauty? Or buy this app?
[Android Apps and Games] jazzboyrules:
I had uninstalled the 0.9 version as the database generation did not work because of the long file issue.

On seeing this update, I restored that version from Titanium Backup.

I cleaned the database as instructed and then installed the latest 0.9.1 version. The database generation succeeded this time but the mounting did not happen.

So then I revoked the su rights given to GMusicGS using the SuperSU app. I tried remounting, it asked for permission but again gave remounting error (with a different error code as shown in the screenshot in my previous post). I forgot to record what the earlier mounting error code was.

Then I uninstalled it (without doing the database cleanup) and restored the app+data (as I did not want regeneration of the database).

This time mounting worked!
[Android Apps and Games] AGiLiT:
Don't need this for XenoAmp; it supports Google Music sync.
[Android Apps and Games] jimmygoska:
Re: [APP][4.0+][ROOT][BETA] GMusicFS: play cloud Google Music in most music players a

Hey,

This app is awesome! The only app that I can't get this to work with is the Sonos controller app. Has anyone got it working? Is there anything I can do to help?

Cheers!
[Android Apps and Games] 200mpx:
Re: [APP][4.0+][ROOT][BETA] GMusicFS: play cloud Google Music in most music players a

Have a problem with Artist and Album data, unknown Artist and unknown Albums. And I have a bunch of figures and letters instead of title. Seems that I have this after quitting app and having "too many unreadable files" in Poweramp. Rescan doesn't helped

Отправлено с моего GT-N7100 через Tapatalk
[Android Apps and Games] bubbleguuum:
Start Poweramp

make sure the filesystem is mounted (remount it if on Android 4.2+)

In Poweramp, trigger a full rescan in Settings > Folder and Libraries > Full Rescan
[Android Apps and Games] bubbleguuum:
There will be a free and a pro version at some point once I reach 1.0 =).
[Android Apps and Games] banccalif:
Re: [APP][4.0+][ROOT][BETA] GMusicFS: play cloud Google Music in most music players a

How?
[Android Apps and Games] 200mpx:
Re: [APP][4.0+][ROOT][BETA] GMusicFS: play cloud Google Music in most music players a

deleted
[Android Apps and Games] cdkane:
I installed the new version over the top of the old. Launched it and got the error, Clicked on cleanup and started to sync again. After the sync was done, it came up again. So I just deleted everything and started again.

Another small issue that I have come across with the new BETA is code error 2 when mounting, which seems to indicate that the gmusicfs folder that stores all the data on the SD card is missing. Went into file explorer and its not there anymore. Completely deleted. The only way to get it all working again is to do a clean up and start fresh.

I am trying to recreate this problem as I am not sure what I was doing to make it happen. Possibly some improper sequence when I use Poweramp and unmount or whatever. If I can figure out when this happens, ill get you a catlog.

P.S those files I had issues syncing before (Amy Winehouse...) synced fine this time around...
[Android Apps and Games] Audioboxer:
:victory:

Out of interest though, is this something Google could pull or does it abide to Google Music T&C?
[Android Apps and Games] :
OK i changed ROM to regular CM 10 (4.1.2) and now i have fully original, brand new - error code 1 ;)

What about this?
[Android Apps and Games] nolook:
this is great timing cause the latest Google music update is terrible and won't even steam to my old nexus s.. this app works great - using it with Apollo and no streaming issues...

edit:

tested a bit more and it seems to not have all my cloud music available using this on both a nexus s cyanogen 10.1 and nexus 7 4.3 stock rooted... using Apollo player on both btw.. also noticed about of stutter between songs randomly...
[Android Apps and Games] Flynny75:
Could there one day be the feature of only mounting what the Play Music app has already pinned? This was I could still use Play Music to manage which music I have pinned, and use GMusicFS to expose that pinned music to other players / mediastore
[Android Apps and Games] beren:
i think that gsmusicfs has a different cache for pinned music than google music player, so i don't think it's possible...correct me if i'm wrong...
[Android Apps and Games] e2zippo:
Sound great!

Playlists still don't appear in Poweramp, but they show as synced.

Also I'm unable to remount, I get "Unmount failed to kill filesystem process"

But it mounts correctly after a reboot.
[Android Apps and Games] Flynny75:
It does have a different cache, but Play's pinned tracks are findable in its database and the files are findable in its app folder
[Android Apps and Games] bubbleguuum:
No plan to do that (supposing it is doable), as the vast majority of users that would pin music in the Google Music app probably use it to play it anyway and do not need GMusicFS.
[Android Apps and Games] Flynny75:
That is an unfortunate, but understandable response. I would fall into this category, but also play music games that use the mediastore for their music.
[Android Apps and Games] beren:
yes, but this means double cache and double space taken on our small 16gb memory...
[Android Apps and Games] Williamsss:
There has been an app on the market for over a year now that does exactly that and only that

https://play.google.com/store/apps/details?id=com.sapien.music.importer

Give it a try =]
[Android Apps and Games] Flynny75:
Nope, this redownloads it (taking up twice the space doing so). I have bought others that move it out of Play's cache folder onto the SD card, but then I cant use Play to manage my music. Id rather use GFS to pin/manage my music than an exporter. What I'm looking for is something that goes through Play's cache and adds the entries to the mediastore. But I'm not sure if the mediastore can do that (seeing as the mediastore does not run as root, I dont suppose it could access files in a private folder). It might not be possible without duplicating the files (or not use Play to manage it).

Never mind. GFS is still the best solution at the moment
[Android Apps and Games] Phantom Pt. II:
If you're interested, check out the Developer website in my signature. Let me know if you want to use it for your App. ;)
[Android Apps and Games] tilal6991:
Just remove the .nomedia file in the gmusic sdcard data directory. You should then be able to play these files elsewhere.
[Android Apps and Games] tom1l21:
Not sure why, but I'm always seeing a Playlist sync warning and my playslists aren't showing up in PowerAMP. I followed the steps to import the playlists to no avail. I do have it set to generate m3u playlists too.
[Android Apps and Games] e2zippo:
Hey bubblegumm!

I just bought GMusicFS to support a great app!

And I could import the playlists now, but I got a error message stating that some songs weren't avaliable and that I should try to resync again.

And I'm missing a lot of songs in the playlists.

But the sync shows 15718 songs synced, which is exactly the amount of songs that I have.

I'll try do to a resync see if that fixes it.

Cheers!
[Android Apps and Games] bubbleguuum:
This could happen if some tracks were not scanned or failed scanning thus are not in the Android music database.

You can try to just rescan then sync playlists only to check if it fixes it.

If you still have the issue, you can send me a log file with "App" logging level, only syncing playlists for the purpose of the log (see first post of this topic for instructions)
[Android Apps and Games] cali4nia831:
I too am having problems syncing playlists from google music. It says "playlist sync warning" and "some playlists are missing tracks because they point to non existing files.

Tried Re-syncing the playlist and tried resyncing albums+playlist too again as it told me and still only see a few songs in each playlist and none in a couple of them...

Tried remounting and nothing also. Everything else is working great. I am on a Samsung Galaxy S3 on verizon running Liquidsmooth 2.4

Will be sending you a log as soon as I can.
[Android Apps and Games] bubbleguuum:
Now that I think of it: are the missing tracks, "All Access" tracks that you added directly to a playlist (eg, that are not part of an album in your Google Music Library) ?
[Android Apps and Games] cali4nia831:
No. They're tracks that were already in my library.

Sent you a log by the way...
[Android Apps and Games] e2zippo:
Not for me either, I don't have access to "All access" tracks since I'm in Sweden.

And another thing, i noticed that tracks that are missing from from the playlists are in my library and can be played without issues, so it's not that GMusicFS couldn't scan the tracks.

I'll send you a log now.

Cheers!

Edit: i can't seem to create a log file, it's always 0 byte, and i followed the instructions from the OP, tried 5 times now.

And I get this mounting error when trying to remount
[Android Apps and Games] bubbleguuum:
Ok. No need for the log since cali4nia831 sent me one and I believe it is the exact same problem, which I'm investigating.

Since you use Poweramp, can you confirm that missing track from playlists are listed in the Poweramp Library section ?

Rebooting your phone should make this error go away.
[Android Apps and Games] e2zippo:
The missing tracks are listed in Poweramp, and playable.

It does, but shouldn't I be able to umount/remount instead of rebooting?

Cheers!
[Android Apps and Games] bubbleguuum:
Do you get that error each time you click the remount button or just got it once ?
[Android Apps and Games] e2zippo:
Now I get it all the time, even after rebooting a couple of times :crying:
[Android Apps and Games] bubbleguuum:
When you boot and you launch GMusicFS do you have this message when it mounts for the first time, or only if you click the remount button after that ? Normally there is rarely the need to remount manually.

Also when you have this error, can you check that on the root of your sdcard a directory named gmusicfs is present and that a folder named gmusicfs.meta is *not present* ?
[Android Apps and Games] creeve4:
Getting this error every time I try to mount:

I have used Cleanup from within the app, cleared the app cache and uninstalled, and removed the apps entry from Superuser, rebooted, and then reinstalled...

Galaxy Nexus running AOKP which has koush's Superuser app built in and verison 1.0.1 of the app.
[Android Apps and Games] bubbleguuum:
Thanks for the report. Android is full of endless surprises...My guess is that it is a ROM specific issue.

Can you do this:

- install the Terminal app and start it

- check if the /sdcard directory exists with command

cd /sdcard

Let me know the result
[Android Apps and Games] creeve4:
The command

works correctly in the Terminal app, the directory is changed to /sdcard.

I noticed that the directories "gmusicfs" and "gmusicfs.meta" are not getting created in /sdcard/
[Android Apps and Games] bubbleguuum:
Ok, with can you give me the output of :

ls -la /sdcard/gmusicfs

and:

ls -la /sdcard/gmusicfs.meta
[Android Apps and Games] creeve4:
"No such file or directory" for both commands

---------- Post added at 02:03 PM ---------- Previous post was at 01:43 PM ----------

I used the Cleanup function (but this time did not clear cache, uninstall the app, or forget root permission in Superuser), rebooted by phone and re-setup everything. Seems to be working correctly now.
[Android Apps and Games] bubbleguuum:
Ok. When you got "No such file or directory" for both commands, did you made a Sync or where you in the "Cleanup" state (in this latter case it would be normal) ?
[Android Apps and Games] bubbleguuum:
I think I've finally found and fixed the cause of that nasty mount error 2 you got suddenly and that others reported.

It is an unfortunate bug and when that happens, the fix is to reinstall the app (or clear data) and sync again.

I'll make a new version soon when I have found the cause of the missing entries in playlists that has been reported.
[Android Apps and Games] e2zippo:
Sounds great, I reinstalled and its working again. Looking forward to the new version, and playlist pinning ;)
[Android Apps and Games] bubbleguuum:
GMusicFS 1.0.2 is available on Google Play.

It doesn't fix the tracks missing in playlist issue yet, but has a few important fixes for stability.
[Android Apps and Games] beren:
do you think it's possible to add an "X" button on notification to manually unmount the fs when not needed?
[Android Apps and Games] bubbleguuum:
Yes it would be possible, although there is not much point in unmounting as mounted state doesn't use much resource.

If you only want to hide the notification, you can do it with Settings > Notification visibility.

Now if you want to unmount for a specific reason, let me know.
[Android Apps and Games] Dungeon47:
I've been going back and forth using and not using GFS for a few weeks now and I have never noticed any impact on battery while it's running correctly. If anyone is having battery issues, check the link in my signature for some help.