Re: Intone (0.20 - alpha release) Elementary based mplayer frontend

2009-05-17 Thread c_c

Hi,
  Here's the latest version 0.50. Changes :-

 * random play
 * seek-back button now seeks to 0 on the first press
 * next press goes plays the last song
 * better (imo) no album art image

 There have been quite a few code changes with the random play feature.
There might be things that don't work as expected with the random mode.
Feedback is welcome!
 Have also sorted out the state table error introduced in the last release.
 The svn has the latest code and all the images. I'm not particularly happy
with the shuffle icon and need a normal play mode icon too. Any artist on
the ML who can help?
 
-- 
View this message in context: 
http://n2.nabble.com/Intone-%280.45-beta%29-Elementary-mplayer-frontend---updated-14-May-tp2587826p2918935.html
Sent from the Openmoko Community mailing list archive at Nabble.com.


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Intone (0.20 - alpha release) Elementary based mplayer frontend

2009-05-15 Thread Marcel
Am Donnerstag, 14. Mai 2009 18:26:36 schrieb c_c:
 Hi,
   Here's the latest version of intone. Main changes :-

  * Settings page to set bass, treble [...]

THAT is nice! :)

--
Marcel

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Intone (0.20 - alpha release) Elementary based mplayer frontend

2009-05-15 Thread Thomas Zimmermann
Hi,
there is a discussion on the shr-user mailinglist to add intone as default mp3 
player to the full image.
But to do this it's nesecary that the current version in the svn builds.

So it would be nice if you commit only code that builds to the svn und add the 
images used in intone and the .desktop file to the svn.

greets

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Intone (0.20 - alpha release) Elementary based mplayer frontend

2009-05-15 Thread c_c

Hi,

Thomas Zimmermann wrote:
 
So it would be nice if you commit only code that builds to the svn und add
the 
images used in intone and the .desktop file to the svn.
 
  Sorry for the current state. The last commit somehow scrambled the header
files. Will be committing the working files tonight.
  I'll also add the images and the desktop file in a resources folder. Wish
I could help with the .bb file too.
Thanks.
-- 
View this message in context: 
http://n2.nabble.com/Intone-%280.45-beta%29-Elementary-mplayer-frontend---updated-14-May-tp2587826p2908999.html
Sent from the Openmoko Community mailing list archive at Nabble.com.


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Intone (0.20 - alpha release) Elementary based mplayer frontend

2009-05-15 Thread Klaus 'mrmoku' Kurzmann
Am Freitag 15 Mai 2009 19:27:58 schrieb c_c:
 Hi,

 Thomas Zimmermann wrote:
 So it would be nice if you commit only code that builds to the svn und
  add

 the

 images used in intone and the .desktop file to the svn.

   Sorry for the current state. The last commit somehow scrambled the header
 files. Will be committing the working files tonight.
   I'll also add the images and the desktop file in a resources folder. Wish
 I could help with the .bb file too.
I did a bb for SHR... so no problem :) For now I extracted the icons from the 
ipk and did a patch to make it build ;) Looking forward to drop that again 
though.

 Thanks.

Thank you
-- 

Klaus 'mrmoku' Kurzmann

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Intone (0.20 - alpha release) Elementary based mplayer frontend

2009-05-15 Thread kimaidou
hum hu, and have you found a way to create a deb package, or the
elemetary lib is still missing ?

Thx in advance

2009/5/15, c_c cchan...@yahoo.com:

 Hi,

  Ok. Done. Latest working code in the svn. All image files, icon and
 .desktop file in a directory called resources under trunk.

 --
 View this message in context:
 http://n2.nabble.com/Intone-%280.45-beta%29-Elementary-mplayer-frontend---updated-14-May-tp2587826p2909047.html
 Sent from the Openmoko Community mailing list archive at Nabble.com.


 ___
 Openmoko community mailing list
 community@lists.openmoko.org
 http://lists.openmoko.org/mailman/listinfo/community


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Intone (0.20 - alpha release) Elementary based mplayer frontend

2009-05-15 Thread c_c

Hi,

kimaidou wrote:
 
hum hu, and have you found a way to create a deb package, or the
elemetary lib is still missing ?
 
 I can make deb packages now - but with the elementary libs missing that
wont help at all. I guess we'll have to wait for elementary to be packaged
as deb's.
 Unless you can get elementary installed from the svn compile by trevino.
 Let me know.
-- 
View this message in context: 
http://n2.nabble.com/Intone-%280.45-beta%29-Elementary-mplayer-frontend---updated-14-May-tp2587826p2911004.html
Sent from the Openmoko Community mailing list archive at Nabble.com.


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Intone (0.20 - alpha release) Elementary based mplayer frontend

2009-05-14 Thread c_c

Hi,
  Here's the latest version of intone. Main changes :-

 * Settings page to set bass, treble, ui size and playlist looping
 * Album art view toggle. Save the album art image as 'cover.jpg' in the
songs directory.
 * prevent suspend during playing
 * pause on incoming call

 Needs the newer e libraries. Tested on SHR-unstable and openmoko unstable.
 Deb package will follow soon.
 
 Comments / feedback welcome.

http://n2.nabble.com/file/n2894629/intone_0.45_arm.ipk intone_0.45_arm.ipk 
-- 
View this message in context: 
http://n2.nabble.com/Intone-%280.45-beta%29-Elementary-mplayer-frontend---updated-14-May-tp2587826p2894629.html
Sent from the Openmoko Community mailing list archive at Nabble.com.


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Intone (0.20 - alpha release) Elementary based mplayer frontend

2009-05-14 Thread OpenMitko
Great job, CC.
This is my dream player!

Thanks a lot!

2009/5/14 c_c cchan...@yahoo.com


 Hi,
  Here's the latest version of intone. Main changes :-

  * Settings page to set bass, treble, ui size and playlist looping
  * Album art view toggle. Save the album art image as 'cover.jpg' in the
 songs directory.
  * prevent suspend during playing
  * pause on incoming call

  Needs the newer e libraries. Tested on SHR-unstable and openmoko unstable.
  Deb package will follow soon.

  Comments / feedback welcome.

 http://n2.nabble.com/file/n2894629/intone_0.45_arm.ipk intone_0.45_arm.ipk
 --
 View this message in context:
 http://n2.nabble.com/Intone-%280.45-beta%29-Elementary-mplayer-frontend---updated-14-May-tp2587826p2894629.html
 Sent from the Openmoko Community mailing list archive at Nabble.com.


 ___
 Openmoko community mailing list
 community@lists.openmoko.org
 http://lists.openmoko.org/mailman/listinfo/community

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Intone (0.20 - alpha release) Elementary based mplayer frontend

2009-05-14 Thread c_c

Hi,

 Aargh!!!
 I Forgot to modify the state table in the database. Will post an updated
package tomorrow. Till then, if you don't have complicated playlists, do the
following :-
 1. ssh to the FR
 2. cd /home/root/.intone
 3. delete intone_songs.db
 4. exit

  Start intone - it will create a new database. Add files again and you're
ready to go.
  
  Without this - you might end up losing data from your db. And, probably,
wont be able to change the ui size and playlist looping.

  
-- 
View this message in context: 
http://n2.nabble.com/Intone-%280.45-beta%29-Elementary-mplayer-frontend---updated-14-May-tp2587826p2895009.html
Sent from the Openmoko Community mailing list archive at Nabble.com.


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Intone (0.20 - alpha release) Elementary based mplayer frontend

2009-05-14 Thread Cameron Frazier
Nice work c_c!

I like the way the interface is developing, simple and clean.

I have a couple suggestions, if I may:

1) A Random option to complement the new Loop

The rational for this is obvious I think.

2) Having the back button (|) act as follows:
if t  0  ) Reset first to the beginning of the track
if t == 0 ) Skip to the previous song

This is from experiencing how other media players
operate, and also from the annoyance of being 
interrupted and missing part of a song, and having to
use the slider to scroll back to the start.

Again, great work!  I use it all the time.

Kind regards,


Toaster`


signature.asc
Description: This is a digitally signed message part
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Intone (0.20 - alpha release) Elementary based mplayer frontend

2009-05-11 Thread jeremy jozwik
i was on shr-testing 20090422 when that issue was present. have yet to
try on 20090502. -10? that is beyond me

On Sun, May 10, 2009 at 7:18 PM, c_c cchan...@yahoo.com wrote:

  What distribution are you using? It works quite ok for me on SHR-unstable
 but I'll change the runlevel in the upcoming release. Would -10 be OK?

 View this message in context: 
 http://n2.nabble.com/Intone-%280.40---beta-pre%29-Elementary-mplayer-frontend-%28NEW-test-.deb-package%29-tp2587826p2860868.html
 Sent from the Openmoko Community mailing list archive at Nabble.com.


 ___
 Openmoko community mailing list
 community@lists.openmoko.org
 http://lists.openmoko.org/mailman/listinfo/community


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Intone (0.20 - alpha release) Elementary based mplayer frontend

2009-05-10 Thread c_c

Hi,
 I've been down this weekend with an upset stomach - so no work done
towards releasing intone. Hopefully, I should be able to release in the next
few days.

@jeremy jozwik
is there anything you can do about the audio cutting in and out with
opening applications or while the device is going into auto-dimming
while playing?
 What distribution are you using? It works quite ok for me on SHR-unstable
but I'll change the runlevel in the upcoming release. Would -10 be OK?


Petr Vanek wrote:
 
 do you play your content from nand or from usd card? i have this issue
 too but only when playing from usd card. perhaps some kind of buffer
 would help seems like mplayer does have such an option, has anyone
 tried this?
 
 I don't know of a mplayer buffer for audio output except one that is now 
obsolete (-abs). 

 Could you both try 'renice -10 pid of mplayer' and see if this improves
performance? I'm running mplayer with default priority of 1 as of now.

-- 
View this message in context: 
http://n2.nabble.com/Intone-%280.40---beta-pre%29-Elementary-mplayer-frontend-%28NEW-test-.deb-package%29-tp2587826p2860868.html
Sent from the Openmoko Community mailing list archive at Nabble.com.


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Intone (0.20 - alpha release) Elementary based mplayer frontend

2009-05-09 Thread Petr Vanek
On Fri, 8 May 2009 16:50:27 -0700
jeremy jozwik jerjoz.for...@gmail.com (JJ) wrote:

is there anything you can do about the audio cutting in and out with
opening applications or while the device is going into auto-dimming
while playing?

do you play your content from nand or from usd card? i have this issue
too but only when playing from usd card. perhaps some kind of buffer
would help seems like mplayer does have such an option, has anyone
tried this?

Petr


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Intone (0.20 - alpha release) Elementary based mplayer frontend

2009-05-08 Thread c_c

Hi,

Christian Gagneraud wrote:
 
hum doesn't work with om 2009
 
can you post the error?

Christian Gagneraud wrote:
 
Thank you for your work, it looks cute!
 
 You're Welcome.

@kimaidou - Here's the deb package. I haven't checked it on my phone (since
I don't have debian) and I haven't added any dependencies cause I don't know
what the packages are called. So can you tell me the full names of the
following packages on debian ?
  -elementary (providing libelementary)
  -mplayer
  -sqlite3 

http://n2.nabble.com/file/n2843962/intone-0.40.deb intone-0.40.deb 

@Marcel-2 - I'm not sure what you mean. I've made a deb package for
installing intone on a debian system. I hope the latest versions of
elementary are available for debian. This version needs the newer libraries.

@Yorick Moko - You're using a distribution with the older libraries. The
newer libraries use names like 'libehal-ver-pre-01.so.0'. I'll release a ipk
for the older libraries soon.
-- 
View this message in context: 
http://n2.nabble.com/Intone-%280.40---beta-pre-release%29-Elementary-based-mplayer-frontend-tp2587826p2843962.html
Sent from the Openmoko Community mailing list archive at Nabble.com.


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Intone (0.20 - alpha release) Elementary based mplayer frontend

2009-05-08 Thread kimaidou
Hi c_c

Thanks for the link. I tryed to download it via wget, then install it with
dpk -i, but it failed :
debian-gta02:~# dpkg -i intone-0.40.deb
dpkg-deb: unexpected end of file in header info member in intone-0.40.deb
dpkg: error processing intone-0.40.deb (--install):
 subprocess dpkg-deb --control returned error exit status 2
Errors were encountered while processing:
 intone-0.40.deb

It seems the header of the deb file is wrong

2009/5/8 c_c cchan...@yahoo.com


 Hi,

 Christian Gagneraud wrote:
 
 hum doesn't work with om 2009
 
 can you post the error?

 Christian Gagneraud wrote:
 
 Thank you for your work, it looks cute!
 
  You're Welcome.

 @kimaidou - Here's the deb package. I haven't checked it on my phone (since
 I don't have debian) and I haven't added any dependencies cause I don't
 know
 what the packages are called. So can you tell me the full names of the
 following packages on debian ?
  -elementary (providing libelementary)
  -mplayer
  -sqlite3

 http://n2.nabble.com/file/n2843962/intone-0.40.deb intone-0.40.deb

 @Marcel-2 - I'm not sure what you mean. I've made a deb package for
 installing intone on a debian system. I hope the latest versions of
 elementary are available for debian. This version needs the newer
 libraries.

 @Yorick Moko - You're using a distribution with the older libraries. The
 newer libraries use names like 'libehal-ver-pre-01.so.0'. I'll release a
 ipk
 for the older libraries soon.
 --
 View this message in context:
 http://n2.nabble.com/Intone-%280.40---beta-pre-release%29-Elementary-based-mplayer-frontend-tp2587826p2843962.html
 Sent from the Openmoko Community mailing list archive at Nabble.com.


 ___
 Openmoko community mailing list
 community@lists.openmoko.org
 http://lists.openmoko.org/mailman/listinfo/community

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Intone (0.20 - alpha release) Elementary based mplayer frontend

2009-05-08 Thread Marcel
Am Freitag, 8. Mai 2009 09:25:03 schrieb c_c:
 @kimaidou - Here's the deb package. I haven't checked it on my phone
 (since I don't have debian) and I haven't added any dependencies cause
 I don't know what the packages are called. So can you tell me the full
 names of the following packages on debian ?
   -elementary (providing libelementary)
   -mplayer
   -sqlite3

 http://n2.nabble.com/file/n2843962/intone-0.40.deb intone-0.40.deb

 @Marcel-2 - I'm not sure what you mean. I've made a deb package for
 installing intone on a debian system. I hope the latest versions of
 elementary are available for debian. This version needs the newer
 libraries.

That's the trick about it: There's no official elementary debian package 
yet and Mirko (?) told me some days ago on #openmoko that the python 
bindings aren't that good yet, either. (Correct my if I remember wrong) So 
the only choice is to build elm by hand since the new set of e17 packages 
which is in preparation at the moment (Joachim Breitner is working on them 
afaik, see pkg-e-devel mailinglist) doesn't contain elm yet.

--
Marcel

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Intone (0.20 - alpha release) Elementary based mplayer frontend

2009-05-08 Thread Christian Gagneraud
c_c wrote:
 Hi,
 
 Christian Gagneraud wrote:
 hum doesn't work with om 2009
 can you post the error?

Simple, mplayer and other dependencies are not in the default feeds 
(http://downloads.openmoko.org/repository/testing)

As already stated, i managed to install everything by following 
Kustomizer for OM2009 instructions (http://etherpad.com/zt3x1x7ERX)

Chris

 
 Christian Gagneraud wrote:
 Thank you for your work, it looks cute!
  You're Welcome.
 
 @kimaidou - Here's the deb package. I haven't checked it on my phone (since
 I don't have debian) and I haven't added any dependencies cause I don't know
 what the packages are called. So can you tell me the full names of the
 following packages on debian ?
   -elementary (providing libelementary)
   -mplayer
   -sqlite3 
 
 http://n2.nabble.com/file/n2843962/intone-0.40.deb intone-0.40.deb 
 
 @Marcel-2 - I'm not sure what you mean. I've made a deb package for
 installing intone on a debian system. I hope the latest versions of
 elementary are available for debian. This version needs the newer libraries.
 
 @Yorick Moko - You're using a distribution with the older libraries. The
 newer libraries use names like 'libehal-ver-pre-01.so.0'. I'll release a ipk
 for the older libraries soon.


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Intone (0.20 - alpha release) Elementary based mplayer frontend

2009-05-08 Thread jeremy jozwik
is there anything you can do about the audio cutting in and out with
opening applications or while the device is going into auto-dimming
while playing?

On Fri, May 8, 2009 at 7:48 AM, Christian Gagneraud
cgagner...@techworks.ie wrote:
 c_c wrote:
 Hi,

 Christian Gagneraud wrote:
 hum doesn't work with om 2009
 can you post the error?

 Simple, mplayer and other dependencies are not in the default feeds
 (http://downloads.openmoko.org/repository/testing)

 As already stated, i managed to install everything by following
 Kustomizer for OM2009 instructions (http://etherpad.com/zt3x1x7ERX)

 Chris


 Christian Gagneraud wrote:
 Thank you for your work, it looks cute!
  You're Welcome.

 @kimaidou - Here's the deb package. I haven't checked it on my phone (since
 I don't have debian) and I haven't added any dependencies cause I don't know
 what the packages are called. So can you tell me the full names of the
 following packages on debian ?
   -elementary (providing libelementary)
   -mplayer
   -sqlite3

 http://n2.nabble.com/file/n2843962/intone-0.40.deb intone-0.40.deb

 @Marcel-2 - I'm not sure what you mean. I've made a deb package for
 installing intone on a debian system. I hope the latest versions of
 elementary are available for debian. This version needs the newer libraries.

 @Yorick Moko - You're using a distribution with the older libraries. The
 newer libraries use names like 'libehal-ver-pre-01.so.0'. I'll release a ipk
 for the older libraries soon.


 ___
 Openmoko community mailing list
 community@lists.openmoko.org
 http://lists.openmoko.org/mailman/listinfo/community


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Intone (0.20 - alpha release) Elementary based mplayer frontend

2009-05-07 Thread Christian Gagneraud
c_c wrote:
 Hi,
   Well, it took a lot longer than I thought - but finally  - here's the alpha 
 release of Intone - a mplayer frontend (for audio files - as of now) in C. 
 Uses about 2% CPU (max) while running - memory goes up depending on your 
 playlist - on my phone (~2500 songs) it uses about 15%.
   All you need to do is download the attached ipk and install it. Intone 
 depends on sqlite3 and libelementary. If you have elementary on your phone 
 upgraded to a level where the elementary test application shows you a demo of 
 sliders and genlists, Intone should run on your phone.
   The recommended way to organise music is to put all the files in a folder 
 (lets say Music), with sub folders named after artists (say Music -Eagles) 
 and with sub sub folders holding albums (that becomes Music-Eagles-Hell 
 Freezes Over-*.mp3). That way, Intone can correctly organise your music 
 collection into albums. It automatically creates a default playlist 
 containing all songs and individual playlists for each album. I have added 
 features to manage playlists and albums - but there is always scope for 
 improvement.
   Intone uses a sqlite database as a backend for the playlists and albums. 
 That should, hopefully, give flexibility in adding more features later.

Hi,

hum.. stupid question: Where do you get the dependencies from? 
(mplayer, codecs, etc...). I'm using OM 2009 testing release 2.

Thanks,
Chris

   
Things that don't work as of now :-
 
 1. Feedback. - I haven't been able to add dialogs yet. So - wait a little 
 while for Intone to finish long operations (like adding your music collection 
 for the first time - my 2500 odd songs took about 6 secs - the button remains 
 pressed too)
 2. Dialogs for deleting stuff. It's safe - Intone does not delete any files - 
 but it does delete tables(albums and playlists) - and it doesn't yet ask for 
 confirmation.
 3. Seek. Dont know how to use the slider for seeking. Any Ideas?
 4. DBUS. - Haven't gotten around to learning edbus - so no occupy resouce CPU 
 or pause on incoming calls yet. Will take some more time.
 5. Album art and lyrics. - Don't yet know the best way to go about doing this 
 other than downloading art from some retailers etc. Ideas welcome.
 6. Toggle View. Not working yet. I intend having 2 more views - Album Art and 
 Lyrics.
 
   I'm also looking at adding support for the button that the standard 
 handsfree has - as a volume control (3 preselcted levels in rotation) or to 
 go to next song (1 click) and prev song (2 clicks). Any suggestions?
 
   Since I also have half a podcast manager built (which I couldn't finish in 
 time for the competition) - I'm also looking at adding that support in the 
 future.
 
   Feedback Required
 1. Bug reports.
 2. Artwork - Ideas / png's / whatever
 3. Elementary help. I have a lot of questions. Here are a few :-
 a) How do I reduce the vert height of 1 entry in the genlist? Right now 
 each line in the list is too high (almost 3 text lines high) - so I get only 
 about 4 song names on the screen. Can I reduce the height to say 1.5 text 
 line - 2 text line?
 b) How do I use the pager with a genlist? In my case the pager works - 
 but it doesn't show the genlist - the buttons all show up though.
 c) Dialogs and progress bars. I know elementary doesn't have them - but 
 can I make/have a simple ty solution for the time being?
 
 Oh! And I'm only adding .oga, .mp3, .m4a and wma files into the albums. Any 
 other types I need to add?
 
 I'll upload the code to intone.googlecode.com soon. 
 All feedback welcome. Thanks.
 intone_0.20_arm.ipk 


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Intone (0.20 - alpha release) Elementary based mplayer frontend

2009-05-07 Thread Yorick Moko
it won't run here:

r...@om-gta02 ~ $ opkg install http://n2.nabble.com/file/n2825510/intone_0.40-pr
e_arm.ipk
Downloading http://n2.nabble.com/file/n2825510/intone_0.40-pre_arm.ipk
Multiple packages (intone and intone) providing same name marked HOLD
or PREFER.  Using latest.
Multiple packages (intone and intone) providing same name marked HOLD
or PREFER.  Using latest.
Upgrading intone on root from 0.30 to 0.40-pre...
Collected errors:
 * ERROR: Cannot satisfy the following dependencies for intone:
 *  elementary *
r...@om-gta02 ~ $ opkg install http://n2.nabble.com/file/n2825510/intone_0.40-pr
e_arm.ipk -force-depends
Downloading http://n2.nabble.com/file/n2825510/intone_0.40-pre_arm.ipk
Multiple packages (intone and intone) providing same name marked HOLD
or PREFER.  Using latest.
Multiple packages (intone and intone) providing same name marked HOLD
or PREFER.  Using latest.
Upgrading intone on root from 0.30 to 0.40-pre...
Configuring intone
Collected errors:
 * Warning: Cannot satisfy the following dependencies for intone:
 *  elementary *
r...@om-gta02 ~ $ DISPLAY=:0 intone
intone: error while loading shared libraries: libehal-ver-pre-01.so.0:
cannot open shared object file: No such file or directory



On Thu, May 7, 2009 at 12:08 PM, Christian Gagneraud
cgagner...@techworks.ie wrote:
 c_c wrote:
 Hi,
   Well, it took a lot longer than I thought - but finally  - here's the 
 alpha release of Intone - a mplayer frontend (for audio files - as of now) 
 in C. Uses about 2% CPU (max) while running - memory goes up depending on 
 your playlist - on my phone (~2500 songs) it uses about 15%.
   All you need to do is download the attached ipk and install it. Intone 
 depends on sqlite3 and libelementary. If you have elementary on your phone 
 upgraded to a level where the elementary test application shows you a demo 
 of sliders and genlists, Intone should run on your phone.
   The recommended way to organise music is to put all the files in a folder 
 (lets say Music), with sub folders named after artists (say Music -Eagles) 
 and with sub sub folders holding albums (that becomes Music-Eagles-Hell 
 Freezes Over-*.mp3). That way, Intone can correctly organise your music 
 collection into albums. It automatically creates a default playlist 
 containing all songs and individual playlists for each album. I have added 
 features to manage playlists and albums - but there is always scope for 
 improvement.
   Intone uses a sqlite database as a backend for the playlists and albums. 
 That should, hopefully, give flexibility in adding more features later.

 Hi,

 hum.. stupid question: Where do you get the dependencies from?
 (mplayer, codecs, etc...). I'm using OM 2009 testing release 2.

 Thanks,
 Chris


    Things that don't work as of now :-

 1. Feedback. - I haven't been able to add dialogs yet. So - wait a little 
 while for Intone to finish long operations (like adding your music 
 collection for the first time - my 2500 odd songs took about 6 secs - the 
 button remains pressed too)
 2. Dialogs for deleting stuff. It's safe - Intone does not delete any files 
 - but it does delete tables(albums and playlists) - and it doesn't yet ask 
 for confirmation.
 3. Seek. Dont know how to use the slider for seeking. Any Ideas?
 4. DBUS. - Haven't gotten around to learning edbus - so no occupy resouce 
 CPU or pause on incoming calls yet. Will take some more time.
 5. Album art and lyrics. - Don't yet know the best way to go about doing 
 this other than downloading art from some retailers etc. Ideas welcome.
 6. Toggle View. Not working yet. I intend having 2 more views - Album Art 
 and Lyrics.

   I'm also looking at adding support for the button that the standard 
 handsfree has - as a volume control (3 preselcted levels in rotation) or to 
 go to next song (1 click) and prev song (2 clicks). Any suggestions?

   Since I also have half a podcast manager built (which I couldn't finish in 
 time for the competition) - I'm also looking at adding that support in the 
 future.

   Feedback Required
 1. Bug reports.
 2. Artwork - Ideas / png's / whatever
 3. Elementary help. I have a lot of questions. Here are a few :-
     a) How do I reduce the vert height of 1 entry in the genlist? Right now 
 each line in the list is too high (almost 3 text lines high) - so I get only 
 about 4 song names on the screen. Can I reduce the height to say 1.5 text 
 line - 2 text line?
     b) How do I use the pager with a genlist? In my case the pager works - 
 but it doesn't show the genlist - the buttons all show up though.
     c) Dialogs and progress bars. I know elementary doesn't have them - but 
 can I make/have a simple ty solution for the time being?

 Oh! And I'm only adding .oga, .mp3, .m4a and wma files into the albums. Any 
 other types I need to add?

 I'll upload the code to intone.googlecode.com soon.
 All feedback welcome. Thanks.
 intone_0.20_arm.ipk


 

Re: Intone (0.20 - alpha release) Elementary based mplayer frontend

2009-05-07 Thread c_c

Hi,

Christian Gagneraud wrote:
 
hum.. stupid question: Where do you get the dependencies from? 
(mplayer, codecs, etc...). I'm using OM 2009 testing release 2.
 
 Well, to get mplayer just do a 'opkg install mplayer'. mplayer includes all
codecs it supports.
 There is an optimised version of mplayer (by paulTT) if you have a lot of
 ogg files here.[1] This will reduce CPU usage by about 50%.

[1]
http://www.paultt.org/downloads/openmoko/mplayer_dev-SVN-r29155-4.1.2-tremor-low_armv4t.ipk
-- 
View this message in context: 
http://n2.nabble.com/Intone-%280.40---beta-pre-release%29-Elementary-based-mplayer-frontend-tp2587826p2827184.html
Sent from the Openmoko Community mailing list archive at Nabble.com.


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Intone (0.20 - alpha release) Elementary based mplayer frontend

2009-05-07 Thread Christian Gagneraud
c_c wrote:
 Hi,
 
 Christian Gagneraud wrote:
 hum.. stupid question: Where do you get the dependencies from? 
 (mplayer, codecs, etc...). I'm using OM 2009 testing release 2.
  Well, to get mplayer just do a 'opkg install mplayer'. mplayer includes all
 codecs it supports.

hum doesn't work with om 2009, anyway, i followed the instructions at 
http://etherpad.com/zt3x1x7ERX, and now it's working!

Thank you for your work, it looks cute!


  There is an optimised version of mplayer (by paulTT) if you have a lot of
  ogg files here.[1] This will reduce CPU usage by about 50%.
 
 [1]
 http://www.paultt.org/downloads/openmoko/mplayer_dev-SVN-r29155-4.1.2-tremor-low_armv4t.ipk


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Intone (0.20 - alpha release) Elementary based mplayer frontend

2009-04-29 Thread Marco Trevisan (Treviño)
c_c wrote:
 Marco Trevisan (Treviño) wrote:
 c_c wrote:
 b) How do I use the pager with a genlist? In my case the pager works - but 
 it doesn't show the genlist - the buttons all show up though.
 Give a look to my eTube code in projects.openmoko.org. It has an
 implementation for it (BTW it works only in Illume WM, not in my
 standard system due to the fact that the window collapse without
 considering the preset evas size at all!)
 Yup ! Thats exactly what happened to me. OK - so I should try it on the FR. I 
 have the code for it commented out in gui.c. Will try it on the FR ASAP.

Ok, I've got this working also in a non-illume configuration. It was all
easy, you've just to use evas_object_size_hint_min_set() (and maybe also
the max correspondent) for setting the elm_bg min (max) size.
The pager won't touch it and it will work as expected ;).

See an example here [1].

[1]
http://dev.3v1n0.net/gitweb/?p=etube.git;a=commitdiff;h=51a3d7c92ab1e9d03bd74a2162c4bfda35299e8b

-- 
Treviño's World - Life and Linux
http://www.3v1n0.net/


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Intone (0.20 - alpha release) Elementary based mplayer frontend

2009-04-29 Thread c_c

Hi,

Marco Trevisan (Treviño) wrote:
 
 Ok, I've got this working also in a non-illume configuration. It was all
 easy, you've just to use evas_object_size_hint_min_set() (and maybe also
 the max correspondent) for setting the elm_bg min (max) size.
 The pager won't touch it and it will work as expected ;).
 
 Thanks. :-) Really easy once you know how!
-- 
View this message in context: 
http://n2.nabble.com/Intone-%280.30---beta-release%29-Elementary-based-mplayer-frontend-tp2587826p2744563.html
Sent from the Openmoko Community mailing list archive at Nabble.com.


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Intone (0.20 - alpha release) Elementary based mplayer frontend

2009-04-21 Thread Marco Trevisan (Treviño)
c_c wrote:
   2. Can I have a slider kind of menu coming in from the sides/bottom? I know 
 it can be done using evas - but I don't know how. That way I can shift out 
 the top 3 buttons (and more that I will add later) from the view so 
 increasing my view area - and yet have them available for use.

I don't know about animation, but if you want just to show the slider
when something is playing you have to add a box at the beginning, then
packing the data (sliders, labels...) there every time that is needed.
Then you can't simply hide them not to show them; you have to use
evas_object_del for each component of the box, and finally hide (not
delete) the box.

I've an implementation of this in eTube, give a look to my search-bar code.

-- 
Treviño's World - Life and Linux
http://www.3v1n0.net/


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Intone (0.20 - alpha release) Elementary based mplayer frontend

2009-04-13 Thread c_c

Hi,
  Here is the latest version of intone - 0.30. I've basically moved all lists 
to genlists and things have speeded up a little. Also lots of bug fixes - 
largely due to feedback from Yogiz and The Digital Pioneer.
 As always, feedback is more than welcome!

intone_0.30_arm.ipk 

-- 
View this message in context: 
http://n2.nabble.com/Intone-%280.20---alpha-release%29-Elementary-based-mplayer-frontend-tp2587826p2628408.html
Sent from the Openmoko Community mailing list archive at Nabble.com.


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Intone (0.20 - alpha release) Elementary based mplayer frontend

2009-04-13 Thread Cameron Frazier
c_c

Again, very nice.  I'm running with PaulTT's mplayer which includes
tremor, and performance is awesome.  Python/intone CPU load is ~4%,
and mplayer is ~9% when playing MP3's; ~4% and ~12% for ogg files.

Fantastic work to both you and PaulTT.

Cameron

On Mon, Apr 13, 2009 at 12:10 PM, c_c cchan...@yahoo.com wrote:

 Hi,
  Here is the latest version of intone - 0.30. I've basically moved all lists 
 to genlists and things have speeded up a little. Also lots of bug fixes - 
 largely due to feedback from Yogiz and The Digital Pioneer.
  As always, feedback is more than welcome!

 intone_0.30_arm.ipk

 --
 View this message in context: 
 http://n2.nabble.com/Intone-%280.20---alpha-release%29-Elementary-based-mplayer-frontend-tp2587826p2628408.html
 Sent from the Openmoko Community mailing list archive at Nabble.com.


 ___
 Openmoko community mailing list
 community@lists.openmoko.org
 http://lists.openmoko.org/mailman/listinfo/community


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Intone (0.20 - alpha release) Elementary based mplayer frontend

2009-04-13 Thread c_c

Hi,
 Glad you liked it!

Python/intone CPU load is ~4%, and mplayer is ~9% when playing MP3's; ~4% and 
~12% for ogg files.

  BTW - Intone is written in C and uses elementary - perhaps the biggest reason 
why its fast enough. Rasterman and co deserve kudos for their work on 
elementary too!
-- 
View this message in context: 
http://n2.nabble.com/Intone-%280.30---beta-release%29-Elementary-based-mplayer-frontend-tp2587826p2628588.html
Sent from the Openmoko Community mailing list archive at Nabble.com.


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Intone (0.20 - alpha release) Elementary based mplayer frontend

2009-04-13 Thread Cameron Frazier
ack, error on my part.  I was working on some python here and forgot
that intone was in C.  Thanks for the reminder!

Cameron

On Mon, Apr 13, 2009 at 12:48 PM, c_c cchan...@yahoo.com wrote:

 Hi,
  Glad you liked it!

 Python/intone CPU load is ~4%, and mplayer is ~9% when playing MP3's; ~4% and 
 ~12% for ogg files.

  BTW - Intone is written in C and uses elementary - perhaps the biggest 
 reason why its fast enough. Rasterman and co deserve kudos for their work on 
 elementary too!
 --
 View this message in context: 
 http://n2.nabble.com/Intone-%280.30---beta-release%29-Elementary-based-mplayer-frontend-tp2587826p2628588.html
 Sent from the Openmoko Community mailing list archive at Nabble.com.


 ___
 Openmoko community mailing list
 community@lists.openmoko.org
 http://lists.openmoko.org/mailman/listinfo/community


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Intone (0.20 - alpha release) Elementary based mplayer frontend

2009-04-11 Thread Yogiz
Hi,

I just installed Intone 0.24 and I have to say I am very very
impressed. So far I've used pythm which compared to his is incredibly
slow and constantly has problems with repeating, has very long pauses
between the songs ect. Very very big thank you to you. I can finally
normally listen to music on the FR : ). Keep on doing whatever it is you
are doing.

Yogiz

On Sat, 4 Apr 2009 23:59:35 -0700 (PDT)
c_c cchan...@yahoo.com wrote:

 
 Hi,
   Well, it took a lot longer than I thought - but finally  - here's
 the alpha release of Intone - a mplayer frontend (for audio files -
 as of now) in C. 
 ---snip

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Intone (0.20 - alpha release) Elementary based mplayer frontend

2009-04-11 Thread c_c

Hi,
@Yogiz - Thank you for your kind words. I was mostly scratching my own itch ;-) 
and it's nice to know that intone finds a place on your FR.

@ all - I'm soon going to release a new version that (to my satisfaction at 
least) will provide accurate seek position __and__ prevent the sometimes 
occurring lock ups at the end of a song.

I'm also looking for some dbus help. Actually, I think I'll post another thread 
on the help I need :-)

  There are 2 mysterious bugs remaining :- 
 1. an only black screen on running Intone on OM 2008.12
 2. hang on selecting next / prev when playing a song

  Are you facing these problems? Do let me know whatever you notice if you face 
these. Particularly on OM 2008.12. Thanks.

-- 
View this message in context: 
http://n2.nabble.com/Intone-%280.20---alpha-release%29-Elementary-based-mplayer-frontend-tp2587826p2623103.html
Sent from the Openmoko Community mailing list archive at Nabble.com.


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Intone (0.20 - alpha release) Elementary based mplayer frontend

2009-04-09 Thread Sebastian Hammerl
mmh, ok so i will have to update. thanks

c_c schrieb:
 Hi,

 Hi,
 I get the following error when starting with shr testing:
 intone: error while loading shared libraries: libecore_input.so.0:
 cannot open shared object file: No such file or directory

 You'll probably need to upgrade to shr-unstable. Intone needs the newer 
 releases of elementary (and enlightenment therefore).

  One check is to run the elementary tests application and see if the demos 
 for sliders and genlists are available. If not - upgrade to shr-unstable.

   

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Intone (0.20 - alpha release) Elementary based mplayer frontend

2009-04-09 Thread Sebastian Hammerl
mmh, ok so i will have to update. thanks


c_c schrieb:
 Hi,

 Hi,
 I get the following error when starting with shr testing:
 intone: error while loading shared libraries: libecore_input.so.0:
 cannot open shared object file: No such file or directory

 You'll probably need to upgrade to shr-unstable. Intone needs the newer 
 releases of elementary (and enlightenment therefore).

  One check is to run the elementary tests application and see if the demos 
 for sliders and genlists are available. If not - upgrade to shr-unstable.

   

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Intone (0.20 - alpha release) Elementary based mplayer frontend

2009-04-09 Thread Sebastian Hammerl
mmh, ok so i will have to update. thanks

c_c schrieb:
 Hi,

 Hi,
 I get the following error when starting with shr testing:
 intone: error while loading shared libraries: libecore_input.so.0:
 cannot open shared object file: No such file or directory

 You'll probably need to upgrade to shr-unstable. Intone needs the newer 
 releases of elementary (and enlightenment therefore).

  One check is to run the elementary tests application and see if the demos 
 for sliders and genlists are available. If not - upgrade to shr-unstable.

   

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Intone (0.20 - alpha release) Elementary based mplayer frontend

2009-04-07 Thread c_c

Hi,
  Here is a newer version with some bug fixes and seeking. intone_0.21_arm.ipk 
-- 
View this message in context: 
http://n2.nabble.com/Intone-%280.20---alpha-release%29-Elementary-based-mplayer-frontend-tp2587826p2599615.html
Sent from the Openmoko Community mailing list archive at Nabble.com.


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Intone (0.20 - alpha release) Elementary based mplayer frontend

2009-04-07 Thread Marco Trevisan (Treviño)
c_c wrote:
 (BTW it works only in Illume WM, not in my standard system due to the fact 
 that the window collapse withoutconsidering the preset evas size at all!) 
 Yup ! Thats exactly what happened to me. OK - so I should try it on the FR. I 
 have the code for it commented out in gui.c. Will try it on the FR ASAP.

You can also use Xephyr for this. Launch it as:
 Xephyr :1 -ac -dpi 283 -screen 480x640+86+295

Then launch e with something like:
 DISPLAY=:1 enlightenment_start -profile illume

And finally use that new display for testing intone ;)

 I'm assuming from the lack of bug-reports that either there aren't many show 
 stoppers - or that people haven't got the time to let me know about them yet. 
 Hope it's the first reason though :-)

Well, I've not written this already, but if I run it in my OM2008 (where
I've installed latest e17 svn) when I launch intone I only get a black
window. It's so strange... No other elementary app does it!

However if I'm not wrong another that is using my e17-svn rootfs had no
issues... :|

-- 
Treviño's World - Life and Linux
http://www.3v1n0.net/


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Intone (0.20 - alpha release) Elementary based mplayer frontend

2009-04-07 Thread Łukasz Pankowski
c_c cchan...@yahoo.com writes:

 Hi,
   Here is a newer version with some bug fixes and seeking. 
 intone_0.21_arm.ipk 

Hi!

With seeking it is a nice finger friendly player, thanks for that!
Works great for me on shr-unstable.

I want to mention three minor issues/requests [1]:

1. Please consider moving /home/root/.intone/art to /usr/share/intone,
it is quite strange to install files in to user directory.

2. Same for /home/root/.intone/intone_songs.db, after upgrading to 0.21
my previous db was overwritten. If you change the db structure I
understand you may not bother to upgrade user db on this level of
development, but if not it would be better to create this file only if
user does not have one.

3. Improve on my personal use case: I mainly use intone (was pythm
before) to listen to lectures, so for me it would be great if intone
after restart remembered position in the file so after hitting play it
will continue playing where I have paused it in previous run.

[1] For now I will not find time to write a patch, but if you will be
interested I may consider it in a distant future :).

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Intone (0.20 - alpha release) Elementary based mplayer frontend

2009-04-06 Thread Marco Trevisan (Treviño)
c_c wrote:
 Hi,
   Well, it took a lot longer than I thought - but finally  - here's the alpha 
 release of Intone - a mplayer frontend (for audio files - as of now) in C. 
 Uses about 2% CPU (max) while running - memory goes up depending on your 
 playlist - on my phone (~2500 songs) it uses about 15%.
   All you need to do is download the attached ipk and install it. Intone 
 depends on sqlite3 and libelementary. If you have elementary on your phone 
 upgraded to a level where the elementary test application shows you a demo of 
 sliders and genlists, Intone should run on your phone.
   The recommended way to organise music is to put all the files in a folder 
 (lets say Music), with sub folders named after artists (say Music -Eagles) 
 and with sub sub folders holding albums (that becomes Music-Eagles-Hell 
 Freezes Over-*.mp3). That way, Intone can correctly organise your music 
 collection into albums. It automatically creates a default playlist 
 containing all songs and individual playlists for each album. I have added 
 features to manage playlists and albums - but there is always scope for 
 improvement.
   Intone uses a sqlite database as a backend for the playlists and albums. 
 That should, hopefully, give flexibility in adding more features later.

Very nice, as I already said :P

 1. Feedback. - I haven't been able to add dialogs yet. So - wait a little 
 while for Intone to finish long operations (like adding your music collection 
 for the first time - my 2500 odd songs took about 6 secs - the button remains 
 pressed too)

I'd suggest you to use as many ecore_* function as you can to use the e
loop without freezing your app.

 2. Artwork - Ideas / png's / whatever
I'd add just a tango note and a tango folder with note for the songs
and the albums without a specific cover. Use that instead.

 3. Elementary help. I have a lot of questions. Here are a few :-
 a) How do I reduce the vert height of 1 entry in the genlist? Right now 
 each line in the list is too high (almost 3 text lines high) - so I get only 
 about 4 song names on the screen. Can I reduce the height to say 1.5 text 
 line - 2 text line?

This generally is done automatically based on the elementary finger size
and on the scale factor. But I've seen that it can change also if the
icon used is quite big. However I didn't see that running intone in my
PC (using illume BTW).

 b) How do I use the pager with a genlist? In my case the pager works - 
 but it doesn't show the genlist - the buttons all show up though.

Give a look to my eTube code in projects.openmoko.org. It has an
implementation for it (BTW it works only in Illume WM, not in my
standard system due to the fact that the window collapse without
considering the preset evas size at all!)

 c) Dialogs and progress bars. I know elementary doesn't have them - but 
 can I make/have a simple ty solution for the time being?

Dialog-like windows examples are in the Elementary wiki, maybe you could
use them. Anyway I think that using an inwin is a good idea.

About the progress bar, I really think that Elementary needs a widget to
write them easily (I figure that they can do using a edj theme).

Bye!

-- 
Treviño's World - Life and Linux
http://www.3v1n0.net/


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Intone (0.20 - alpha release) Elementary based mplayer frontend

2009-04-06 Thread Marco Trevisan (Treviño)
c_c wrote:
 Hi,
   Well, it took a lot longer than I thought - but finally  - here's the alpha 
 release of Intone - a mplayer frontend (for audio files - as of now) in C. 
 Uses about 2% CPU (max) while running - memory goes up depending on your 
 playlist - on my phone (~2500 songs) it uses about 15%.
   All you need to do is download the attached ipk and install it. Intone 
 depends on sqlite3 and libelementary. If you have elementary on your phone 
 upgraded to a level where the elementary test application shows you a demo of 
 sliders and genlists, Intone should run on your phone.
   The recommended way to organise music is to put all the files in a folder 
 (lets say Music), with sub folders named after artists (say Music -Eagles) 
 and with sub sub folders holding albums (that becomes Music-Eagles-Hell 
 Freezes Over-*.mp3). That way, Intone can correctly organise your music 
 collection into albums. It automatically creates a default playlist 
 containing all songs and individual playlists for each album. I have added 
 features to manage playlists and albums - but there is always scope for 
 improvement.
   Intone uses a sqlite database as a backend for the playlists and albums. 
 That should, hopefully, give flexibility in adding more features later.
   
Things that don't work as of now :-
 
 1. Feedback. - I haven't been able to add dialogs yet. So - wait a little 
 while for Intone to finish long operations (like adding your music collection 
 for the first time - my 2500 odd songs took about 6 secs - the button remains 
 pressed too)

Ah, why don't you use the ecore_exe_pipe_run function for controlling
mplayer?

-- 
Treviño's World - Life and Linux
http://www.3v1n0.net/


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Intone (0.20 - alpha release) Elementary based mplayer frontend

2009-04-06 Thread Marco Trevisan (Treviño)
c_c wrote:
 3. Seek. Dont know how to use the slider for seeking. Any Ideas?

The attached patch (intone-seek-fix.patch) does the work.
However I've done another one (intone-seek-fix.patch) that reads
continuously (every 0.5 sec) the real position from mplayer and also if
it uses more CPU (I figure, not tested in my FR) it could be better.
However I've not finished that and it requires a fix (since it actually
makes intone hang as soon as the song reaches its end) too.

By the way actually the slider shows the position in seconds; why not
using the percentage value?

-- 
Treviño's World - Life and Linux
http://www.3v1n0.net/
Index: src/gui.c
===
--- src/gui.c	(revisione 2)
+++ src/gui.c	(copia locale)
@@ -211,6 +211,12 @@
 }
 
 void
+pos_change_start(void *data, Evas_Object *obj, void *event_info)
+{
+	ecore_timer_freeze(timer1);
+}
+
+void
 pos_changed(void *data, Evas_Object *obj, void *event_info)
 {
 	double val;
@@ -218,8 +224,10 @@
 	char pos[15];
 	
 	val = elm_slider_value_get(obj);
-	sprintf(pos, seek %d\n, (int)val);
+	pos_time = (int)val;
+	sprintf(pos, seek %d 2\n, pos_time);
 	ret = write(fd, pos, strlen(pos));
+	ecore_timer_thaw(timer1);
 }
 
 static int
@@ -897,7 +905,8 @@
 	evas_object_size_hint_align_set(pos_slider, -1.0, 0.0);
 	elm_box_pack_end(vbox, pos_slider);
 	evas_object_show(pos_slider);
-	//evas_object_smart_callback_add(pos_slider, delay,changed, pos_changed, NULL);
+	evas_object_smart_callback_add(pos_slider, changed, pos_change_start, NULL);
+	evas_object_smart_callback_add(pos_slider, delay,changed, pos_changed, NULL);
 
 	//add hbox to vbox at pos 4
 	hbox = elm_box_add(win);
Index: src/gui.c
===
--- src/gui.c	(revisione 2)
+++ src/gui.c	(copia locale)
@@ -39,12 +39,33 @@
 
 int timer_func(void *data)
 {
-	//set position data
-	pos_time ++;
-	if(pos_time  song_dur) {
+	char cmd[255], *tok;
+	int ret;
+	ssize_t read;
+	size_t len = 0;
+	char *dur = ;
+	
+	if(pos_time = song_dur) {
 		//song over - start next song
 		next_button_clicked (NULL, NULL, NULL);
+		return 1;
 	}
+
+	//get time position
+	sprintf(cmd, get_time_pos\n);
+	ret = write(fd, cmd, strlen(cmd));
+	//read data from mplayer output
+	while(strncmp(dur, ANS_TIME_POSITION, 17) != 0) {
+		  read = getline(dur, len, mp_data);
+	}
+	
+	strcat(dur, =);
+	tok = strtok(dur, =);
+	tok = strtok(NULL, =);
+	
+	//set position data
+	pos_time = atoi(tok);
+
 	elm_slider_value_set(pos_slider, (double)pos_time);
 	return 1;
 }
@@ -69,7 +90,7 @@
 	ret = write(fd, cmd, strlen(cmd));
 	//set timer
 	pos_time = 0;
-	timer1 = ecore_timer_add(1.0, timer_func, NULL);
+	timer1 = ecore_timer_add(0.5, timer_func, NULL);
 	//set play state
 	play_state = PLAYING;
 	set_duration ();
@@ -126,7 +147,7 @@
 	ret = write(fd, cmd, strlen(cmd));
 	//set timer
 	pos_time = 0;
-	timer1 = ecore_timer_add(1.0, timer_func, NULL);
+	timer1 = ecore_timer_add(0.5, timer_func, NULL);
 	set_duration();
 	play_state = PLAYING;
 }
@@ -156,7 +177,7 @@
 	ret = write(fd, cmd, strlen(cmd));
 	//set timer
 	pos_time = 0;
-	timer1 = ecore_timer_add(1.0, timer_func, NULL);
+	timer1 = ecore_timer_add(0.5, timer_func, NULL);
 	set_duration ();
 	play_state = PLAYING;
 }
@@ -188,7 +209,7 @@
 		ret = write(fd, cmd, strlen(cmd));
 		//set timer
 		pos_time = 0;
-		timer1 = ecore_timer_add(1.0, timer_func, NULL);		
+		timer1 = ecore_timer_add(0.5, timer_func, NULL);		
 		//set play state
 		play_state = PLAYING;
 		set_duration ();
@@ -211,6 +232,12 @@
 }
 
 void
+pos_changed_start(void *data, Evas_Object *obj, void *event_info)
+{
+	ecore_timer_freeze(timer1);
+}
+
+void
 pos_changed(void *data, Evas_Object *obj, void *event_info)
 {
 	double val;
@@ -218,8 +245,10 @@
 	char pos[15];
 	
 	val = elm_slider_value_get(obj);
-	sprintf(pos, seek %d\n, (int)val);
+	pos_time = (int)val;
+	sprintf(pos, seek %d 2\n, pos_time);
 	ret = write(fd, pos, strlen(pos));
+	ecore_timer_thaw(timer1);
 }
 
 static int
@@ -897,7 +926,8 @@
 	evas_object_size_hint_align_set(pos_slider, -1.0, 0.0);
 	elm_box_pack_end(vbox, pos_slider);
 	evas_object_show(pos_slider);
-	//evas_object_smart_callback_add(pos_slider, delay,changed, pos_changed, NULL);
+	evas_object_smart_callback_add(pos_slider, changed, pos_changed_start, NULL);
+	evas_object_smart_callback_add(pos_slider, delay,changed, pos_changed, NULL);
 
 	//add hbox to vbox at pos 4
 	hbox = elm_box_add(win);
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Intone (0.20 - alpha release) Elementary based mplayer frontend

2009-04-06 Thread Marco Trevisan (Treviño)
Marco Trevisan (Treviño) wrote:
 c_c wrote:
 3. Seek. Dont know how to use the slider for seeking. Any Ideas?
 
 The attached patch (intone-seek-fix.patch) does the work.

Ah, I forgot to put an
 if (timer1)
before ecore_timer_freeze and ecore_timer_thaw. Anyway I think that the
slider should be hidden if nothing is playing...


-- 
Treviño's World - Life and Linux
http://www.3v1n0.net/


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Intone (0.20 - alpha release) Elementary based mplayer frontend

2009-04-06 Thread c_c

Hi,
@Treviño - Thank you for the feedback and the patch. I'll try and incorporate 
as much as I can / understand (my e knowledge is pretty scratchy considering 
this is the first app I've ever written that uses any e). Right now also 
looking at:-

 a) Bug fixes - like the fact that if you first select a song and play it, the 
playing subroutine does not update the song_index. (That's done though.) So, if 
you press play next - the app plays the second song in the playlist - instead 
of the song next to the song you selected.

 b) GUI / Usability improvements - Like an album art view (minus the album art 
till I figure out a better way to get art from the net) and a lyrics view which 
seems easier right now. Also, icons on the buttons, button and list size 
improvements and so on.

 c) Any show stoppers as far as performance is considered.


I'd suggest you to use as many ecore_* function as you can to use the e loop 
without freezing your app. 

I think I'm using pretty much all e functions - except those that handle the 
database. The db functions might be slower - thats one area that could do with 
some help. Can you point out areas that could be improved using e functions 
instead? I don't even know that there are e functions for a lot of things :-) 
I'll read through a few header files to see what I can pick up. 


I'd add just a tango note and a tango folder with note for the songs and 
the albums without a specific cover. Use that instead. 

Nice Idea. Will try that as soon as I can.


Can I reduce the height to say 1.5 text line - 2 text line?

This generally is done automatically based on the elementary finger size and on 
the scale factor. But I've seen that it can change also if the icon used is 
quite big. However I didn't see that running intone in my
PC (using illume BTW). 

I can't seem to change the height using scale factor on my PC. Maybe I ought to 
try it on the FR too.


(BTW it works only in Illume WM, not in my standard system due to the fact that 
the window collapse withoutconsidering the preset evas size at all!) 

Yup ! Thats exactly what happened to me. OK - so I should try it on the FR. I 
have the code for it commented out in gui.c. Will try it on the FR ASAP.


Dialog-like windows examples are in the Elementary wiki, maybe you could use 
them.

I actually wrote a sub-routine (popup_alert in gui.c) to handle a Yes/No kind 
of dialog. I think I got stuck at passing the value back - because the widow 
does not grab focus for the duration of the dialog. How do I do that? Must be 
pretty simple - just that my ecore knowledge is almost non-existent right now 
:-D


Ah, why don't you use the ecore_exe_pipe_run function for controlling mplayer? 

Ha ! Sorry for being repetitive - but I didn't know it existed! Thanks for 
pointing that out.


The attached patch (intone-seek-fix.patch) does the work. 

Thanks. Will check that out. Hopefully, thats one thing struck off my list!


By the way actually the slider shows the position in seconds; why not using the 
percentage value? 

Well, I can try that and see how it feels.


Ah, I forgot to put an  if (timer1) before ecore_timer_freeze and 
ecore_timer_thaw. Anyway I think that the slider should be hidden if nothing is 
playing...

OK. Can try that out too - hiding the slider. Will give me one more line too. 

I intend releasing a new version as soon as I can get these things done. There 
are a few ideas I have, though, that remain unimplemented:-

  1. How can I hide the playlist and instead replace it with an image and some 
labels (for the album art view)? Can't I avoid the need to use a pager? This 
way - I also get to write lesser code (and save memory). 
  I'm thinking that if I could control the visibility of a few Evas objects 
(based on the user clicking the view button) I could have all my views 
(playlist, albumart and lyrics) in one window itself. Can that be done?

  2. Can I have a slider kind of menu coming in from the sides/bottom? I know 
it can be done using evas - but I don't know how. That way I can shift out the 
top 3 buttons (and more that I will add later) from the view so increasing my 
view area - and yet have them available for use.

  3. I need to add some colours to the buttons (apart from the icons). How do I 
do that? Do you think that will help - or should it be done by making a new 
theme?

Thanks again - everybody - for the suggestions. I'm assuming from the lack of 
bug-reports that either there aren't many show stoppers - or that people 
haven't got the time to let me know about them yet. Hope it's the first reason 
though :-)

Any / more feedback is really welcome. So go ahead!
-- 
View this message in context: 
http://n2.nabble.com/Intone-%280.20---alpha-release%29-Elementary-based-mplayer-frontend-tp2587826p2596701.html
Sent from the Openmoko Community mailing list archive at Nabble.com.


___
Openmoko community mailing list
community@lists.openmoko.org

Intone (0.20 - alpha release) Elementary based mplayer frontend

2009-04-05 Thread c_c

Hi,
  Well, it took a lot longer than I thought - but finally  - here's the alpha 
release of Intone - a mplayer frontend (for audio files - as of now) in C. Uses 
about 2% CPU (max) while running - memory goes up depending on your playlist - 
on my phone (~2500 songs) it uses about 15%.
  All you need to do is download the attached ipk and install it. Intone 
depends on sqlite3 and libelementary. If you have elementary on your phone 
upgraded to a level where the elementary test application shows you a demo of 
sliders and genlists, Intone should run on your phone.
  The recommended way to organise music is to put all the files in a folder 
(lets say Music), with sub folders named after artists (say Music -Eagles) and 
with sub sub folders holding albums (that becomes Music-Eagles-Hell Freezes 
Over-*.mp3). That way, Intone can correctly organise your music collection 
into albums. It automatically creates a default playlist containing all songs 
and individual playlists for each album. I have added features to manage 
playlists and albums - but there is always scope for improvement.
  Intone uses a sqlite database as a backend for the playlists and albums. That 
should, hopefully, give flexibility in adding more features later.
  
   Things that don't work as of now :-

1. Feedback. - I haven't been able to add dialogs yet. So - wait a little while 
for Intone to finish long operations (like adding your music collection for the 
first time - my 2500 odd songs took about 6 secs - the button remains pressed 
too)
2. Dialogs for deleting stuff. It's safe - Intone does not delete any files - 
but it does delete tables(albums and playlists) - and it doesn't yet ask for 
confirmation.
3. Seek. Dont know how to use the slider for seeking. Any Ideas?
4. DBUS. - Haven't gotten around to learning edbus - so no occupy resouce CPU 
or pause on incoming calls yet. Will take some more time.
5. Album art and lyrics. - Don't yet know the best way to go about doing this 
other than downloading art from some retailers etc. Ideas welcome.
6. Toggle View. Not working yet. I intend having 2 more views - Album Art and 
Lyrics.

  I'm also looking at adding support for the button that the standard handsfree 
has - as a volume control (3 preselcted levels in rotation) or to go to next 
song (1 click) and prev song (2 clicks). Any suggestions?

  Since I also have half a podcast manager built (which I couldn't finish in 
time for the competition) - I'm also looking at adding that support in the 
future.

  Feedback Required
1. Bug reports.
2. Artwork - Ideas / png's / whatever
3. Elementary help. I have a lot of questions. Here are a few :-
a) How do I reduce the vert height of 1 entry in the genlist? Right now 
each line in the list is too high (almost 3 text lines high) - so I get only 
about 4 song names on the screen. Can I reduce the height to say 1.5 text line 
- 2 text line?
b) How do I use the pager with a genlist? In my case the pager works - but 
it doesn't show the genlist - the buttons all show up though.
c) Dialogs and progress bars. I know elementary doesn't have them - but can 
I make/have a simple ty solution for the time being?

Oh! And I'm only adding .oga, .mp3, .m4a and wma files into the albums. Any 
other types I need to add?

I'll upload the code to intone.googlecode.com soon. 
All feedback welcome. Thanks.
intone_0.20_arm.ipk 
-- 
View this message in context: 
http://n2.nabble.com/Intone-%280.20---alpha-release%29-Elementary-based-mplayer-frontend-tp2587826p2587826.html
Sent from the Openmoko Community mailing list archive at Nabble.com.


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Intone (0.20 - alpha release) Elementary based mplayer frontend

2009-04-05 Thread The Rasterman
On Sat, 4 Apr 2009 23:59:35 -0700 (PDT) c_c cchan...@yahoo.com said:

where's the source... luke? :)

 Hi,
   Well, it took a lot longer than I thought - but finally  - here's the alpha
 release of Intone - a mplayer frontend (for audio files - as of now) in C.
 Uses about 2% CPU (max) while running - memory goes up depending on your
 playlist - on my phone (~2500 songs) it uses about 15%. All you need to do is
 download the attached ipk and install it. Intone depends on sqlite3 and
 libelementary. If you have elementary on your phone upgraded to a level where
 the elementary test application shows you a demo of sliders and genlists,
 Intone should run on your phone. The recommended way to organise music is to
 put all the files in a folder (lets say Music), with sub folders named after
 artists (say Music -Eagles) and with sub sub folders holding albums (that
 becomes Music-Eagles-Hell Freezes Over-*.mp3). That way, Intone can
 correctly organise your music collection into albums. It automatically
 creates a default playlist containing all songs and individual playlists for
 each album. I have added features to manage playlists and albums - but there
 is always scope for improvement. Intone uses a sqlite database as a backend
 for the playlists and albums. That should, hopefully, give flexibility in
 adding more features later. Things that don't work as of now :-
 
 1. Feedback. - I haven't been able to add dialogs yet. So - wait a little
 while for Intone to finish long operations (like adding your music collection
 for the first time - my 2500 odd songs took about 6 secs - the button remains
 pressed too)
 2. Dialogs for deleting stuff. It's safe - Intone does not delete any files -
 but it does delete tables(albums and playlists) - and it doesn't yet ask for
 confirmation.
 3. Seek. Dont know how to use the slider for seeking. Any Ideas?
 4. DBUS. - Haven't gotten around to learning edbus - so no occupy resouce CPU
 or pause on incoming calls yet. Will take some more time.
 5. Album art and lyrics. - Don't yet know the best way to go about doing this
 other than downloading art from some retailers etc. Ideas welcome.
 6. Toggle View. Not working yet. I intend having 2 more views - Album Art and
 Lyrics.
 
   I'm also looking at adding support for the button that the standard
 handsfree has - as a volume control (3 preselcted levels in rotation) or to
 go to next song (1 click) and prev song (2 clicks). Any suggestions?
 
   Since I also have half a podcast manager built (which I couldn't finish in
 time for the competition) - I'm also looking at adding that support in the
 future.
 
   Feedback Required
 1. Bug reports.
 2. Artwork - Ideas / png's / whatever
 3. Elementary help. I have a lot of questions. Here are a few :-
 a) How do I reduce the vert height of 1 entry in the genlist? Right now
 each line in the list is too high (almost 3 text lines high) - so I get only
 about 4 song names on the screen. Can I reduce the height to say 1.5 text
 line - 2 text line? b) How do I use the pager with a genlist? In my case the
 pager works - but it doesn't show the genlist - the buttons all show up
 though. c) Dialogs and progress bars. I know elementary doesn't have them -
 but can I make/have a simple ty solution for the time being?
 
 Oh! And I'm only adding .oga, .mp3, .m4a and wma files into the albums. Any
 other types I need to add?
 
 I'll upload the code to intone.googlecode.com soon. 
 All feedback welcome. Thanks.
 intone_0.20_arm.ipk 
 -- 
 View this message in context:
 http://n2.nabble.com/Intone-%280.20---alpha-release%29-Elementary-based-mplayer-frontend-tp2587826p2587826.html
 Sent from the Openmoko Community mailing list archive at Nabble.com.
 
 
 ___
 Openmoko community mailing list
 community@lists.openmoko.org
 http://lists.openmoko.org/mailman/listinfo/community
 


-- 
- Codito, ergo sum - I code, therefore I am --
The Rasterman (Carsten Haitzler)ras...@rasterman.com


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Intone (0.20 - alpha release) Elementary based mplayer frontend

2009-04-05 Thread kimaidou
Hi

for album cover, the best way  is to look for a file called cover.png or
folder .png (or jpgs) and display it.

Thanks for this 1st release

2009/4/5 Carsten Haitzler ras...@rasterman.com

 On Sat, 4 Apr 2009 23:59:35 -0700 (PDT) c_c cchan...@yahoo.com said:

 where's the source... luke? :)

  Hi,
Well, it took a lot longer than I thought - but finally  - here's the
 alpha
  release of Intone - a mplayer frontend (for audio files - as of now) in
 C.
  Uses about 2% CPU (max) while running - memory goes up depending on your
  playlist - on my phone (~2500 songs) it uses about 15%. All you need to
 do is
  download the attached ipk and install it. Intone depends on sqlite3 and
  libelementary. If you have elementary on your phone upgraded to a level
 where
  the elementary test application shows you a demo of sliders and genlists,
  Intone should run on your phone. The recommended way to organise music is
 to
  put all the files in a folder (lets say Music), with sub folders named
 after
  artists (say Music -Eagles) and with sub sub folders holding albums
 (that
  becomes Music-Eagles-Hell Freezes Over-*.mp3). That way, Intone can
  correctly organise your music collection into albums. It automatically
  creates a default playlist containing all songs and individual playlists
 for
  each album. I have added features to manage playlists and albums - but
 there
  is always scope for improvement. Intone uses a sqlite database as a
 backend
  for the playlists and albums. That should, hopefully, give flexibility in
  adding more features later. Things that don't work as of now :-
 
  1. Feedback. - I haven't been able to add dialogs yet. So - wait a little
  while for Intone to finish long operations (like adding your music
 collection
  for the first time - my 2500 odd songs took about 6 secs - the button
 remains
  pressed too)
  2. Dialogs for deleting stuff. It's safe - Intone does not delete any
 files -
  but it does delete tables(albums and playlists) - and it doesn't yet ask
 for
  confirmation.
  3. Seek. Dont know how to use the slider for seeking. Any Ideas?
  4. DBUS. - Haven't gotten around to learning edbus - so no occupy resouce
 CPU
  or pause on incoming calls yet. Will take some more time.
  5. Album art and lyrics. - Don't yet know the best way to go about doing
 this
  other than downloading art from some retailers etc. Ideas welcome.
  6. Toggle View. Not working yet. I intend having 2 more views - Album Art
 and
  Lyrics.
 
I'm also looking at adding support for the button that the standard
  handsfree has - as a volume control (3 preselcted levels in rotation) or
 to
  go to next song (1 click) and prev song (2 clicks). Any suggestions?
 
Since I also have half a podcast manager built (which I couldn't finish
 in
  time for the competition) - I'm also looking at adding that support in
 the
  future.
 
Feedback Required
  1. Bug reports.
  2. Artwork - Ideas / png's / whatever
  3. Elementary help. I have a lot of questions. Here are a few :-
  a) How do I reduce the vert height of 1 entry in the genlist? Right
 now
  each line in the list is too high (almost 3 text lines high) - so I get
 only
  about 4 song names on the screen. Can I reduce the height to say 1.5 text
  line - 2 text line? b) How do I use the pager with a genlist? In my case
 the
  pager works - but it doesn't show the genlist - the buttons all show up
  though. c) Dialogs and progress bars. I know elementary doesn't have them
 -
  but can I make/have a simple ty solution for the time being?
 
  Oh! And I'm only adding .oga, .mp3, .m4a and wma files into the albums.
 Any
  other types I need to add?
 
  I'll upload the code to intone.googlecode.com soon.
  All feedback welcome. Thanks.
  intone_0.20_arm.ipk
  --
  View this message in context:
 
 http://n2.nabble.com/Intone-%280.20---alpha-release%29-Elementary-based-mplayer-frontend-tp2587826p2587826.html
  Sent from the Openmoko Community mailing list archive at Nabble.com.
 
 
  ___
  Openmoko community mailing list
  community@lists.openmoko.org
  http://lists.openmoko.org/mailman/listinfo/community
 


 --
 - Codito, ergo sum - I code, therefore I am --
 The Rasterman (Carsten Haitzler)ras...@rasterman.com


 ___
 Openmoko community mailing list
 community@lists.openmoko.org
 http://lists.openmoko.org/mailman/listinfo/community

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Intone (0.20 - alpha release) Elementary based mplayer frontend

2009-04-05 Thread c_c


On Sat, 4 Apr 2009 23:59:35 -0700 (PDT) c_c cchan...@yahoo.com said:

where's the source... luke? :)

 Ha  Kind of expected you to be among the first to post. Well, I'm still 
travelling - and have a cr**y to no connection. Will post code by evening today.

-- 
View this message in context: 
http://n2.nabble.com/Intone-%280.20---alpha-release%29-Elementary-based-mplayer-frontend-tp2587826p2587842.html
Sent from the Openmoko Community mailing list archive at Nabble.com.


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Intone (0.20 - alpha release) Elementary based mplayer frontend

2009-04-05 Thread c_c

Hi,
  Well, the code is now on intone.googlecode.com. Go easy - I'm coding in 
elementary and sqlite3 for the first time :-) - so I know it's pretty rough!

@kimaidou - I'm looking more at a method of downloading album art from the 
internet - for albums without any art. Also the lyrics (which is easier).
Thanks for the suggestion though - was missing that one.
-- 
View this message in context: 
http://n2.nabble.com/Intone-%280.20---alpha-release%29-Elementary-based-mplayer-frontend-tp2587826p2587932.html
Sent from the Openmoko Community mailing list archive at Nabble.com.


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Intone (0.20 - alpha release) Elementary based mplayer frontend

2009-04-05 Thread The Rasterman
On Sun, 5 Apr 2009 01:10:24 -0700 (PDT) c_c cchan...@yahoo.com said:

 
 Hi,
   Well, the code is now on intone.googlecode.com. Go easy - I'm coding in
 elementary and sqlite3 for the first time :-) - so I know it's pretty rough!
 
 @kimaidou - I'm looking more at a method of downloading album art from the
 internet - for albums without any art. Also the lyrics (which is easier).
 Thanks for the suggestion though - was missing that one.

ok... going to go light...

you need to clean up your svn! it's full of auto-generated files! :) clean
clean clean! give it some order! :)
you need to not code paths like /usr/share/intone/intone_songs.db into the code
also thats a file you will modify - it should be in the users homedir like
~/.intone/ ummm.. gui wise - you should respond to delete request callbacks
(see elm code - the elm wiki on e's trac etc.). otherwise.. i'll skip the rest
and go easy :) just some suggestions. otherwise.. good job! :)


-- 
- Codito, ergo sum - I code, therefore I am --
The Rasterman (Carsten Haitzler)ras...@rasterman.com


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Intone (0.20 - alpha release) Elementary based mplayer frontend

2009-04-05 Thread Sebastian Billaudelle
Wow! That's great!

Thanks for that great player!

Am Samstag, den 04.04.2009, 23:59 -0700 schrieb c_c:
 Hi,
   Well, it took a lot longer than I thought - but finally  - here's the alpha 
 release of Intone - a mplayer frontend (for audio files - as of now) in C. 
 Uses about 2% CPU (max) while running - memory goes up depending on your 
 playlist - on my phone (~2500 songs) it uses about 15%.
   All you need to do is download the attached ipk and install it. Intone 
 depends on sqlite3 and libelementary. If you have elementary on your phone 
 upgraded to a level where the elementary test application shows you a demo of 
 sliders and genlists, Intone should run on your phone.
   The recommended way to organise music is to put all the files in a folder 
 (lets say Music), with sub folders named after artists (say Music -Eagles) 
 and with sub sub folders holding albums (that becomes Music-Eagles-Hell 
 Freezes Over-*.mp3). That way, Intone can correctly organise your music 
 collection into albums. It automatically creates a default playlist 
 containing all songs and individual playlists for each album. I have added 
 features to manage playlists and albums - but there is always scope for 
 improvement.
   Intone uses a sqlite database as a backend for the playlists and albums. 
 That should, hopefully, give flexibility in adding more features later.
   
Things that don't work as of now :-
 
 1. Feedback. - I haven't been able to add dialogs yet. So - wait a little 
 while for Intone to finish long operations (like adding your music collection 
 for the first time - my 2500 odd songs took about 6 secs - the button remains 
 pressed too)
 2. Dialogs for deleting stuff. It's safe - Intone does not delete any files - 
 but it does delete tables(albums and playlists) - and it doesn't yet ask for 
 confirmation.
 3. Seek. Dont know how to use the slider for seeking. Any Ideas?
 4. DBUS. - Haven't gotten around to learning edbus - so no occupy resouce CPU 
 or pause on incoming calls yet. Will take some more time.
 5. Album art and lyrics. - Don't yet know the best way to go about doing this 
 other than downloading art from some retailers etc. Ideas welcome.
 6. Toggle View. Not working yet. I intend having 2 more views - Album Art and 
 Lyrics.
 
   I'm also looking at adding support for the button that the standard 
 handsfree has - as a volume control (3 preselcted levels in rotation) or to 
 go to next song (1 click) and prev song (2 clicks). Any suggestions?
 
   Since I also have half a podcast manager built (which I couldn't finish in 
 time for the competition) - I'm also looking at adding that support in the 
 future.
 
   Feedback Required
 1. Bug reports.
 2. Artwork - Ideas / png's / whatever
 3. Elementary help. I have a lot of questions. Here are a few :-
 a) How do I reduce the vert height of 1 entry in the genlist? Right now 
 each line in the list is too high (almost 3 text lines high) - so I get only 
 about 4 song names on the screen. Can I reduce the height to say 1.5 text 
 line - 2 text line?
 b) How do I use the pager with a genlist? In my case the pager works - 
 but it doesn't show the genlist - the buttons all show up though.
 c) Dialogs and progress bars. I know elementary doesn't have them - but 
 can I make/have a simple ty solution for the time being?
 
 Oh! And I'm only adding .oga, .mp3, .m4a and wma files into the albums. Any 
 other types I need to add?
 
 I'll upload the code to intone.googlecode.com soon. 
 All feedback welcome. Thanks.
 intone_0.20_arm.ipk 


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Intone (0.20 - alpha release) Elementary based mplayer frontend

2009-04-05 Thread Robin Paulson
2009/4/5 c_c cchan...@yahoo.com:
excellent, i'd love to have a look at this - would you be willing to
add it, and it's dependencies (libelementary0 et al), to opkg.org?

cheers

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Intone (0.20 - alpha release) Elementary based mplayer frontend

2009-04-05 Thread Johny Tenfinger
Opkg? And then hearing complaining of all Om2008.12 lames? Don't do that! ;x

e_dbus is only mainloop. After setting up SessionBus with that
mainloop you can use dbus as always.

To async callbacks look at reply_handler in dbus and ecore_idler_add
in GUI. Examples (in python) you can find in shr-settings.

For dialogs, use Inwin widget. For seeking use Slider, as it's used in
shr-settings Display (backlight) module.

Looks like you are implementing very good idea. I will look at it
later, when only I have my FR near ;)

2009/4/5, Robin Paulson robin.paul...@gmail.com:
 2009/4/5 c_c cchan...@yahoo.com:
 excellent, i'd love to have a look at this - would you be willing to
 add it, and it's dependencies (libelementary0 et al), to opkg.org?

 cheers

 ___
 Openmoko community mailing list
 community@lists.openmoko.org
 http://lists.openmoko.org/mailman/listinfo/community


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


AW: Intone (0.20 - alpha release) Elementary based mplayer frontend

2009-04-05 Thread hab keen oh ne
Good job, really! Thanks to C much faster than pythm, besides Intone seems to 
have more functions. Nevertheless, I would improve the look, its not really 
cool compared to any iSoftware. Besides, I have experienced mplayer to be too 
slow on the Freerunner. I you want to do more than only hear music, or click 
any button, the music is corrupted. Under Debian Im using xmms with gxmms, and 
it is much faster. I can even move windows and here music at the same time, 
without any problems. Just an idea, maybe its not mplayer's but SHR's fault, I 
dont know, just an idea. 





Von: c_c cchan...@yahoo.com
An: community@lists.openmoko.org
Gesendet: Sonntag, den 5. April 2009, 08:59:35 Uhr
Betreff: Intone (0.20 - alpha release) Elementary based mplayer frontend


Hi,
  Well, it took a lot longer than I thought - but finally  - here's the alpha 
release of Intone - a mplayer frontend (for audio files - as of now) in C. Uses 
about 2% CPU (max) while running - memory goes up depending on your playlist - 
on my phone (~2500 songs) it uses about 15%.
  All you need to do is download the attached ipk and install it. Intone 
depends on sqlite3 and libelementary. If you have elementary on your phone 
upgraded to a level where the elementary test application shows you a demo of 
sliders and genlists, Intone should run on your phone.
  The recommended way to organise music is to put all the files in a folder 
(lets say Music), with sub folders named after artists (say Music -Eagles) and 
with sub sub folders holding albums (that becomes Music-Eagles-Hell Freezes 
Over-*.mp3). That way, Intone can correctly organise your music collection 
into albums. It automatically creates a default playlist containing all songs 
and individual playlists for each album. I have added features to manage 
playlists and albums - but there is always scope for improvement.
  Intone uses a sqlite database as a backend for the playlists and albums. That 
should, hopefully, give flexibility in adding more features later.
  
   Things that don't work as of now :-

1. Feedback. - I haven't been able to add dialogs yet. So - wait a little while 
for Intone to finish long operations (like adding your music collection for the 
first time - my 2500 odd songs took about 6 secs - the button remains pressed 
too)
2. Dialogs for deleting stuff. It's safe - Intone does not delete any files - 
but it does delete tables(albums and playlists) - and it doesn't yet ask for 
confirmation.
3. Seek. Dont know how to use the slider for seeking. Any Ideas?
4. DBUS. - Haven't gotten around to learning edbus - so no occupy resouce CPU 
or pause on incoming calls yet. Will take some more time.
5. Album art and lyrics. - Don't yet know the best way to go about doing this 
other than downloading art from some retailers etc. Ideas welcome.
6. Toggle View. Not working yet. I intend having 2 more views - Album Art and 
Lyrics.

  I'm also looking at adding support for the button that the standard handsfree 
has - as a volume control (3 preselcted levels in rotation) or to go to next 
song (1 click) and prev song (2 clicks). Any suggestions?

  Since I also have half a podcast manager built (which I couldn't finish in 
time for the competition) - I'm also looking at adding that support in the 
future.

  Feedback Required
1. Bug reports.
2. Artwork - Ideas / png's / whatever
3. Elementary help. I have a lot of questions. Here are a few :-
a) How do I reduce the vert height of 1 entry in the genlist? Right now 
each line in the list is too high (almost 3 text lines high) - so I get only 
about 4 song names on the screen. Can I reduce the height to say 1.5 text line 
- 2 text line?
b) How do I use the pager with a genlist? In my case the pager works - but 
it doesn't show the genlist - the buttons all show up though.
c) Dialogs and progress bars. I know elementary doesn't have them - but can 
I make/have a simple ty solution for the time being?

Oh! And I'm only adding .oga, .mp3, .m4a and wma files into the albums. Any 
other types I need to add?

I'll upload the code to intone.googlecode.com soon. 
All feedback welcome. Thanks.
intone_0.20_arm.ipk 
-- 
View this message in context: 
http://n2.nabble.com/Intone-%280.20---alpha-release%29-Elementary-based-mplayer-frontend-tp2587826p2587826.html
Sent from the Openmoko Community mailing list archive at Nabble.com.


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community



  ___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Intone (0.20 - alpha release) Elementary based mplayer frontend

2009-04-05 Thread Sebastian Hammerl
Hi,

I get the following error when starting with shr testing:

intone: error while loading shared libraries: libecore_input.so.0:
cannot open shared object file: No such file or directory

which library do i have to install?

greetings, sebastian

c_c schrieb:
 Hi,
   Well, it took a lot longer than I thought - but finally  - here's the alpha 
 release of Intone - a mplayer frontend (for audio files - as of now) in C. 
 Uses about 2% CPU (max) while running - memory goes up depending on your 
 playlist - on my phone (~2500 songs) it uses about 15%.
   All you need to do is download the attached ipk and install it. Intone 
 depends on sqlite3 and libelementary. If you have elementary on your phone 
 upgraded to a level where the elementary test application shows you a demo of 
 sliders and genlists, Intone should run on your phone.
   The recommended way to organise music is to put all the files in a folder 
 (lets say Music), with sub folders named after artists (say Music -Eagles) 
 and with sub sub folders holding albums (that becomes Music-Eagles-Hell 
 Freezes Over-*.mp3). That way, Intone can correctly organise your music 
 collection into albums. It automatically creates a default playlist 
 containing all songs and individual playlists for each album. I have added 
 features to manage playlists and albums - but there is always scope for 
 improvement.
   Intone uses a sqlite database as a backend for the playlists and albums. 
 That should, hopefully, give flexibility in adding more features later.
   
Things that don't work as of now :-

 1. Feedback. - I haven't been able to add dialogs yet. So - wait a little 
 while for Intone to finish long operations (like adding your music collection 
 for the first time - my 2500 odd songs took about 6 secs - the button remains 
 pressed too)
 2. Dialogs for deleting stuff. It's safe - Intone does not delete any files - 
 but it does delete tables(albums and playlists) - and it doesn't yet ask for 
 confirmation.
 3. Seek. Dont know how to use the slider for seeking. Any Ideas?
 4. DBUS. - Haven't gotten around to learning edbus - so no occupy resouce CPU 
 or pause on incoming calls yet. Will take some more time.
 5. Album art and lyrics. - Don't yet know the best way to go about doing this 
 other than downloading art from some retailers etc. Ideas welcome.
 6. Toggle View. Not working yet. I intend having 2 more views - Album Art and 
 Lyrics.

   I'm also looking at adding support for the button that the standard 
 handsfree has - as a volume control (3 preselcted levels in rotation) or to 
 go to next song (1 click) and prev song (2 clicks). Any suggestions?

   Since I also have half a podcast manager built (which I couldn't finish in 
 time for the competition) - I'm also looking at adding that support in the 
 future.

   Feedback Required
 1. Bug reports.
 2. Artwork - Ideas / png's / whatever
 3. Elementary help. I have a lot of questions. Here are a few :-
 a) How do I reduce the vert height of 1 entry in the genlist? Right now 
 each line in the list is too high (almost 3 text lines high) - so I get only 
 about 4 song names on the screen. Can I reduce the height to say 1.5 text 
 line - 2 text line?
 b) How do I use the pager with a genlist? In my case the pager works - 
 but it doesn't show the genlist - the buttons all show up though.
 c) Dialogs and progress bars. I know elementary doesn't have them - but 
 can I make/have a simple ty solution for the time being?

 Oh! And I'm only adding .oga, .mp3, .m4a and wma files into the albums. Any 
 other types I need to add?

 I'll upload the code to intone.googlecode.com soon. 
 All feedback welcome. Thanks.
 intone_0.20_arm.ipk 
   


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: AW: Intone (0.20 - alpha release) Elementary based mplayer frontend

2009-04-05 Thread c_c

Hi,
 @ Rasterman - OK - Cleaned up the svn. This should be better. Will handle the 
delete requests for each window - is that why the program segfaults on exit?
  And, yes, I need to shift the songs db to ~/.intone/

@Robin Paulson - Intone at opkg.org  That should help.

@Johny Tenfinger - I am using a slider that gets updated by a timer to indicate 
the current position. Seeking using the slider's value doesn't help because 
that (seeking) function then gets called every sec when I update the slider. 
Breaks up the sound pretty bad !

@hab keen oh ne - mplayer works fine for me on FSO. I can open other windows 
and type sms's while songs are playing in the background, comfortably. Try it 
and let me know if it's slower for you on debian.

So - the svn should be fine now at intone.googlecode.com and the ipk is also 
available at opkg.org. HTH.
-- 
View this message in context: 
http://n2.nabble.com/Intone-%280.20---alpha-release%29-Elementary-based-mplayer-frontend-tp2587826p2588293.html
Sent from the Openmoko Community mailing list archive at Nabble.com.


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Intone (0.20 - alpha release) Elementary based mplayer frontend

2009-04-05 Thread Johny Tenfinger
 which library do i have to install?

Probably opkg upgrade or shr-unstable ;)

On 4/5/09, Sebastian Hammerl list-openm...@omoco.de wrote:
 Hi,

 I get the following error when starting with shr testing:

 intone: error while loading shared libraries: libecore_input.so.0:
 cannot open shared object file: No such file or directory

 which library do i have to install?

 greetings, sebastian

 c_c schrieb:
 Hi,
   Well, it took a lot longer than I thought - but finally  - here's the
 alpha release of Intone - a mplayer frontend (for audio files - as of now)
 in C. Uses about 2% CPU (max) while running - memory goes up depending on
 your playlist - on my phone (~2500 songs) it uses about 15%.
   All you need to do is download the attached ipk and install it. Intone
 depends on sqlite3 and libelementary. If you have elementary on your phone
 upgraded to a level where the elementary test application shows you a demo
 of sliders and genlists, Intone should run on your phone.
   The recommended way to organise music is to put all the files in a
 folder (lets say Music), with sub folders named after artists (say Music
 -Eagles) and with sub sub folders holding albums (that becomes
 Music-Eagles-Hell Freezes Over-*.mp3). That way, Intone can correctly
 organise your music collection into albums. It automatically creates a
 default playlist containing all songs and individual playlists for each
 album. I have added features to manage playlists and albums - but there is
 always scope for improvement.
   Intone uses a sqlite database as a backend for the playlists and albums.
 That should, hopefully, give flexibility in adding more features later.

Things that don't work as of now :-

 1. Feedback. - I haven't been able to add dialogs yet. So - wait a little
 while for Intone to finish long operations (like adding your music
 collection for the first time - my 2500 odd songs took about 6 secs - the
 button remains pressed too)
 2. Dialogs for deleting stuff. It's safe - Intone does not delete any
 files - but it does delete tables(albums and playlists) - and it doesn't
 yet ask for confirmation.
 3. Seek. Dont know how to use the slider for seeking. Any Ideas?
 4. DBUS. - Haven't gotten around to learning edbus - so no occupy resouce
 CPU or pause on incoming calls yet. Will take some more time.
 5. Album art and lyrics. - Don't yet know the best way to go about doing
 this other than downloading art from some retailers etc. Ideas welcome.
 6. Toggle View. Not working yet. I intend having 2 more views - Album Art
 and Lyrics.

   I'm also looking at adding support for the button that the standard
 handsfree has - as a volume control (3 preselcted levels in rotation) or
 to go to next song (1 click) and prev song (2 clicks). Any suggestions?

   Since I also have half a podcast manager built (which I couldn't finish
 in time for the competition) - I'm also looking at adding that support in
 the future.

   Feedback Required
 1. Bug reports.
 2. Artwork - Ideas / png's / whatever
 3. Elementary help. I have a lot of questions. Here are a few :-
 a) How do I reduce the vert height of 1 entry in the genlist? Right
 now each line in the list is too high (almost 3 text lines high) - so I
 get only about 4 song names on the screen. Can I reduce the height to say
 1.5 text line - 2 text line?
 b) How do I use the pager with a genlist? In my case the pager works -
 but it doesn't show the genlist - the buttons all show up though.
 c) Dialogs and progress bars. I know elementary doesn't have them -
 but can I make/have a simple ty solution for the time being?

 Oh! And I'm only adding .oga, .mp3, .m4a and wma files into the albums.
 Any other types I need to add?

 I'll upload the code to intone.googlecode.com soon.
 All feedback welcome. Thanks.
 intone_0.20_arm.ipk



 ___
 Openmoko community mailing list
 community@lists.openmoko.org
 http://lists.openmoko.org/mailman/listinfo/community


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Intone (0.20 - alpha release) Elementary based mplayer frontend

2009-04-05 Thread c_c

Hi,

Hi,
I get the following error when starting with shr testing:
intone: error while loading shared libraries: libecore_input.so.0:
cannot open shared object file: No such file or directory

You'll probably need to upgrade to shr-unstable. Intone needs the newer 
releases of elementary (and enlightenment therefore).

 One check is to run the elementary tests application and see if the demos for 
sliders and genlists are available. If not - upgrade to shr-unstable.

-- 
View this message in context: 
http://n2.nabble.com/Intone-%280.20---alpha-release%29-Elementary-based-mplayer-frontend-tp2587826p2591006.html
Sent from the Openmoko Community mailing list archive at Nabble.com.


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community