Re: What's wrong with folder browsing?

2007-05-21 Thread Hans J. Koch
Am Montag 21 Mai 2007 00:13 schrieb Karoliina Salminen:

 
 Now I could imagine a brilliant tool that would sort of solve this problem:
 A program or script that would run on linux and which would go and scan
 all the subfolders in the media
 folder and put the tags to the mp3-files on place so that the album name
 would be created from the folder name and the track name from the
 filename. Obviously it should do this without re-encoding the files
 (since re-encoding would degrade sound quality in lossy compression). If
 such tool already exists, I would love to hear where I can get it

There are several commandline tools that do things like that, what about
this one (you can find more with apt-cache search mp3 on a Debian system):

$ apt-cache show mp3info
Package: mp3info
Priority: extra
Section: sound
Installed-Size: 76
Maintainer: Pawel Wiecek [EMAIL PROTECTED]
Architecture: i386
Version: 0.8.4-9.2
Depends: libc6 (= 2.3.6-6), libncurses5 (= 5.4-5), debconf | debconf-2.0
Filename: pool/main/m/mp3info/mp3info_0.8.4-9.2_i386.deb
Size: 30294
MD5sum: 1ba2865b321af42f089bb823b500671c
SHA1: 1f459ae83736e9d00fb2af8f11061e7e50fe3053
SHA256: 38de501c7872d7c0078a6158da0ecd52d978da5badd36785cb6e4a906813e7d9
Description: An MP3 technical info viewer and ID3 1.x tag editor
 MP3Info has an interactive mode (using curses) and a command line mode.
 MP3Info can display ID3 tag information as well as various technical aspects
 of an MP3 file including playing time, bit-rate, sampling frequency and other
 attributes in a pre-defined or user-specifiable output format.
 .
 If you prefer GUI you should use mp3info-gtk package.
Tag: interface::text-mode, role::program, scope::utility, uitoolkit::ncurses, 
use::checking, works-with::audio, works-with-format::mp3


HTH,
Hans
___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


Re: What's wrong with folder browsing?

2007-05-21 Thread Felipe Contreras
On 5/21/07, Karoliina Salminen [EMAIL PROTECTED] wrote:
 Hi,


 ext Kalle Vahlman wrote:
 
  Folder approach is intuitive, shared by all reasonable apps on all
  platforms, doesn't waste anything and just works.
 
 
  It does waste the users time (in the long run), which to me seems more
  important than the machines time.
 
 It pretty much depends on the user and if there are mp3-tags present on
 the files, I would like to have
 both ways available because:
 I happen to have a tag-messy music library (which is organized to
 folders, which is not my fault - I have done a lots of work to make
 compilations of various mp3-files I have got from my artist friends, but
 the tags being inconsistent is the fault of
 the author and encoder of the mp3-files) because my library consists of
 mostly indie music done by
 some friends. Obviously there are no mp3-tags on place and the files are
 organized with
 folders only (as the author of the file haven't been too interested to
 put the tags on place especially
 if the file is unfinished track that is just given out for
 review-listening), playing full albums (which are
 based on these files without mp3-tags or varying mp3-tags like Track 1
 Fin:Greenblue 1
 Track 2 fin: Green blue 2 Track 3 FIN: Blue Green3 Track 4
 Christian Worton:greenblue 4 Track 5 Fin: Greenblue 5 Track 6:
 Unknown artist:Green Blue 6 ...
 and so forth. This ends up being several artists and several albums on
 system which blindly indexes the files based on the mp3 tags, which is
 pretty problematic and which isn't my fault as listener and
 it makes me pretty confused. The only solution currently to my
 understanding, in media players only supporting
 mp3-tag based organization is to play the files one by one which is not
 so nice for listening to
 background music.

 Now I could imagine a brilliant tool that would sort of solve this problem:
 A program or script that would run on linux and which would go and scan
 all the subfolders in the media
 folder and put the tags to the mp3-files on place so that the album name
 would be created from the folder name and the track name from the
 filename. Obviously it should do this without re-encoding the files
 (since re-encoding would degrade sound quality in lossy compression). If
 such tool already exists, I would love to hear where I can get it, I
 would really
 need one since I can't really blame the various authors of my
 mp3-collection since if I am getting better indie music than
 commercial music is for free, I can't really complain, having
 inconsistent mp3-tags is small issue taken in account that
 the music is superb quality, glitches on tags, but no glitches on music!

There are some tools:

http://pwp.netcabo.pt/paol/tagtool/
http://easytag.sourceforge.net/
http://www.gnomefiles.org/app.php/gmusicbrowser

Best regards.

-- 
Felipe Contreras
___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


Re: Where is libgdk_pixbuf-2.0.la (was Compiling gtk-webcore)

2007-05-21 Thread Tommi Komulainen
On Fri, 2007-05-18 at 16:15 +0100, ext andrew gatt wrote:
  I'm trying to have a play with gtk-webcore. I've managed to compile in 
  maemo-3.0 osb-nrcore and osb-jscore. When it came to osb-nrcit it 
  complained about librsvg. After a bit of a search i found monkey bubble 
  had a reported librsvg compiled for bora. This went in alright after 
  trying twice to install along with the common library. Now osb-nrcit 
  complains about libgdk_pixbuf-2.0.la which is wants, but can't find. 
  Well it isn't there but i'm unsure how to get it.
 
  Any ideas?
 
 

 OK so does anyone know how i can get libgdk_pixbuf-2.0.la into 
 scratchbox. I've been told it comes with libgtk2.0-dev, but thats 
 installed (according to apt-get) but still no .la file.

We do not package the .la files (at least for most packages) as they
don't really solve any problems on linux systems and only cause
problems.

The problem might be that you have librsvg providing .la file that
points to the non-existent gdk-pixbuf .la file. Rebuilding librsvg or
removing the .la file should fix that.


-- 
Tommi Komulainen[EMAIL PROTECTED]
___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


Re: SNES in 770/800

2007-05-21 Thread Antonio Orlando
 Nothing there...any idea? any contact?

Searching for snes emulator on internettablettalk.com forum you can see  
there have been some efforts by ArnimS and Tak to port Snes9x or Zsnes to  
770, but as you can expect there are many problems, in particular 770's  
horsepower (or how coders are allowed to squeeze it by now), and - mainly  
- the hardware buttons, which are not suitable for the majority of snes  
games. So: yes, maybe someone will do it some day, but now you won't find  
anything usable around, sorry.


-- 
Antonio
___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


Re: What's wrong with folder browsing?

2007-05-21 Thread nick loeve
I use two 4gig SD cards. Once i stuffed them full of media canola-conf
would just take over my cpu ( i am taking a stab in the dark, that
this was the indexer) . I waited for quite a while, and even had to
charge my n800 again, and i still couldn't use it, as everything would
stop responding.

I just uninstalled it as i got sick of doing 'killall -9 canola-conf'
via xterm everytime my device slowed right down.

If there is anything i can do to help debug this, then let me know and
i will try again, but I am also using a modified kernel to support
SDHC cards, so I don't know if my debugging counts :)

Cheers

On 5/21/07, Felipe Contreras [EMAIL PROTECTED] wrote:
 On 5/21/07, Karoliina Salminen [EMAIL PROTECTED] wrote:
  Hi,
 
 
  ext Kalle Vahlman wrote:
  
   Folder approach is intuitive, shared by all reasonable apps on all
   platforms, doesn't waste anything and just works.
  
  
   It does waste the users time (in the long run), which to me seems more
   important than the machines time.
  
  It pretty much depends on the user and if there are mp3-tags present on
  the files, I would like to have
  both ways available because:
  I happen to have a tag-messy music library (which is organized to
  folders, which is not my fault - I have done a lots of work to make
  compilations of various mp3-files I have got from my artist friends, but
  the tags being inconsistent is the fault of
  the author and encoder of the mp3-files) because my library consists of
  mostly indie music done by
  some friends. Obviously there are no mp3-tags on place and the files are
  organized with
  folders only (as the author of the file haven't been too interested to
  put the tags on place especially
  if the file is unfinished track that is just given out for
  review-listening), playing full albums (which are
  based on these files without mp3-tags or varying mp3-tags like Track 1
  Fin:Greenblue 1
  Track 2 fin: Green blue 2 Track 3 FIN: Blue Green3 Track 4
  Christian Worton:greenblue 4 Track 5 Fin: Greenblue 5 Track 6:
  Unknown artist:Green Blue 6 ...
  and so forth. This ends up being several artists and several albums on
  system which blindly indexes the files based on the mp3 tags, which is
  pretty problematic and which isn't my fault as listener and
  it makes me pretty confused. The only solution currently to my
  understanding, in media players only supporting
  mp3-tag based organization is to play the files one by one which is not
  so nice for listening to
  background music.
 
  Now I could imagine a brilliant tool that would sort of solve this problem:
  A program or script that would run on linux and which would go and scan
  all the subfolders in the media
  folder and put the tags to the mp3-files on place so that the album name
  would be created from the folder name and the track name from the
  filename. Obviously it should do this without re-encoding the files
  (since re-encoding would degrade sound quality in lossy compression). If
  such tool already exists, I would love to hear where I can get it, I
  would really
  need one since I can't really blame the various authors of my
  mp3-collection since if I am getting better indie music than
  commercial music is for free, I can't really complain, having
  inconsistent mp3-tags is small issue taken in account that
  the music is superb quality, glitches on tags, but no glitches on music!

 There are some tools:

 http://pwp.netcabo.pt/paol/tagtool/
 http://easytag.sourceforge.net/
 http://www.gnomefiles.org/app.php/gmusicbrowser

 Best regards.

 --
 Felipe Contreras
 ___
 maemo-developers mailing list
 maemo-developers@maemo.org
 https://maemo.org/mailman/listinfo/maemo-developers



-- 
Nick Loeve
www.trickie.org
___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


Svg library used in OSSO?

2007-05-21 Thread anurag swarnkar
Hi,

I have some questions regarding OSSO software used in Nokia Internet Tablets. 

Is support for SVG images is there in OSSO?
Which library are you using for handling these images? Is it librsvg library?
Whether any modifications are done for optimization in the library used ?
From where can I get the source code of that library?

Thanks,



  Office firewalls, cyber cafes, college labs, don't allow you to download 
CHAT? Click here: http://in.messenger.yahoo.com/webmessengerpromo.php___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


about SoC organization reward

2007-05-21 Thread Jussi Kukkonen
Quim Gil wrote in his blog on April 14th:
 One more thing: SoC organizations get also some money to run the
 program. The only legal organization behind maemo is Nokia. For
 obvious reasons, it doesn't make any sense that this company receives
 a single SoC cent. I have been asking in maemo-developers for an
 organization willing to receive this money, unsuccessfully. Do you
 have a good idea? Let us know.

Well, I was looking at the quite interesting GUADEC 2007 programme and
thought how nice it would be to attend (and how impossible it is with my
current budget)... So, here's my proposal:

  Give travel stipends upon request to maemo community members who'd
  like to go to a maemo-related conference during this year. A fixed
  amount per person, $400 or $500, would be easiest. GUADEC is probably
  the most wanted event and it is in July, so the stipend approvals
  should happen pretty fast. My off-the-cuff timeline:
 May 21-31: Discussion and a decision about this proposal
 June 7:Requests sent to whoever makes the decision
 June 14:   Stipend receivers announced

Practical details: The amount of money received from Google is 500 USD
per completed  SoC project (hopefully that's $2000) and it will be paid
shortly after August 31, 2007.

Open issues: who makes the decision about this?

Links:
* SoC FAQ about payments:
  http://code.google.com/support/bin/answer.py?answer=60322topic=10731
* GUADEC
  http://www.guadec.org/



So, what do you think?
  -Jussi

___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


Re: What's wrong with folder browsing?

2007-05-21 Thread Gustavo Sverzut Barbieri
On 5/21/07, nick loeve [EMAIL PROTECTED] wrote:
 I use two 4gig SD cards. Once i stuffed them full of media canola-conf
 would just take over my cpu ( i am taking a stab in the dark, that
 this was the indexer) . I waited for quite a while, and even had to
 charge my n800 again, and i still couldn't use it, as everything would
 stop responding.

 I just uninstalled it as i got sick of doing 'killall -9 canola-conf'
 via xterm everytime my device slowed right down.

 If there is anything i can do to help debug this, then let me know and
 i will try again, but I am also using a modified kernel to support
 SDHC cards, so I don't know if my debugging counts :)

Just hack scripts (both init.d and dbus/service) and launch it with
lower priority, it should be the default in next release.

It basically works like this:
  - 1st time: readdir() + regexp (defined in gconf) + open() + parse
(id3lib, shipped with device) + db insert
  - on reboot: consistency check: db select + stat(), readdir() +
regexp + db query + parse (if not in db)
  - on SD removal: db delete from table where path like '/mnt/mmcX/%'.
  - on SD add: consider as first time.

Points to consider:
 - collection can be restricted, just use configuration tool. Future
versions will allow you to limit parsers (media type) per folder, like
/mnt/mmcX/Audio is just for audio, leave my covers out of picture
collection.
 - data is deleted when SD is removed in order to avoid DB growing
indefinitely, maybe you'll not see the same card again (it was a
friend's SD, for example) or data there will not be present anytime
soon (you just deleted those files using PC or other device)

it's always a trade off, you can also open xterm and execute
gst-launch... or use any simple UI.

-- 
Gustavo Sverzut Barbieri
--
Jabber: [EMAIL PROTECTED]
   MSN: [EMAIL PROTECTED]
  ICQ#: 17249123
 Skype: gsbarbieri
Mobile: +55 (81) 9927 0010
___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


Re: What's wrong with folder browsing?

2007-05-21 Thread Gustavo Sverzut Barbieri
Damn, I forgot to give you more useful hints on some specific issues!

On 5/21/07, nick loeve [EMAIL PROTECTED] wrote:
 I use two 4gig SD cards. Once i stuffed them full of media canola-conf
 would just take over my cpu ( i am taking a stab in the dark, that
 this was the indexer) . I waited for quite a while, and even had to
 charge my n800 again, and i still couldn't use it, as everything would
 stop responding.

 I just uninstalled it as i got sick of doing 'killall -9 canola-conf'
 via xterm everytime my device slowed right down.

Just use canola applet, it will give you hints when canola-conf is
scanning collection and you can click it in order to abort this
operation... also enabling you to trigger it later.

This is all using dbus signals, so maybe you can issue dbus-send
commands by hand or some other script, app if you wish.

-- 
Gustavo Sverzut Barbieri
--
Jabber: [EMAIL PROTECTED]
   MSN: [EMAIL PROTECTED]
  ICQ#: 17249123
 Skype: gsbarbieri
Mobile: +55 (81) 9927 0010
___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


PIL and camera.py

2007-05-21 Thread D. Scott Brown
The Python Bora tutorial indicates that JPEG saving was omitted from
Elvis Pfutzenreuter's camera.py due to the absence of PIL. Thanks to
the excellent efforts of Matt Croydon and the PyMaemo team, it looks
like we now have PIL and thus JPEG support in Python 2.5.1.

In camera.py example app, here's the spot to put code for saving the
video buffer to a file:

def buffer_cb(pad, buffer):
# Here you have a chance to do something with the image buffer
return True

I can write the buffer directly to a file, and get something Photoshop
can import as 16 bit RAW, but I'm having trouble getting PIL to work
with it. I've tried lots of different arguments for
Image.frombuffer(mode, size, data, raw, mode, 0, 1), but most of
what comes out is noise. Any suggestions?

With hopeful thanks,
Scott
___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


Re: What's wrong with folder browsing?

2007-05-21 Thread Frantisek Dufka
Gustavo Sverzut Barbieri wrote:
 
 Just hack scripts (both init.d and dbus/service) and launch it with
 lower priority, it should be the default in next release.

This still puts big stress on memory subsystem and slows device by 
flushing caches.

  - data is deleted when SD is removed in order to avoid DB growing
 indefinitely, maybe you'll not see the same card again (it was a
 friend's SD, for example) or data there will not be present anytime
 soon (you just deleted those files using PC or other device)

You could have option to purge old data when card was not seen for some 
time (like few days). It is much better then scanning card again when 
rebooting or quick removal and reinsert (can be quite frequent with some 
use cases).

Also if you fear of huge DB size you may consider to optionally keep DB 
directly on card with media files if it is writable and there is free 
space and also user sets it in preferences (or even if user moves it by 
hand there if canola is smart enough to keep one DB per scanned card, 
why not?).

You can also do MD5 sum of directory listing (even output of ls -R or 
-lR) and do not scan files at all if listing hash is same.

Same applies to metalayer-crawler of course.

 
 it's always a trade off

Well, sometimes it can be also sloppy coding ;-)

Frantisek
___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


Re: gpsd header files?

2007-05-21 Thread Julius Luukko
Kees Jongenburger wrote:
 On 5/20/07, Julle Luukko [EMAIL PROTECTED] wrote:
 Hello all,

 I am planning an application that needs a GPS. Since now gpsd is 
 already in N800 I thought that I would use it. But the problem is that 
 I can't find gpsd header files. I have installed osso-gpsd in 
 scratchbox, but there doesn't seem to be a osso-gpsd-dev package.

 At first I would like to compile gps-saver (available in garage) 
 myself. I tried to use the header files directly from gpsd's official 
 source. I managed to compile (needed some changes in the gps-saver 
 source) but it  fails at link phase complaining about not finding libgps.
 gpsd was introducted in it2007 so I guess it's normal that your
 program will not link.
 
 Matthew Andrew submited a mud file to compile and package gpsd for it2006
 the .deb file you can find here contains .h files and the libs
 https://garage.maemo.org/tracker/index.php?func=detailaid=822group_id=63atid=295
  
 
 (I just hope it's the same gpsd we are talking about)
 
 greetings
 

Thanks, Kees, but it seems that the it2007 version of gpsd is somewhat 
different from the stock gpsd. The struct gps_fix_t seems to have more 
fields (pitch, roll and dip) in the it2007 version. This can be seen in 
the gps-saver source.

Well, I did some more searching and found the source of osso-gpsd in 
http://repository.maemo.org/pool/bora/free/source/osso-gpsd_0.8.tar.gz. 
I will check if I am able to compile it myself.

-- 
Julle
___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


Re: gpsd header files?

2007-05-21 Thread Julius Luukko
Julius Luukko wrote:
 Kees Jongenburger wrote:
   
 On 5/20/07, Julle Luukko [EMAIL PROTECTED] wrote:
 
 Hello all,

 I am planning an application that needs a GPS. Since now gpsd is 
 already in N800 I thought that I would use it. But the problem is that 
 I can't find gpsd header files. I have installed osso-gpsd in 
 scratchbox, but there doesn't seem to be a osso-gpsd-dev package.

 At first I would like to compile gps-saver (available in garage) 
 myself. I tried to use the header files directly from gpsd's official 
 source. I managed to compile (needed some changes in the gps-saver 
 source) but it  fails at link phase complaining about not finding libgps.
   
 gpsd was introducted in it2007 so I guess it's normal that your
 program will not link.

 Matthew Andrew submited a mud file to compile and package gpsd for it2006
 the .deb file you can find here contains .h files and the libs
 https://garage.maemo.org/tracker/index.php?func=detailaid=822group_id=63atid=295
  

 (I just hope it's the same gpsd we are talking about)

 greetings

 

 Thanks, Kees, but it seems that the it2007 version of gpsd is somewhat 
 different from the stock gpsd. The struct gps_fix_t seems to have more 
 fields (pitch, roll and dip) in the it2007 version. This can be seen in 
 the gps-saver source.

 Well, I did some more searching and found the source of osso-gpsd in 
 http://repository.maemo.org/pool/bora/free/source/osso-gpsd_0.8.tar.gz. 
 I will check if I am able to compile it myself.

   
I managed to compile osso-gpsd-dev from the source and after that I can 
also compile gps-saver. So all well for the time being...

-- 
Julle

___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


Re: maemo.org is down

2007-05-21 Thread Neil MacLeod
Ferenc Szekely wrote:
 Hi,
 
 On 5/11/07, Neil MacLeod [EMAIL PROTECTED] wrote:
 The Maemo site has been down for several hours.

 This affects bugzilla and more importantly several of the essential Maemo 
 repositories are now offline.

 Are there moves afoot to make maemo.org more resiliant? I appreciate that 
 there are ongoing updates at the moment, but if the Internet Tablets are 
 going to become more popular it's essential that the internet infrastructure 
 supporting them is available 24x7.

 I appreciate your concerns, and can ensure you that we were/are more
 than unhappy because of last night events. There was a service break
 somewhere in the network of our provider's provider. We have no
 control over such events.
 We could not communicate to the list either for obvious reasons. The
 servers were totally cut off from the world. Anyway we will get a
 detailed report later today and if you are interested I can share the
 reasons with you.
 
 Br,
 ferenc

maemo.org is down again - it went down just before midnight 21 May UK, 
ironically while I was trying to respond to bug 1463 (Bugzilla is very slow).

I don't know if it's a server or network issue this time - just before 
maemo.org went off the air I was served a couple of Internal Server Error 
pages (HTTP 500) while attempting to view bugs in bugzilla. A few minutes later 
the servers disappeared completely.

I'd be interested (out of curiosity) to see the post mortem for the last 
outage, and also this second outage. It's an irritation when these outages 
happen but if/when Internet Tablets hit the big time it will become more 
unacceptable and it may be wise to consider a more resilient infrastructure (is 
nokia.com dependent on a single ISP? I'd hope not!)

___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


Re: What's wrong with folder browsing?

2007-05-21 Thread nick loeve
Awesome!

Thanks for the tips, i will have another go :)

Cheers, and a great app by the way!

On 5/21/07, Gustavo Sverzut Barbieri [EMAIL PROTECTED] wrote:
 Damn, I forgot to give you more useful hints on some specific issues!

 On 5/21/07, nick loeve [EMAIL PROTECTED] wrote:
  I use two 4gig SD cards. Once i stuffed them full of media canola-conf
  would just take over my cpu ( i am taking a stab in the dark, that
  this was the indexer) . I waited for quite a while, and even had to
  charge my n800 again, and i still couldn't use it, as everything would
  stop responding.
 
  I just uninstalled it as i got sick of doing 'killall -9 canola-conf'
  via xterm everytime my device slowed right down.

 Just use canola applet, it will give you hints when canola-conf is
 scanning collection and you can click it in order to abort this
 operation... also enabling you to trigger it later.

 This is all using dbus signals, so maybe you can issue dbus-send
 commands by hand or some other script, app if you wish.

 --
 Gustavo Sverzut Barbieri
 --
 Jabber: [EMAIL PROTECTED]
MSN: [EMAIL PROTECTED]
   ICQ#: 17249123
  Skype: gsbarbieri
 Mobile: +55 (81) 9927 0010



-- 
Nick Loeve
www.trickie.org
___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers