![]() |
[Request] Single audio file player widget for jokes
Hi everyone. I was wondering if anyone could do me the big favor of developing a tiny desktop widget(probably just a 'play' button) for the N900 with the sole purpose of playing back a single user-selected audio clip once. Nothing more, nothing less.
I want it just for good timing. Ever thought about cricket noises after a friend tells a bad joke? That's pretty much the only reason I would like to see this happen. Of course given the option to change the sound and anyone can come up with any sound for any kind of moment. It's corny, but it could be fun! :D |
Re: [Request] Single audio file player widget for jokes
You know...
.. You could just make your own simple one? Use Queen beecon widget or a simple script and make an icon? Something easy like that? Find a command line audio player and the rest is history! |
Re: [Request] Single audio file player widget for jokes
Ok, I couldn't sleep today and lack of skills in python programming didn't stop me from writing that :P It's really in very beta-stage (as I said in previous sentence, this is my first code written in Python), so it could not install (app manager shows 2.3 mb of space needed - wtf? Both files have less, than 2 kb :P) or kill all you widgets from desktop... But for me it worked ;) And after reboot or removing widget from desktop and adding once again - you need to click on settings and show it music file it should play. I can assure you it plays wav files, haven't tried different, it's 4:20 AM in here... It plays basically everything, which command "play-sound" can play (it uses it). These are basically just two files:
/usr/lib/hildon-desktop/mmmaudiowidget.py /usr/share/applications/hildon-home/mmmaudiowidget.desktop Source of the first one (the important one) is as follows: Code:
import gtk |
Re: [Request] Single audio file player widget for jokes
I made some changes (can add more buttons and configure their size - yay!) and created garage account, now I'm waiting for acceptance of extras-devel access, so soon you should be able to install it via app manager. I will inform you in this thread as soon as it happens ;)
|
Re: [Request] Single audio file player widget for jokes
See thread http://talk.maemo.org/showthread.php?p=994750 for widget ;) I will inform everyone there as soon as widget will be available in extras-devel.
|
All times are GMT. The time now is 10:33. |
vBulletin® Version 3.8.8