Re: Small improvements suggestion to intone
Hi. Some weeks ago, i suggested that intone should request the bluetooth ressource when using a BT headset, and you told me it was already done. I made some tests this morning : - start intone, by default mine is set to BT headset - try to play a track : bluetooth doesn't get enabled, playback will fail with 'Can't stream to bluetooth' - go into settings, output will have fall back to speakers - switch to bt headset, then the ressource gets requested. So about this, i have two comments : - could intone request the ressource on startup, if it's already set to bt headset? - i never listen to music via the headset, but sometimes playback fails (e.g. i forgot to poweron my headset). Maybe in that case, the settings should be kept to 'headset' anyway? Also, i noticed something else : if you made a call using a bt headset, first song playback using intone will fail : i hear myself and the surroundings noises in the headset, as if i was using it for a call. After a few seconds, i hear a crank, and the device disconnects. After that, i can stream music using intone (i don't recall if intone freezes at this point everytime or only sometimes). On the other hand, if i make a call using the headset, then play a song using mplayer -ao alsa:device=bluetooth then it works (the headset switches back to a2dp mode). I hope you can fix theses issues.. Thanks again for this wonderful piece of code :) -- View this message in context: http://n2.nabble.com/Small-improvements-suggestion-to-intone-tp3584668p3728157.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: Small improvements suggestion to intone
Hi, Laszlo KREKACS wrote: When I returned to the list view, there were still a 'to add files use Songs button' item in the list. You need to select a playlist for this to go. Laszlo KREKACS wrote: I clicked on the album view, and segmentation fault happened. Sorted out. Thanks for pointing it out - I'd missed that. Laszlo KREKACS wrote: However it does not display the head icon when there is no cover art, it displays nothing, blank. Actually the head icon is the default if you use a photo widget and don't set it to an image / set it to an image file that doesn't exist. I am now using the image widget for the smoothening effect. It doesn't show anything else if the image is not found. As I mentioned before, the ipk from shr's feeds are missing the no-album-art.jpg file which should be in the /usr/share/intone directory. Here is the file - you can manually copy it to /usr/share/intone. http://n2.nabble.com/file/n3603052/no-album-art.jpg no-album-art.jpg Laszlo KREKACS wrote: It tend to display the end of the list. Yup. Need to sort that out. -- View this message in context: http://n2.nabble.com/Small-improvements-suggestion-to-intone-tp3584668p3603052.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: Small improvements suggestion to intone
Hi, Laszlo KREKACS wrote: I also tried to debug with gdb, but without success: Can you try this? I was plying around with the scandir wierdness on reiserfs and perhaps committed a version with bugs. This should sort out the crashes. http://n2.nabble.com/file/n3591628/intone intone If something still goes bad try after rm -rf .intone. -- View this message in context: http://n2.nabble.com/Small-improvements-suggestion-to-intone-tp3584668p3591628.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: Small improvements suggestion to intone
Hi, Davide wrote: Now I can't add any single song to intone :( The same songs on a ext3 partition are recognised OK. There is some wierdness with scandir. Apparently it only returns the correct type on ext 2,3 fs. With reiserfs - this doesn't happen. All directories are hence not recgonised and hence so scanning takes place. I've made some changes that correctly calculates the type using stat(). Can you try the binary in the message above? It should solve the issues (but might be a little slower - as if it could after the tag scanning bit :-). Thanks -- View this message in context: http://n2.nabble.com/Small-improvements-suggestion-to-intone-tp3584668p3591634.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: Small improvements suggestion to intone
On Sun, Sep 6, 2009 at 8:43 AM, c_ccchan...@yahoo.com wrote: http://n2.nabble.com/file/n3591628/intone intone If something still goes bad try after rm -rf .intone. I selected dir, and added successfully. When I returned to the list view, there were still a 'to add files use Songs button' item in the list. I clicked on the album view, and segmentation fault happened. I relaunched intone, and it has my directories. However it does not display the head icon when there is no cover art, it displays nothing, blank. Best regards, Laszlo ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: Small improvements suggestion to intone
On Sun, Sep 6, 2009 at 9:42 AM, Laszlo KREKACSlaszlo.krekacs.l...@gmail.com wrote: If something still goes bad try after rm -rf .intone. Another bug: When you change back to the list view, it does not jump to the actual playin file anymore. It tend to display the end of the list. Best regards, Laszlo ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: Small improvements suggestion to intone
O Domingo, 6 de Setembro de 2009, c_c escribiu: Hi, Hi! There is some wierdness with scandir. Apparently it only returns the correct type on ext 2,3 fs. With reiserfs - this doesn't happen. All directories are hence not recgonised and hence so scanning takes place. I've made some changes that correctly calculates the type using stat(). Can you try the binary in the message above? It should solve the issues (but might be a little slower - as if it could after the tag scanning bit :-). Thanks I have tried http://n2.nabble.com/file/n3591628/intone, with no success. Dirs are still seen as files... Is that the binary I should try? Thank you! PS I think this is related to: http://www.mail-archive.com/reiserfs-l...@namesys.com/msg16450.html -- David Garabana Barro jabber google talk ID:da...@garabana.com Clave pública PGP/GPG: http://davide.garabana.com/pgp.html 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: Small improvements suggestion to intone
O Domingo, 6 de Setembro de 2009, c_c escribiu: There is some wierdness with scandir. Apparently it only returns the correct type on ext 2,3 fs. With reiserfs - this doesn't happen. All directories are hence not recgonised and hence so scanning takes place. I've made some changes that correctly calculates the type using stat(). Can you try the binary in the message above? It should solve the issues (but might be a little slower - as if it could after the tag scanning bit :-). Thanks It seems d_type only works with ext2/3, so I bet it should also fail with NFS (and any non ext2-3 fs). I will try and let you know. -- David Garabana Barro jabber google talk ID:da...@garabana.com Clave pública PGP/GPG: http://davide.garabana.com/pgp.html 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: Small improvements suggestion to intone
O Sábado, 5 de Setembro de 2009, Laszlo KREKACS escribiu: Hi c_c! 7. Future idea: Implement effects for the music. I already suggested karaoke effect. Others said, the implementation is rather simple, you mix the left and right channel in the way it lowers the singer voice. Please... And don't forget my songs are not scanned bug :) -- David Garabana Barro jabber google talk ID:da...@garabana.com Clave pública PGP/GPG: http://davide.garabana.com/pgp.html 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: Small improvements suggestion to intone
Hi, Laszlo KREKACS wrote: 1. In the song list, switch between filename/Artist/Song Title/Album view Would it be fine if I put an option for this in the settings page? Its not likely to be used often. Laszlo KREKACS wrote: 2. Different ordering possibility, aka. improve the shuffle button * Order by filename (as it does currently) * Order by album * Order by Artist * Order by Title * Shuffle the list Will implement these soon. Laszlo KREKACS wrote: Party mode Will take some time. Laszlo KREKACS wrote: * play only the next song, and stop OR play one song infinitely Will implement soon. Laszlo KREKACS wrote: 4. When adding new songs dir, should be a list view, where it lists all added dir, and could also remove add to it. (I already suggested it) Almost done - testing it now. Laszlo KREKACS wrote: 5. Implement minimal lyrics editor (MOST IMPORTANT;))) (I already suggested) Will take a little time. Laszlo KREKACS wrote: It would be also really usefull as it could autoscroll the list. Will need some experimenting and so will take some time. Laszlo KREKACS wrote: 6. Implement in the lyrics view zoom in and zoom out button Will implement soon Laszlo KREKACS wrote: 7. Future idea: Implement effects for the music. For simple Karaoke effect, one of the channels is inverted, both channels are mixed and sound is played back mono. This is going to require intone to move to playing the songs itself (decoding and sending sound to alsa pcm). Also, I'm not sure if the FR can handle this much in realtime. Same goes for other DSP effects. I'm going to need some pointers here from DSP guru's. I've just about managed to get a guitar tuner going on the FR - and its slow - but usable. Laszlo KREKACS wrote: By the way c_c, do you also need this layer manipulating demo program? Frankly, i haven't gotten around to it. I'm cleaning up some code and getting the song dir view going (actually almost done). Once this is over, I'll finish off the simpler tasks - which should be soon. Keep the ideas coming. It just takes one interested person to get nice ideas into a program. Thanks. Davide wrote: And don't forget my songs are not scanned bug :) I cant seem to find the reason. Can you send me the one song that is creating issues? I can only think of the tags (where I'm not doing any checking) that could create such an issue. But I'll need it to test. -- View this message in context: http://n2.nabble.com/Small-improvements-suggestion-to-intone-tp3584668p3584832.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: Small improvements suggestion to intone
On Sat, Sep 5, 2009 at 1:18 PM, c_ccchan...@yahoo.com wrote: For simple Karaoke effect, one of the channels is inverted, both channels are mixed and sound is played back mono. This is going to require intone to move to playing the songs itself (decoding and sending sound to alsa pcm). Also, I'm not sure if the FR can handle this much in realtime. Same goes for other DSP effects. I'm going to need some pointers here from DSP guru's. I've just about managed to get a guitar tuner going on the FR - and its slow - but usable. No need to be real time. We could generate them (ie converting music, please wait...), and play them as simple music files. It is not often used, just for fun, so no problem if it has its cost. By the way c_c, do you also need this layer manipulating demo program? Frankly, i haven't gotten around to it. Ok, I will cook up a demo program for it. Keep the ideas coming. It just takes one interested person to get nice ideas into a program. Thanks. Ideas are only coming if you *use* the app, and see what could be different. If you dont use it, no useful ideas are turning out;) Best regards, Laszlo ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: Small improvements suggestion to intone
Hi, Ok, the song directories list is done. Code committed to svn. Here's a binary. http://n2.nabble.com/file/n3585318/intone intone Laszlo KREKACS wrote: No need to be real time. Then, maybe it would be better if it was done as a an external script that I could call from Intone? Same for the cover art and lyrics fetching. Laszlo KREKACS wrote: Ok, I will cook up a demo program for it. Thanks. -- View this message in context: http://n2.nabble.com/Small-improvements-suggestion-to-intone-tp3584668p3585318.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: Small improvements suggestion to intone
On Sat, Sep 5, 2009 at 4:12 PM, c_ccchan...@yahoo.com wrote: Hi, Ok, the song directories list is done. Code committed to svn. Here's a binary. http://n2.nabble.com/file/n3585318/intone intone Thx, testing Laszlo KREKACS wrote: Then, maybe it would be better if it was done as a an external script that I could call from Intone? Same for the cover art and lyrics fetching. I envision an FSO daemon for it. I would execute simple script file from directories. Where each directory would correspond an event. Directories: timeout/ gprs/ usb/ wifi/ So we could put our script in usb (for usb net) and in wifi. And we would simply write in our script, that delete the other script from usb dir (if our script is executed in wifi dir). The timeout script would simply correspond to 'launch this program at 16:00', and we could simply implement a alarm application;). Than in the script would simply launch fso-alarm through dbus.;))) It would be dead simple and robust implementation. No need extra voodoo, only put the right dir your program. Best regards, Laszlo ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: Small improvements suggestion to intone
Hi, In the song list, switch between filename and Song Title is done. Here's the binary. http://n2.nabble.com/file/n3585909/intone intone Do you need other options too for the list? -- View this message in context: http://n2.nabble.com/Small-improvements-suggestion-to-intone-tp3584668p3585909.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: Small improvements suggestion to intone
Hi, Laszlo KREKACS wrote: It would be dead simple and robust implementation. No need extra voodoo, only put the right dir your program. interesting! Let me know when you start working on it. -- View this message in context: http://n2.nabble.com/Small-improvements-suggestion-to-intone-tp3584668p3585922.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: Small improvements suggestion to intone
O Sábado, 5 de Setembro de 2009, c_c escribiu: Hi, Davide wrote: And don't forget my songs are not scanned bug :) I cant seem to find the reason. Can you send me the one song that is creating issues? I can only think of the tags (where I'm not doing any checking) that could create such an issue. But I'll need it to test. No, it's not a tags issue I can't simply enter on dirs inside my Reiserfs partition. They are show as files :( When I first reported the bug, I could at least enter on dirs, but only songs one level below the actual directory were scanned. Scanning was not recursive, but I could add songs. Now I can't add any single song to intone :( The same songs on a ext3 partition are recognised OK. -- David Garabana Barro jabber google talk ID:da...@garabana.com Clave pública PGP/GPG: http://davide.garabana.com/pgp.html 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: Small improvements suggestion to intone
On Sat, Sep 5, 2009 at 5:14 PM, c_ccchan...@yahoo.com wrote: Hi, In the song list, switch between filename and Song Title is done. Here's the binary. http://n2.nabble.com/file/n3585909/intone intone Do you need other options too for the list? 1. I removed the dir which was listed. Then I added a dir containing only 3 files. It began scanning, but crashed after. 2. I removed the .intone directory and tried to relaunch intone, it coredumps since Logs: r...@om-gta02 ~ $ intone db ver 62 1792: old priority 0, new priority 0 Using **pending_return in dbus_connection_send_with_reply_setup() without pending_setup is deprecated and strongly discouraged Using **pending_return in dbus_connection_send_with_reply_setup() without pending_setup is deprecated and strongly discouraged Using **pending_return in dbus_connection_send_with_reply_setup() without pending_setup is deprecated and strongly discouraged 18 SQL error: no such table: 19 SQL error: no such table: Xlib: unexpected async reply (sequence 0x269)! *** glibc detected *** intone: double free or corruption (!prev): 0x0020d548 *** Aborted r...@om-gta02 ~ $ rm -rf .intone/ r...@om-gta02 ~ $ intone 16 SQL error: unable to open database file Creating new db file 16.5 SQL error: 1 not an error db ver 63 Killed 1827: old priority 0, new priority 0 Using **pending_return in dbus_connection_send_with_reply_setup() without pending_setup is deprecated and strongly discouraged Using **pending_return in dbus_connection_send_with_reply_setup() without pending_setup is deprecated and strongly discouraged Using **pending_return in dbus_connection_send_with_reply_setup() without pending_setup is deprecated and strongly discouraged Segmentation fault r...@om-gta02 ~ $ intone db ver 63 Killed 1846: old priority 0, new priority 0 Using **pending_return in dbus_connection_send_with_reply_setup() without pending_setup is deprecated and strongly discouraged Using **pending_return in dbus_connection_send_with_reply_setup() without pending_setup is deprecated and strongly discouraged Using **pending_return in dbus_connection_send_with_reply_setup() without pending_setup is deprecated and strongly discouraged Segmentation fault r...@om-gta02 ~ $ intone ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: Small improvements suggestion to intone
Hi, Laszlo KREKACS wrote: 1. I removed the dir which was listed. Then I added a dir containing only 3 files. It began scanning, but crashed after. 2. I removed the .intone directory and tried to relaunch intone, it coredumps since Can you check if there is no intone / mplayer process hung in the background? That could lock up the db. Then rm -rf .intone and run intone. -- View this message in context: http://n2.nabble.com/Small-improvements-suggestion-to-intone-tp3584668p3586453.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: Small improvements suggestion to intone
Hi, Try this binary. http://n2.nabble.com/file/n3586458/intone intone -- View this message in context: http://n2.nabble.com/Small-improvements-suggestion-to-intone-tp3584668p3586458.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: Small improvements suggestion to intone
Can you check if there is no intone / mplayer process hung in the background? That could lock up the db. Then rm -rf .intone and run intone. I will also reboot the phone. But there is no intone for sure. r...@om-gta02 ~ $ ps aux|grep intone root 2223 1.0 1.6 15668 2044 pts/4S19:42 0:00 mplayer -idle -quiet -slave -msglevel global=6 -input file=/tmp/intone-mplayer root 2234 0.0 0.6 3268 816 pts/4S+ 19:43 0:00 grep intone r...@om-gta02 ~ $ kill 2223 r...@om-gta02 ~ $ ps aux|grep intone root 2238 0.0 0.6 3268 816 pts/4S+ 19:43 0:00 grep intone r...@om-gta02 ~ $ ps aux|grep intone root 2240 0.0 0.6 3268 816 pts/4S+ 19:43 0:00 grep intone r...@om-gta02 ~ $ rm -rf .intone r...@om-gta02 ~ $ intone 16 SQL error: unable to open database file Creating new db file 16.5 SQL error: 1 not an error db ver 63 2256: old priority 0, new priority 0 Using **pending_return in dbus_connection_send_with_reply_setup() without pending_setup is deprecated and strongly discouraged Using **pending_return in dbus_connection_send_with_reply_setup() without pending_setup is deprecated and strongly discouraged Using **pending_return in dbus_connection_send_with_reply_setup() without pending_setup is deprecated and strongly discouraged Segmentation fault r...@om-gta02 ~ $ ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: Small improvements suggestion to intone
On Sat, Sep 5, 2009 at 7:40 PM, c_ccchan...@yahoo.com wrote: Try this binary. http://n2.nabble.com/file/n3586458/intone intone With that binary the result: r...@om-gta02 ~ $ kill 2285 r...@om-gta02 ~ $ kill 2286 r...@om-gta02 ~ $ ps aux |grep intone root 2296 0.0 0.6 3268 816 pts/4S+ 19:45 0:00 grep intone r...@om-gta02 ~ $ rm -rf .intone/ r...@om-gta02 ~ $ intone 16 SQL error: unable to open database file Creating new db file 16.5 SQL error: 1 not an error db ver 63 2315: old priority 0, new priority 0 Using **pending_return in dbus_connection_send_with_reply_setup() without pending_setup is deprecated and strongly discouraged Using **pending_return in dbus_connection_send_with_reply_setup() without pending_setup is deprecated and strongly discouraged Using **pending_return in dbus_connection_send_with_reply_setup() without pending_setup is deprecated and strongly discouraged Segmentation fault r...@om-gta02 ~ $ ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: Small improvements suggestion to intone
On Sat, Sep 5, 2009 at 7:40 PM, c_ccchan...@yahoo.com wrote: Try this binary. http://n2.nabble.com/file/n3586458/intone intone I also tried to debug with gdb, but without success: r...@om-gta02 /usr/bin $ gdb intone GNU gdb 6.8 Copyright (C) 2008 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type show copying and show warranty for details. This GDB was configured as arm-angstrom-linux-gnueabi... (gdb) run Starting program: /usr/bin/intone db ver 63 [1] + Stopped (tty output) gdb intone r...@om-gta02 /usr/bin $ fg gdb intone [New LWP 2479] [New LWP 2465] Program received signal SIGTTOU, Stopped (tty output). 0x40a92ef0 in waitpid () from /lib/libc.so.6 (gdb) cont Continuing. Program received signal SIGTTOU, Stopped (tty output). [Switching to LWP 2479] 0x40a92ef0 in waitpid () from /lib/libc.so.6 (gdb) ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community