--- Log for 20.06.104 Server: anthony.freenode.net Channel: #rockbox --- Nick: @logbot Version: Dancer V4.16p1 Started: 1 month and 5 days ago 00.04.22 *** Saving seen data "./dancer.seen" 00.13.30 Join Nibbler [0] (nibbler@port-212-202-73-96.dynamic.qsc.de) 00.27.57 Join biomass [0] (reaxion@80.179.0.82.forward.012.net.il) 00.28.35 # hey. i'm writing a plugin and i want to get the mp3entry of the current and next few songs. 00.28.44 # to do so, i did mpeg_next() several times 00.28.55 # and then mpeg_current_track() 00.29.14 # but it seems i always get the original track data, although the playlist does go forward a few songs 00.29.23 # help? 00.37.51 # yes 00.38.08 # yes? 00.38.12 # i dont really know how to do that 00.38.14 # humm 00.38.32 # now i just noticed that if i delay between the mpeg_next() and the mpeg_current_track() its ok 00.38.41 # good :) 00.38.43 # its like i needa wait until the mpeg thread handles it 00.38.44 # or something 00.44.18 # This should be the reason indeed, mpeg_next() does merely post a message to the mpeg queue to change track 00.44.31 # (just looked into mpeg.c) 00.45.15 # the problem is that mpeg_current_track is immediate, and doesn't go through the queue 00.45.24 # yup 00.45.25 # is there any way that i can know the status of the queue 00.45.30 # remember that i'm writing a plugin 00.47.42 # I think there is no direct way; I would try the following: 00.48.10 # (1) call mpeg_current_track(), store the result 00.48.19 # (2) issue mpeg_next() 00.48.37 # oh, actually, i can loop and poll mpeg_has_ 00.48.39 # track_changed 00.48.48 # mpeg_has_changed_track even 00.49.03 # (3) call mpeg_current_track() from a while loop until it has changed. Don't forget to yield() from that loop 00.50.13 # Ok, if there is such a function (didn't see that) it is even easier 00.50.18 # yeah thanks 00.50.26 # for now sleep(HZ*2) is working too. =) 00.51.18 # while (!mpeg_has_changed_track()) yield(); 00.51.24 # yeah 00.52.18 # hmm, of course add rb->... to both functions 00.55.16 # yup, it works of course 00.55.17 # cool 00.55.45 # i'm writing a small 'name that tune' application as an exercise to myself before i start implementing more 'real' hacks 00.56.03 # 'name that tune' ? 00.56.33 # yeah, it plays the first few seconds of a random song from a playlist, and lets you choose out of several songs which one it is. 00.57.07 # Ahh. Nice idea 00.57.32 # And even one that will work for both player & recorder 00.58.58 # I'll try if I get my backlight brightness 'modulation' working for the recorder (it is easy for the player) 00.59.09 # explain? 01.00.01 # My goal is to implement a simple 'light organ' plugin that uses the backlight 01.00.33 # This not trivial for several reason 01.00.34 # when i register a timer, which priority should i give it? 01.01.07 Join BC [0] (~bluechip@cpc3-colc1-3-0-cust61.colc.cable.ntl.com) 01.01.39 # biomass: It depends on (1) how important accuracy is for your application and (2) how much time the interrupt function will take 01.02.03 # all the callback will do is mpeg_pause() 01.02.11 # and, also, do i need to unregister the timer in the callback 01.02.14 # or is it automatic? 01.02.20 # As a start, I would always try lowest priority (1) 01.03.10 # No, the timer triggers interrupts at the specified interval until it is unregistered 01.05.08 # If you want to use it, please bear in mind that the longest interval the timer is capable of is ~47 ms 01.05.23 # oh 01.05.36 # and the first argument is given in clock ticks, right? 01.05.42 # yes 01.05.42 # so for 10 ms i need HZ/100? 01.06.26 # good bye 01.06.31 # bye 01.06.41 Quit dstar ("Leaving") 01.08.19 # No, HZ == 100 (the number of ticks per second). 01.08.38 # so HZ/100 would be 10ms 01.08.48 # The first argument to plugin_register_timer is given in cpu cycles 01.08.55 # oh 01.09.07 # so how do i know how many cpu cycles are there in a second? 01.09.07 # 12m? 01.09.38 # On the player, cpu clock is 12 MHz, on the recorder 11.0592 MHz 01.09.47 # is there some #define for that? 01.09.51 # yup 01.10.02 # For 10 ms, use FREQ/100 01.12.10 # If you want to use this for creating the playtime of your 'name that track' plugin, I'd rather suggest to use rb->sleep() 01.12.50 # hmm, but if i'd want a menu active at the same time 01.12.55 # would using threads be prefered? 01.14.05 # You could do this with threads, although I admit I did not yet use several threads, but will probably have to 01.15.28 # which device do you have? 01.15.50 # Recorder 20 (v1), just upgraded to 80 GB :) 01.22.36 # time to sleep 01.22.51 Part amiconn 01.38.45 Quit Nibbler (Read error: 54 (Connection reset by peer)) 01.52.37 Quit adi|home (Client Quit) 01.52.49 Join adi|home [0] (~adi|home@as5300-11.216-194-24-194.nyc.ny.metconnect.net) 01.54.24 Quit matsl ("Leaving") 02.03.30 # i've completed it! does anyone wanna try it out? 02.03.42 # that is, my "name that tune" plugin? 02.04.23 *** Saving seen data "./dancer.seen" 02.04.42 # oh yesss, I was gonna go that!! LOL 02.04.55 # s/go/do? 02.05.10 # :) yes 02.05.11 # lol 02.06.31 # Just finished updating all my plugins - try and get them released tonight :) 02.06.47 # dcc failed :( 02.06.53 Quit biomass (Excess Flood) 02.07.05 Join biomass [0] (reaxion@80.179.0.82.forward.012.net.il) 03.21.45 Quit pfavr ("ChatZilla 0.9.52B [Mozilla rv:1.6/1]") 03.23.08 Join Nibbler [0] (nibbler@port-212-202-73-96.dynamic.qsc.de) 03.30.43 Quit adi|home (Client Quit) 03.40.46 Quit AciD ("Segmentation fault (core dumped)") 03.47.49 Join adi|home [0] (~adi|home@as5300-9.216-194-23-169.nyc.ny.metconnect.net) 04.04.26 *** Saving seen data "./dancer.seen" 04.30.03 Quit Nibbler (Read error: 54 (Connection reset by peer)) 05.31.51 Part BC 06.04.27 *** Saving seen data "./dancer.seen" 06.09.06 Join Nibbler [0] (nibbler@port-212-202-73-96.dynamic.qsc.de) 07.18.29 Quit Nibbler (Read error: 54 (Connection reset by peer)) 08.04.31 *** Saving seen data "./dancer.seen" 08.33.07 Join Nibbler [0] (nibbler@port-212-202-73-96.dynamic.qsc.de) 08.55.11 Quit Nibbler (Read error: 54 (Connection reset by peer)) 10.04.35 *** Saving seen data "./dancer.seen" 10.18.09 Join Youga [0] (~Yu-Gi-oH@200-193-015-006.jvece204.dial.brasiltelecom.net.br) 10.18.17 DBUG Sent KICK Youga to server 10.18.17 # 14,01hello 10.18.18 Kick (#rockbox Youga :Colourcodes are *not* appreciated here!) by logbot!~bjst@193.15.23.131 10.18.19 Join Youga [0] (~Yu-Gi-oH@200-193-015-006.jvece204.dial.brasiltelecom.net.br) 10.18.27 DBUG Sent KICK Youga to server 10.18.27 # 14,01logbot 10.18.28 Kick (#rockbox Youga :Colourcodes are *not* appreciated here!) by logbot!~bjst@193.15.23.131 10.18.29 Join Youga [0] (~Yu-Gi-oH@200-193-015-006.jvece204.dial.brasiltelecom.net.br) 10.18.30 *** Alert Mode level 1 10.18.30 DBUG sent MODE #rockbox +b *!*Yu-Gi-oH@*.jvece204.dial.brasiltelecom.net.br 10.18.30 DBUG Sent KICK Youga to server 10.18.30 # 5,00¬4,00¬ 14,01 10.18.30 Mode "#rockbox +b *!*Yu-Gi-oH@*.jvece204.dial.brasiltelecom.net.br " by logbot (~bjst@193.15.23.131) 10.18.30 Kick (#rockbox Youga :Colourcodes are *not* appreciated here!) by logbot!~bjst@193.15.23.131 10.18.30 *** Alert Mode level 2 10.28.31 *** Alert Mode OFF 10.33.20 Join Nibbler [0] (nibbler@port-212-202-73-96.dynamic.qsc.de) 10.41.29 Join uski [0] (~uski_lapt@gandalf.digital-network.org) 10.41.33 # moo 11.15.20 Join BC [0] (~bluechip@cpc3-colc1-3-0-cust61.colc.cable.ntl.com) 11.56.53 Quit Nibbler (Read error: 54 (Connection reset by peer)) 12.04.37 *** Saving seen data "./dancer.seen" 12.41.55 Join AciD [0] (~acid@longchamp44-1-82-67-133-87.fbx.proxad.net) 13.10.34 Join pfavr [0] (~Peter_Fav@c076102a.s-oe.bostream.se) 13.31.15 Join Alcyone [0] (~flexyco@f138173.upc-f.chello.nl) 13.31.21 # Hello all! 13.31.42 # hi there 13.31.47 Nick c0utta|zZz is now known as c0utta (~c0utta@247.cust11.sa.dsl.ozemail.com.au) 13.32.09 # Does anyone have a spare display for a Jukebox recorder? 13.35.36 # http://rockbox.haxx.se/docs/repairlcd.html 13.35.37 # you have cracked the display of your recorder ? 13.35.42 # there are some places where you can buy new ones 13.35.44 # see this page: 13.35.50 # hmm c0utta was faster than me :)) 13.37.34 # yes I have a cracked display, which I want to replace myself. And Archos isn't helping me. 13.39.04 # I've checked that page before, and after some calling around it seems they don't manufacture them anymore, and are very hard to find (I couldn't find any, obviously :) ) 13.40.37 # hmmmm 13.41.03 # then u have to wait for me to adapt my color lcd to the recorder, then you'll be able to replace it with a color lcd ;) 13.41.20 Join Nibbler [0] (nibbler@port-212-202-73-96.dynamic.qsc.de) 13.41.40 # wow! 13.41.49 # but u need to wait some time 13.41.57 # i have other projects to finish before i do that 13.42.22 # I'll wait very patiently :) 13.43.06 # But the link http://www.newmp3technology.com/ was unknown for me at the time, and I've just sent an email at them 13.45.10 # i think that they can help u 13.46.30 # I have that feeling too. would be great, I use the thing without display for almost a year now. just by remembering the directory structure. And now it won't play anymore, but otherwise still functions. 13.47.38 # what do u mean ? 13.47.40 # it stopper working ? 13.47.43 # -r+d 13.47.55 # did u try the speech support ? 13.48.08 # speech? you mean the helpdesk? 13.48.12 # no 13.48.20 # rockbox supports speech 13.48.23 # i.e. it can talk to you 13.48.29 # by "reading" the menu title 13.48.35 # and even the directories name if you create the correct files 13.48.49 # eh... not with the old 1.4 I have 13.48.53 # LOL 13.49.05 # you'd better upgrade :) 13.49.14 # maaany improvements since then 13.49.27 # yeah, I feel it's risky to upgrade if it works but don't have any means of seeing what it does 13.49.37 # u're right 13.49.41 # wait for your new LCD 13.49.48 # but do you mean it has a SPEECH SYNTHESIZER BUILT IN?? 13.49.53 # no 13.50.05 # basically, when you stop playing, it loads some very small MP3s in the RAM 13.50.12 # Updates @ Cyborg Systems ...Audio-3587 Beta.2 ...DevKit v3.01 ....Random Number Plugin Library ...Graphics with Clipping Plugin Library 13.50.21 # then when you go over the menus, it simply play the mp3 that corresponds to the menu title 13.50.22 # gosh I almost got a heartattack :D 13.50.28 # it also works with directories 13.50.30 # ;) 13.51.53 # When I have it, I'll upgrade for sure. right now it's just my portable HD 13.53.07 # anyway, thanks for the info! I have to go now, but I'll leave the window open. I'm no IRC wonder, so what do I do to keep the connection alive? 13.53.16 # I'm using Mirc 13.54.27 # simply let mirc opened 13.54.36 # okay, thanks 13.54.39 # if you need to close it, the connection will be closed, but you can connect again 13.56.04 # okay. thanks again. Cya! 13.57.15 # cya ;) 14.04.40 *** No seen item changed, no save performed. 14.13.06 Quit Nibbler (Read error: 54 (Connection reset by peer)) 14.36.29 Quit Alcyone (Read error: 110 (Connection timed out)) 14.36.49 Quit uski (Read error: 113 (No route to host)) 14.48.27 Join Salokyn [0] (~Salokyn@81.56.190.52) 15.04.28 Part Salokyn 15.51.03 Join Master_Of [0] (~Master@AAmiens-106-1-21-164.w81-50.abo.wanadoo.fr) 15.51.11 # hellllllllooooooooo ! 15.51.19 # please i reallllyyy need your help ! 15.51.27 # my father 's gonna kill me ! 15.51.31 # pleaaaaaaaaase ! 15.51.34 # it's about archos 15.51.39 # archos av340 15.51.50 # please please please someooooone ! 15.52.45 # X_X 15.52.55 # i'm sure it's not so hard to repair 15.53.09 # but i need a someone who know more than me about it ! 15.53.16 # pleaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaase ! 15.57.21 Join Nibbler [0] (nibbler@port-212-202-73-96.dynamic.qsc.de) 16.04.44 *** Saving seen data "./dancer.seen" 16.38.09 Quit Master_Of () 17.11.38 Join matsl [0] (~matsl@1-1-4-2a.mal.sth.bostream.se) 17.11.53 Quit matsl (Client Quit) 18.04.48 *** Saving seen data "./dancer.seen" 18.18.24 Join [IDC]Dragon [0] (~idc-drago@pD9E34688.dip.t-dialin.net) 18.36.56 Quit Nibbler (Read error: 54 (Connection reset by peer)) 18.49.23 Join xam [0] (xam@bucephalas-wlan.ipv6.damnyou.org) 18.57.47 Quit [IDC]Dragon () 19.09.51 Part xam 19.22.00 Join scott666 [0] (~jirc@f05v-10-190.d1.club-internet.fr) 19.23.22 # hey BC 20.04.52 *** Saving seen data "./dancer.seen" 20.18.55 Quit scott666 ("Leaving") 20.21.46 Join Nibbler [0] (nibbler@port-212-202-73-96.dynamic.qsc.de) 21.01.56 Quit Nibbler (Read error: 54 (Connection reset by peer)) 21.49.42 Nick midknight2k3 is now known as midk (~Zakk@c66-235-14-120.sea2.cablespeed.com) 22.04.02 Join dstar [0] (lee@IC104.library.oregonstate.edu) 22.04.55 *** Saving seen data "./dancer.seen" 22.23.52 Quit midk (Read error: 104 (Connection reset by peer)) 22.25.36 Join midk [0] (~Zakk@c66-235-14-120.sea2.cablespeed.com) 22.34.48 Join amiconn [0] (~jens@pD9E7E781.dip.t-dialin.net) 22.45.08 Join Nibbler [0] (nibbler@port-212-202-73-96.dynamic.qsc.de) 22.58.11 Join Bagder [0] (~daniel@c25025a.hud.bostream.se) 23.19.19 Join LinusN [200] (~linus@labb.contactor.se) 23.19.29 # evening LinusN 23.19.35 # hola 23.19.57 # I don't see libplugin being used when building with the x11 sim 23.20.00 # you tried that? 23.22.17 # you don't remember? 23.22.26 # remember what? 23.22.36 # we discussed this the other day when i described my problems with it 23.22.37 # hey guys 23.22.44 # long time no see 23.22.51 # dstar: hi 23.23.11 # LinusN: I didn't realize it was that we discussed 23.23.23 # i had problems creating a static library with no unresolved symbols 23.23.51 # yes 23.23.59 # since libs are allowed to have unresolved symbols 23.24.36 # I don't think its our job to prevent that 23.24.55 # well, the rocks are static libraries 23.25.31 # so? making libplugin work adds no new problems 23.25.42 # does it? 23.25.43 # not really, no 23.26.51 Join Doehni [0] (~Doensen@8.115-136-217.adsl.skynet.be) 23.27.07 Part Doehni 23.28.11 # I guess we could link a fake target to check for unresolved symbols 23.28.20 # using the libs 23.29.55 # anyway, I was more surprised that it works in the win32 sim 23.31.20 # embarrassing isn't it? :-) 23.31.28 # shocking 23.43.38 Join scott666 [0] (~scott@f05v-10-190.d1.club-internet.fr) 23.46.12 Join scott666_ [0] (~scott@f05v-10-190.d1.club-internet.fr) 23.46.23 Quit scott666_ (Remote closed the connection)