Dingoonity.org

Dingux (Dingoo Linux) => Development => Topic started by: sloopy2 on May 20, 2010, 08:02:33 pm

Title: Mpd port with gmenu2x controls
Post by: sloopy2 on May 20, 2010, 08:02:33 pm
Hi guys,

I got my dingoo a month ago. Its a real cool thing to have.  :)
Well I started using dingux and messed a bit with the toolchain.
I saw a thread here where someone asked for a way to listen to music while playing games.
So here we go

mpd for dingux  :D

Its just a "quick" port mp3 and ogg vorbis are supported.
I added some very simple scripts to control the mpd server with gmenu2x.
There should be a new section to control playback of your music if you have gmenu2x installed (I use the santino local pack).

link (http://ul.to/a8v9gr)

greetings from Germany   
Title: Re: Mpd port with gmenu2x controls
Post by: SiENcE on May 20, 2010, 10:47:36 pm
Hi,

really cool. Why not adding this directly to gmenu2x?

greetz
Title: Re: Mpd port with gmenu2x controls
Post by: zolini on May 21, 2010, 10:05:16 pm
I do not know if my stupidity, but until now I could not rotate it ... Where do I put the songs? It seems he did a "search" in the first time I went to use it, but since then not hear any music... :-[
Title: Re: Mpd port with gmenu2x controls
Post by: SiENcE on May 22, 2010, 04:47:07 pm
One Question.

How do i stop (not pause) songs?

How do quit Mdp (remove from ram)?
Title: Re: Mpd port with gmenu2x controls
Post by: RodrigoCard on May 22, 2010, 09:13:42 pm
One Question.

How do i stop (not pause) songs?

How do quit Mdp (remove from ram)?

remember killall? :D

"killall mdp"

or something like this =)
Title: Re: Mpd port with gmenu2x controls
Post by: conso on May 29, 2010, 12:45:46 am
Would be even better, if someone ported that gp2x/wiz mpd-client ;)

I love mpd's networking capabilities, sad those don't make that much sense on the dingoo ;)
Title: Re: Mpd port with gmenu2x controls
Post by: ruffnutts on June 05, 2010, 09:03:44 am
So how do you use this?

EDIT: Egnore that sorted lol need some icons for it though play /pause ect  ;)
Title: Re: Mpd port with gmenu2x controls
Post by: saturday-times on June 08, 2010, 06:54:05 pm
any way to get a GUI for this? It'd be nice to be able to see which songs are in the playlist and be able to sort through them instead of adding them in a certain order. Also a stop/exit feature would be nice too. Great release though, I've been waiting for something like this for a long time. It finally prompted me to upgrade to an 8 gb card. thanks so much

edit: anyone else experiencing finicky playback with this program? I can only seem to get it  to play one file and sometimes it doesn't even play that.
Title: Re: Mpd port with gmenu2x controls
Post by: sloopy2 on June 11, 2010, 03:21:24 pm
Hi Guys,

Sorry for being away for some time.
I am a bit busy at the moment.
As soon as I have time for things like this I will try to port ommpc (mpd player from the gp2x).
I did add some new scripts too well its still not very fancy but it works for now.

Download (http://ul.to/brex27)

Title: Re: Mpd port with gmenu2x controls
Post by: SiENcE on June 11, 2010, 03:43:40 pm
Nice.
Title: Re: Mpd port with gmenu2x controls
Post by: saturday-times on June 14, 2010, 01:12:28 pm
thanks for the update, exciting stuff.

still having issues though: the 'mpd' and 'playlist' scripts both just launch a blank terminal that won't kick back into the menu and require a reset. still having the same issues with playback, it doesn't seem to play any of my mp3 files now.
Title: Re: Mpd port with gmenu2x controls
Post by: sloopy2 on June 14, 2010, 06:50:05 pm
The playlist script stays open until you press start ;-).
If you are starting mpd for the first time it takes a while to finish.

Do you have a linux PC?
You could connect to the dingoos mpd trough usb network  ;D works pretty well.

My scripts are a bit buggy but once you setup an playlist it works good enough for me.  ;)

Title: Re: Mpd port with gmenu2x controls
Post by: m123 on February 25, 2011, 02:21:52 pm
sounds cool, but link is broken, alternative? thanx. m123
Title: Re: Mpd port with gmenu2x controls
Post by: jmi on April 14, 2011, 07:38:06 pm
Mpd for dingux sounds great! But I'm not able to find any working links, can anyone help?
Title: Re: Mpd port with gmenu2x controls
Post by: sloopy2 on April 17, 2011, 01:28:46 pm
I uploaded the player to the dingoo file archive. If you have some questions just ask. I will try to help you. 


http://dl.openhandhelds.org/cgi-bin/dingoo.cgi?0,0,0,0,6,490

Have fun and a nice Sunday
Title: Re: Mpd port with gmenu2x controls
Post by: jmi on April 18, 2011, 01:55:17 pm
awesome, thanks alot!
Title: Re: Mpd port with gmenu2x controls
Post by: SilverhawkBR on April 21, 2011, 02:49:47 am
Altough i added a music using the addsong, i cant seen to play it.

I know, i have to do in the following order:

mpd > addsong > (add son to playlist i suppose) > play

But this doesnt seem to be working.

An "remove song" just displays "Launching remove song", and i have to restart the wholoe thing.

Ideas? Really wanted a background player on dingux.

(im using sience's kernel with swap, if someone could send me the main script with automatic swap enabling, i would be greatily apreciated)
Title: Re: Mpd port with gmenu2x controls
Post by: sloopy2 on April 21, 2011, 04:08:54 pm
Hmm if I do exactly the same like you it starts playing my song.
Try something like clear plalist and update database maybe it will work then.

edit: Maybe your volume is just set to 0?
Title: Re: Mpd port with gmenu2x controls
Post by: SilverhawkBR on April 21, 2011, 04:58:30 pm
After editing addsong parameters and erasing "parameters" and "directory" along with disabling browser, it works. Thing is, it doesnt add a song, it adds the entire SD card, which includes game sounds and other things...

I cant add a especific sound, if i try, it returns me an error on the log:

error:directory or file not found

And when i look in parameter under edit addsong, there is a file path with some strange backslashes (like double ones)

Ideas? I tried it when it added the whole SD card, it works very well, congrats.

And del song doesnt work, just freezes when launched.
Title: Re: Mpd port with gmenu2x controls
Post by: jmi on April 29, 2011, 10:25:54 am
Though your mpc shortcuts work, I decided to write a little pygame based client myself (after helplessly trying to port ncmpc) :)
So far it works on my desktop running mpd, but I am not able to get id3 infos from your mpd port. Is it my mistake or are filenames all i will ever get from it?

Regards jmi
Title: Re: Mpd port with gmenu2x controls
Post by: SilverhawkBR on April 29, 2011, 06:06:48 pm
I think it doesnt read id3 tag  ::)
Title: Re: Mpd port with gmenu2x controls
Post by: sloopy2 on May 01, 2011, 09:53:14 am
Are you running your Programm on PC and connect throw usb network to your dingoo?
Because when I do that with ncmpc it runs fine.
I just somehow lost my dingoo :D. A client for the dingoo would be so awesome.
I will try to help you as much as I can.

lg freddy
Title: Re: Mpd port with gmenu2x controls
Post by: SilverhawkBR on May 03, 2011, 06:57:33 pm
I messed around a little more with the addsong script in it, but i still cant add a specific song. =P

It just adds the whole SD card or nothing  :P
Title: Re: Mpd port with gmenu2x controls
Post by: jmi on May 07, 2011, 01:36:40 pm
Hey guys,

I finally found the time to wrap up my mpd client. It's pygame based and beta so far. I thought you guys could help me out testing it before uploading it to the dingoo file archive. Please send me comments and bug reports per PM.

Link: http://rapidshare.com/files/461104140/mudda-v0.1-beta-20110507.tar.gz

Edit:

I just wrapped up my first release, including all dependencies except pygame. I also added the ability to change the volume.

Link: https://rapidshare.com/files/2683923004/mudda-v0.1-20110512.tar.gz

Regards jmi
Title: IGS
Post by: jose2010 on June 27, 2011, 05:05:34 am


Hello,
Desde la empresa, ya estamos brindando soluciones de IGS (http://www.igs.com.ar/) M?vil Geolocalizada para Iphone y Android.Mediante la creaci?n de capas de datos geoposicionados, podemos mostrar cientos de puntos de Inter?s que se encuentren a nuestro alrededor, hacer juegos de b?squeda del tesoro, y visitas guiadas para lugares abiertos. http://igs.com.ar (http://igs.com.ar)

Title: Re: Mpd port with gmenu2x controls
Post by: SilverhawkBR on June 27, 2011, 05:40:14 pm
Ban. Probably a bot.