Showing posts with label foo_httpcontrol. Show all posts
Showing posts with label foo_httpcontrol. Show all posts

Saturday, 21 November 2015

New version 0.9.4. Internet Radios lovers, this version goes for you.

Hi guys,
There's a new cool feature. You can now add Internet Radios to your current playlist in foobar2000 right form your phone.
It's fairly easy. Select the internet radio from your web browser and click to download it. You'll be prompted to select with which application you want to open the link. Select foobar2000 and it'll be directly added to your playlist.


Btw, this feature was suggested by a user, so feel free to suggest new cool features like this one. I'll do my best to include all your requests.

There are a couple of more things added in this version.

Release notes

New features:
  • Add Internet Radios to your foobar2000 directly browsing from your device web browser. Supported formats: .m3u and .pls.
  • Added sort by Disc Number in playlist.

Solved issues:
  • Added a setting to disable muting of volume keys for those devices where the whole device sound gets muted (i.e. Nexus 7 2012).

Saturday, 10 October 2015

New version 0.9.3.8. Get playing song info from your app!

Hi guys,
I've added a new feature especially useful for advanced users.
There's a new available Intent action.
"com.cav.foobar2000controller.GET_PLAYING_SONG"

It will allow you to get the current song info via Intent without havng to care about http requests or foobar2000 HTTP Control API.

Unlike previous Intent actions, this one is a bit more complicated to work with, but it's actually fairly easy.

You'll need to send a broadcast specifying a callback Intent action string for me to send you back the information in form of JSON-like string.
Here's an example:

Sending the Broadcast
// Create a Bundle with the action you want to be called from foobar2000 controller
Bundle extras = new Bundle();

// This is mandatory! The key MUST BE "callbackAction". The action "com.mybroadcast.song_info" can be any of your choice
extras.putString("callbackAction", "com.mybroadcast.song_info");

// Create a new Intent. Set the new action and add the extras.
Intent intent = new Intent();
intent.setAction("com.cav.foobar2000controller.GET_PLAYING_SONG");
intent.putExtras(extras);

// Send the Broadcast. foobar2000 controller will receive it and send you back a Broadcast with the song information
sendBroadcast(intent);
 Receiving the information
// You need to have a BroadcastReceiver. It can be a custom class of yours.
BroadcastReceiver broadcastReceiver = new BroadcastReceiver() {
@Override public void onReceive(Context context, Intent intent) {
Bundle extras = intent.getExtras();
if (extras != null) {
// This is where the song info is stored.
// It will be like: {"title":"Song title", "artist":"Song artist", "album":"Song album", "length": 123, "rating":5}
// You can convert it to JSONObject (or any other implementation)
String song = extras.getString("song");
// Do whatever you want with the retrieved song.
Toast.makeText(MainActivity.this, song, Toast.LENGTH_LONG).show();
}
}
};
// Register the receiver with the action you've provided before
registerReceiver(broadcastReceiver, new IntentFilter("com.mybroadcast.song_info"));
Here's a full Android studio project example using this new Intent action;
https://www.dropbox.com/s/vyuuiyjlgwkavcs/SendBroadcastTest.zip?dl=1

Enjoy!

Monday, 17 November 2014

New version 0.9.3.5. Hey, automation lovers, wanna control foobar?

Hi guys,
it's been a very long time since last post. But don't worry because there is a new cool addition.
And.. don't tell anyone but there's something huge coming soon...

This time I've added to PRO version the ability to control foobar2000 using Intents from any other app like Tasker.

The supported actions are:
  • com.cav.foobar2000controller.PLAY_PAUSE
  • com.cav.foobar2000controller.STOP
  • com.cav.foobar2000controller.PREVIOUS
  • com.cav.foobar2000controller.NEXT
  • com.cav.foobar2000controller.TOGGLE_MUTE
  • com.cav.foobar2000controller.WAKE_SERVER
I think they are pretty much self-explaining :)

This is an example of how Tasker can be configured to send an Intent to foobar2000 controller.
0.9.3.5 must be installed before trying the following..

1. Create a new Task.



2. Select System.



 3. Select Send Intent.



4. Write the action you want to add (com.cav.foobar2000controller.PLAY_PAUSE in the example).
4.1 Leave BroadcastReceiver as Target.



5. Test the action is working by clicking on "Play" icon.



If everything is OK, the music in foobar should have been paused or resumed.

Thursday, 19 December 2013

New version 0.9.3.4. It's time to reorder your playlist

Hey guys, here's another version for you all.
Consider this my Christmas present for you. It's not much but it's something :)

By the way, all of the new features added are suggestions from users, so you know... Keep on suggesting!!

Release notes

New features:
  • Added "Resume Playback" option to OnAnswered call actions.
  • Playlist items can now be re-ordered with Drag&Drop (like in the Queue).

Solved issues:
  • Menu in Landscape mode was missing some options

Sunday, 1 September 2013

New version 0.9.3.2. Cursor follows playback. Who follows cursor?

Hi everyone! I've just uploaded a new version to the Play Store.

There's a couple of additions and some fixes too.

Don't forget to check out release notes below.


Release notes

New features:

  • Added Cursor Follows Playback setting ('true' by default)
  • Updated translations (thanks to all collaborators)


Solved issues:

  • Don't scroll the playlist to now playing song after enqueueing a new song
  • Improved metadata info layout

Friday, 5 July 2013

New version 0.9.2. Just call someone to pause the music

A new version is available in the Play Store with the addition of configurable actions on Outgoing Calls as the main change.
Some fixes and improvements have been included too.

Enjoy!


Release Notes

New features
  • Actions on Outgoing Calls too.


Solved issues
  • Complete refactor of Call Actions.
  • Improved server detection in Server Wizard.
  • Improved icons for devices with higher screen resolution densities.
  • Fixed various crashes.

Friday, 24 May 2013

New version 0.9.1. All of a sudden a Queue seems like a good thing..

That's right! There's another new version with a major feature being requested since even before oblikoamorale started developing HTTP Control component!

With the help of last version of HTTP Control component (get it here, a modified version, not anymore from the "official" branch) you'll be able to manage the Queue also from the device.

You can add songs to the queue, remove them and even reorder them.

Some fixes have been applied too.

Check out the release notes and a screenshot below.



Release notes

New features
  • New Queue view (last component installation is needed).
  • Added partial translation of Traditional Chinese (thanks to windlite!).
  • HTTP Control component version display in Settings.

Solved issues
  • Fixed playlist titles with some chars.
  • Solved some issues related to queueing songs


Friday, 26 April 2013

New pc-side installer version. Getting ready for some cool additions.


One quick post to let you know that there's a new version of the pc-side installer that includes a new and modified HTTP Control component version.

I've added some features that will be used by next foobar2000 controller release.

Remember you can always get the last version here:
http://tiny.cc/fb2kc

Sunday, 7 April 2013

New version 0.9.0. New UI comes along with lots of improvements.


Since I released the new version 4 months ago, I've been working on this new version.

At first it can only look like a small layout tweaking and a few new additions, but, believe me, it's far more than that.

I hope my work is reflected in the robustness and performance of the app.

Check out the release notes and start using the new app to discover all new features and fixes.


Release notes

New features
  • Revamped interface
  • Changed disconnected screen
  • Improved overall user experience
  • System Notification not displayed when app is in front (configurable)
  • Improved navigation in Files and Library browsers
  • Added Sort options for Playlist (last installer needed for Descending sorting)
  • More of the same... dialog when touch on Now Playing info.
  • Added "Featuring" field in metadata

Solved issues
  • Improved foobar2000 detection in wizard.
  • Solved a lot of issues


Known issues
  • Improved foobar2000 detection in wizard.

Here are some  new screens.














Sunday, 30 December 2012

New version 0.8.9a. "Play from file" receives some tweaks

There's a new version with some improvements in the brand new "Play from file" feature.

The behaviour of the functionality has been changed and tweaked a little bit.
Nevertheless, it can be set back to how it worked previously with some new settings added.

Check out the release notes and get your music ready for that crazy New Year's Eve party you are planning.


Release notes

New features
  • Changed Play from file behaviour (configurable via Settings).
  • Added "Play this folder" to folders' contextual menu.

Solved issues
  • Some bug fixing.


Happy new year 2013 everyone!