Author Topic: Radio for OpenDingux  (Read 11167 times)

marcos.souza (OP)

  • *
  • Posts: 39
Radio for OpenDingux
« on: July 18, 2012, 12:09:50 pm »
Hi people!

I'm here to ask if there is a radio application for OpenDingux. In the original firmware, the
radio application was very good, and I want to know there is something like that for OpenDingux.

Thanks!

marcos.souza (OP)

  • *
  • Posts: 39
Re: Radio for OpenDingux
« Reply #1 on: September 19, 2012, 09:31:20 pm »
Hi all,

since my last post I was working in a radio player. So here we are :)

https://github.com/downloads/marcosps/radio_player/radio_player_v0.2.1.tar.gz

This radio player, as you can note when execute have:

- Automatic Seek - By pressing L and R
- Save/Restore volume after close app/turn off device
- Manage volume level by up and down buttons
- Save last radio station when close the application

I hope you enjoy!

OBS: This app just work for A3*, the port for GCW will be done.
« Last Edit: October 12, 2012, 09:29:42 pm by marcos.souza »

samir

  • *
  • Posts: 344
Re: Radio for OpenDingux
« Reply #2 on: September 19, 2012, 10:46:10 pm »
Thanks Marcos Souza, but i cant run this radio player... The .tar file has inside a file named "radio_player_v0.2", copy this file inside the SD, and add the icon in gmenu2x in OD, when press the A button to run the app, the screen tilts and return to gmenu2x. Any suggestion?

marcos.souza (OP)

  • *
  • Posts: 39
Re: Radio for OpenDingux
« Reply #3 on: September 20, 2012, 03:07:49 am »
Hi samir,

When you extract the tar file, it will bring a dir with the files of the radio. I use tar -zxf to extract the content of the tar file.

After put the dir radio_player in your SD card, try to make a link(Select button and choose Add Link) in the file radio.dge, inside of the radio_player dir.

If you have some doubts, please ask here, or ask in the list irc.freenode.net, channel #dingoonity

There will have someone that could help you in your  doubts :)

Thanks for use the radio!

pcercuei

  • ***
  • Posts: 1429
    • My devblog
Re: Radio for OpenDingux
« Reply #4 on: September 20, 2012, 03:14:29 am »
If you used -xzf then this is not a TAR file, but a GZIP file. You should name it radio_player_v0.2.tar.gz

marcos.souza (OP)

  • *
  • Posts: 39
Re: Radio for OpenDingux
« Reply #5 on: September 20, 2012, 03:19:27 am »
Ayla, it's true,

I forgot to change the name of the file...

I will do it now, thanks for remember me!

samir

  • *
  • Posts: 344
Re: Radio for OpenDingux
« Reply #6 on: September 20, 2012, 03:19:40 am »
If you used -xzf then this is not a TAR file, but a GZIP file. You should name it radio_player_v0.2.tar.gz

Yes! I renamed the file, and now can see the files inside them.  ;D

samir

  • *
  • Posts: 344
Re: Radio for OpenDingux
« Reply #7 on: September 20, 2012, 03:25:53 am »
Cool!! Good Work!  ;D

marcos.souza (OP)

  • *
  • Posts: 39
Re: Radio for OpenDingux
« Reply #8 on: September 20, 2012, 03:30:29 am »
Thanks!

If do you have any issue, or some suggestion, please talk with us :)

samir

  • *
  • Posts: 344
Re: Radio for OpenDingux
« Reply #9 on: September 20, 2012, 03:33:37 am »
How to navigate into radio stations in one to one? For example: from 98.1 to 98.2. Or only automatic navigation with L and R buttons? Good work, man!

marcos.souza (OP)

  • *
  • Posts: 39
Re: Radio for OpenDingux
« Reply #10 on: September 20, 2012, 03:37:55 am »
I was thinking about make some "Favorite radios".

For example, you like to listen 92.7 and 107.1, so you could have a list of favorite radios(adding them by pressing Y for example), and you can change the radio station by pressing right and left, changing between your favorite radios. To rmove we could use the B button, or something like this.

I believe this is a good feature to add(I'm a user of the radio too :) ). What do you think samir?

samir

  • *
  • Posts: 344
Re: Radio for OpenDingux
« Reply #11 on: September 20, 2012, 03:42:11 am »
Great idea, marcos souza. Im hearing radio right now  :)

marcos.souza (OP)

  • *
  • Posts: 39
Re: Radio for OpenDingux
« Reply #12 on: September 20, 2012, 03:48:50 am »
I have an TODO list to do in the radio player and in the radio driver.

I will try to do this ASAP!

marcos.souza (OP)

  • *
  • Posts: 39
Re: Radio for OpenDingux
« Reply #13 on: September 28, 2012, 12:04:32 am »
Hi Samir,

I was implementing the favoritte radios feature, when I feel something that I know that someday it appear: The frequency problem.

Actually the driver of the radio don't waits for the seek complete of the hardware, and with it the radio app can get a wrong radio station.

You may have noticed already that sometimes the radio app shows an frequency, but radio that is playing is another, right?

So, today I made a patch to solve this issue in the driver code.

Maybe you'll need a new kernel for avoid this issue... Maybe we can compile a version with this fixes and put in somewhere for you download :)

I will implement the favorite radios feature  when this issue is fixed.

Thanks!

marcos.souza (OP)

  • *
  • Posts: 39
Re: Radio for OpenDingux
« Reply #14 on: October 12, 2012, 08:37:59 pm »
Hi all!

The version 0.2.1 is ready!

The big feature here is the "Run in background", by pressing the B button.

I believe that is will be very used, and is a nice feature(we can listen the radio and play games in the emulator!)

The Seek was fixed in the new 3.6 OD kernel. So, now, we can seek more fast and more "stable", since the radio driver only return the control to the application when the seek in complete.

Comments, suggestion, please tell here :)

Articus

  • *
  • Posts: 356
Re: Radio for OpenDingux
« Reply #15 on: October 12, 2012, 08:49:16 pm »
Good work, Marcos!   :)

I want to try it out on GCW Zero.  Its a very nice option to have a radio, thanks.

marcos.souza (OP)

  • *
  • Posts: 39
Re: Radio for OpenDingux
« Reply #16 on: October 12, 2012, 09:22:45 pm »
Hi Articus!

Thanks !!!

I will not work for GCW, yet. The GCW uses another audio driver, so some alsa controls have another names...

I'm waiting for to buy a GCW, and when I had one I can port the radio player for it.

marcos.souza (OP)

  • *
  • Posts: 39
Re: Radio for OpenDingux
« Reply #17 on: October 12, 2012, 09:25:25 pm »
Hi all,

After release the version 0.2.1, I saw some erros when trying to make a seek after run in background.

This error was fixed.

So, if your version has this bug, you just have to download again for the link https://github.com/downloads/marcosps/radio_player/radio_player_v0.2.1.tar.gz and be happy :)

sbrick

  • Posts: 4
Re: Radio for OpenDingux
« Reply #18 on: December 20, 2012, 02:29:10 am »
Hello, trying to get this to work with no luck. When I try to launch it just sends me back to gmenu. I extracted the radio_player dir and put it on my sd and made a link to radio.dge as per instructions. I'm wondering if their is something obvious I may be missing.

marcos.souza (OP)

  • *
  • Posts: 39
Re: Radio for OpenDingux
« Reply #19 on: January 04, 2013, 03:15:11 pm »
Hi sbrick!

Sorry for the delay in response!

Do you still have problems with the radio, or did you solve this issue?

 

Post a new topic