Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
bubbleguuum
Old
(Last edited by bubbleguuum; 18th May 2013 at 05:05 PM.)
#1  
Senior Member - OP
Thanks Meter 630
Posts: 1,530
Join Date: Dec 2010
Default [APP][4.0+][ROOT][0.9.6.1] GMusicFS: play cloud Google Music in music players apps

GMusicFS is a new app that exposes cloud Google Music as a FUSE filesystem.

It is currently in BETA

A rooted device is required

Download beta APK (0.9.6.1)
Documentation


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 remain and the average bandwidth is sufficient.


Changelog 0.9.6.1 (May 18th)
  • 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


The goal is to bring Google Music streaming support to most third party music players like Poweramp, PlayerPro, n7player...
From the point of view of these apps, Google Music tracks will look like regular files that can be played.
I you ever wanted to play Google Music with something else than the Google Music app, that should fit the bill.

This is the first beta release. Make sure to read the Help section within the app as it contains very important usage info (especially on Android 4.2+) and music player specific initial setup.

For quick testing, I suggest that before initially choosing your google account and syncing, you first limit the number of tracks to 50 or 100 in Settings > Track Limit. That will make a quick testing of the app faster.

At this point it was only tested on a Nexus 4 and Nexus 7 running stock 4.2.2, as well as on an older device running CM10 (4.1.2).

Feedback and bug reports are of course welcome ! If it works for you please report your device, Android version, ROM and music player.

Requirements
  • a rooted device running Android 4.0+ on ARM CPU. Root is necessary for mounting the filesystem
  • A kernel supporting FUSE filesystems (should be the case of all 4.0+ kernel)
  • SuperSU
  • Some music uploaded to the Google Music service
  • A compatible third party music player. Tested working with Poweramp, Winamp, PlayerPro, n7player. Should work with most players using the Android MediaPlayer API or ffmpeg. Doesn't work with Deadbeef and XenoAmp.
  • A stable network connection as GMusicFS does currently very little buffering

Updating from previous version

When upgrading version during the beta, it is recommended to cleanup the previous version (and do a full sync in the new version), because some internals on how
file metadata is stored may have changed.

To cleanup the old version before installing the new one:
  • launch old version of GMusicFS
  • unmount filesystem if it is mounted
  • click on the Cleanup button

Recording a log file


Here's how to setup logging, to troubleshoot issues.
Do not post log files on the forum or on the web as they contain your Google account name.
  • start GMusicFS
  • in the Settings tab, enable Logging (select "App" as the logging mode, unless being instructed otherwise), then click the "Exit" button to exit the app
  • restart the app and operate the app until the error appear
  • exit the app
  • send me (bubbleguuum at free.fr) the log file located on your SD Card as file Android/data/com.bubblesoft.android.gmusicfs/logs/log.txt
Attached Thumbnails
Click image for larger version

Name:	control.jpg
Views:	14089
Size:	21.5 KB
ID:	1767645   Click image for larger version

Name:	pin.jpg
Views:	593
Size:	34.4 KB
ID:	1970140   Click image for larger version

Name:	settings.jpg
Views:	553
Size:	35.0 KB
ID:	1970141  
The Following 138 Users Say Thank You to bubbleguuum For This Useful Post: [ Click to Expand ]
 
hobbypunk
Old
(Last edited by hobbypunk; 28th February 2013 at 08:52 PM.)
#2  
hobbypunk's Avatar
Senior Member
Thanks Meter 57
Posts: 121
Join Date: Jun 2011
Location: Emmen

 
DONATE TO ME
Default Re: [APP][4.0+][ROOT][BETA] GMusicFS: play cloud Google Music in most music players a

It looks very promising, but does not seem to work on my sensation running CM 10.1 (see screenshot)



Sent from my HTC Sensation using Tapatalk 2




Edit: fixed some ugly formating caused by Tapatalk
Don't have Dropbox? Click here to see why you should get it. If you like it, use this link to sign up (you get 250mb extra storage, I get 250mb extra storage. Win-Win!)


The Following 2 Users Say Thank You to hobbypunk For This Useful Post: [ Click to Expand ]
 
bubbleguuum
Old
#3  
Senior Member - OP
Thanks Meter 630
Posts: 1,530
Join Date: Dec 2010
@hobbypunk:

Thanks for the report. I'll install CM 10.1 on one of my device to see how it goes. I'm not actually that surprised that mounting is not working on some ROMs. For now, I only tested on Nexus 4 and Nexus 7 running stock rooted ROM as well as my old SGS with CM10 (4.1.2).
 
Quistnix
Old
#4  
Quistnix's Avatar
Senior Member
Thanks Meter 30
Posts: 116
Join Date: Oct 2009
Default Re: [APP][4.0+][ROOT][BETA] GMusicFS: play cloud Google Music in most music players a

Great app, I love finally having my Google music in player pro. It's a bit of a drain on battery and ram and needs a bit more buffering, but it's great for a beta!
 
TheMorpheus
Old
#5  
TheMorpheus's Avatar
Senior Member
Thanks Meter 47
Posts: 661
Join Date: Jan 2009
Location: Marche_Marotta (PU)

 
DONATE TO ME
Default R: [APP][4.0+][ROOT][BETA] GMusicFS: play cloud Google Music in most music players ap

Quote:
Originally Posted by hobbypunk View Post
It looks very promising, but does not seem to work on my sensation running CM 10.1 (see screenshot)

Sent from my HTC Sensation using Tapatalk 2
Same here on Galaxy Note 10.1 N8000 running Cm10.1

Sent from my N8000 using Tapatalk HD
 
cdkane
Old
#6  
Member
Thanks Meter 9
Posts: 56
Join Date: Apr 2012
Default Failed to create folder

The app gets to about the 10th album and says it is unable to create the folder on the SD card. Have tried multiple times but it always stops. Have created the named folder myself but still get the same error. On CM10.1 on Xperia ARC.

Keep up the good work though this is exactly what I am after. Get it all working and name your price
 
bubbleguuum
Old
(Last edited by bubbleguuum; 28th February 2013 at 01:59 PM.)
#7  
Senior Member - OP
Thanks Meter 630
Posts: 1,530
Join Date: Dec 2010
@TheMorpheus, @hobbypunk:

I could somewhat reproduce this "permission denied" error. It seems to happen if the SuperSU popup asking for root is not clicked before the countdown reach 0. It is not related to a specific ROM.

There are 2 such popups displayed the very first time the app is started:

- the first one is displayed immediately on app start and ask permission for GMusicFS
- the second popup is displayed the first time the filesystem is mounted (which can happen way later, after initial sync) and ask permission for "ADB shell"

To force these 2 popups to reappear can you do this and report if it fixes the problem:

- exit GMusicFS if it is started (cross button on top)
- launch the SuperSU app and remove both GMusicFS and "ADB shell" from the apps list (long-click on app and "Forget").
- Restart GMusicFS. It will show the first popup (on app start) and the second permission popup (during mounting). Answer "Grant" to both before the countdown reach 0.
 
bubbleguuum
Old
#8  
Senior Member - OP
Thanks Meter 630
Posts: 1,530
Join Date: Dec 2010
Quote:
Originally Posted by cdkane View Post
The app gets to about the 10th album and says it is unable to create the folder on the SD card. Have tried multiple times but it always stops. Have created the named folder myself but still get the same error. On CM10.1 on Xperia ARC.

Keep up the good work though this is exactly what I am after. Get it all working and name your price
Thank you for the report. Can you record and send me a log file (bubbleguuum at free.fr):

- start GMusicFS
- in the Settings tab, enable Logging (select "App" as the loggin mode), then click the "Exit" button to exit the app
- restart the app and operate the app until the error appear
- exit the app
- send me the log file located on your SD Card as file Android/data/com.bubblesoft.android.gmusicfs/logs/log.txt

Thanks!
The Following User Says Thank You to bubbleguuum For This Useful Post: [ Click to Expand ]
 
Nitroz
Old
#9  
Nitroz's Avatar
Recognized Themer
Thanks Meter 1829
Posts: 1,250
Join Date: Jan 2011
Location: Wakefield

 
DONATE TO ME
Quote:
Originally Posted by bubbleguuum View Post
@TheMorpheus, @hobbypunk:

I could somewhat reproduce this "permission denied" error. It seems to happen if the SuperSU popup asking for root is not clicked before the countdown reach 0. It is not related to a specific ROM.

There are 2 such popups displayed the very first time the app is started:

- the first one is displayed immediately on app start and ask permission for GMusicFS
- the second popup is displayed the first time the filesystem is mounted (which can happen way later, after initial sync) and ask permission for "ADB shell"

To force these 2 popups to reappear can you do this and report if it fixes the problem:

- exit GMusicFS if it is started (cross button on top)
- launch the SuperSU app and remove both GMusicFS and "ADB shell" from the apps list (long-click on app and "Forget").
- Restart GMusicFS. It will show the first popup (on app start) and the second permission popup (during mounting). Answer "Grant" to both before the countdown reach 0.
I still can't see a second popup asking for access to ADB shell, synced well over 10 minutes ago. Exited app, got SuperSU to forget app, did it again, first popup appeared straight away, granted it, but still no second popup.
-Phone-HTC One/Galaxy S4 - i9505
-ROM-TrickDroid/Stock Deodexed
-Theme-Stock/Stock...for now

My Work
-Black Exodus (Theme Chooser)
-Ash (Theme Chooser)
-Graze (Work in Progress)
-Gingerbread Theme (Port)

 
bubbleguuum
Old
#10  
Senior Member - OP
Thanks Meter 630
Posts: 1,530
Join Date: Dec 2010
Quote:
Originally Posted by Nitroz View Post
I still can't see a second popup asking for access to ADB shell, synced well over 10 minutes ago. Exited app, got SuperSU to forget app, did it again, first popup appeared straight away, granted it, but still no second popup.
In the SuperSU apps list, is there an entry titled "ADB shell" ?
Btw make sure to update to the latest version of SuperSU, just in case.

 
Post Reply+
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Go to top of page...