Categories
Uncategorized

Set custom location for Spotify data in Android

Recently I bought a 16Gb microSD card to expand the storage capability of my android device, my intencion was to be able to sync all my Spotify lists for offline playing.

Sadly Spotify won’t let you modify the path where it’s files are stored, but there is a way.

You must have a rooted phone and know how to use adb or a terminal emulator. Then, as root:

Open the Spotify config file in /data/data/com.spotify.mobile.android.ui/shared_prefs/spotify_preferences.xml

The file will look like this.

<?xml version='1.0' encoding='utf-8' standalone='yes' ?>
<map>
<string name="installation_id">qr8vlrvtatrokb0kmpj8gappn3</string>
</map>

you have to add one line.

<?xml version='1.0' encoding='utf-8' standalone='yes' ?>
<map>
<string name="installation_id">qr8vlrvtatrokb0kmpj8gappn3</string>
<string name="storage_location">/mnt/emmc</string>
</map>

Then you will have to close Spotify for the changes to apply, select Spotify¬† in the application manager and select “Force Close”.

Open Spotify again, now Spotify will store it’s data on /mnt/emmc/Android/data/com.spotify.mobile.android.ui, you can delete the old files, they are in /mnt/sdcard/Android/data/com.spotify.mobile.android.ui

Source: Spotify support forums

Categories
Uncategorized

Awesome slides from Zach Holman talking about how github uses github to build github

Categories
Uncategorized

Moving bulma to wordpress

Last saturday some Bulma members met to start porting the old website to a new wordpress based site, now the site is running on a custom software written about 10 years ago in PHP version 3. This software runs fine but we have some new ideas to implement and it would be a lot easier to do so if we were running on a newest environment.

Years ago a lot of Bulma members used to write posts on Bulma, but now only a few continue posting. The reason is that most of the early users now have its own blogs and they write posts on them, most of the times forgetting about Bulma. So we are planning to make the new Bulma site a mix between a blog and a planet. Allowing users to add its feeds to share all or some of the posts they write if the have something to do about free software, coding, new technologies, etc.

To export all the contents we decided to generate a fake wordpress export XML and we made it by pure SQL (with lots of concats). All the contents were exported ok, but there is a big problem, the old site allowed users to post HTML code without restrictions and a lot of people abused it, so the articles won’t look well on the new template. So the work for the next week is to postprocess all the imported data removing style and font tags to make them look more uniform across them.

I hope we can have the new version publicly available soon, so we could receive feedback from the remaining staff and the rest of the users.

coding after the pizzas

From left to right, Joanmi, René and me having some geek fun.

Categories
Uncategorized

Hello world!

I’ve just set up my new blog, but actually I don’t have nothing to write or tell for now, so you can read the about page I have just finished writing.