![]() |
Kagu Media Player Released 1.0!
First media player for maemo to include support for A2DP bluetooth audio and support for maemoscrobbler. You can download it here:
http://maemo.org/downloads/product/kagu/ |
Re: Kagu Media Player Released 1.0!
There was a glitch in the 1.0 dependency list, python2.5-pygame wasn't listed. So if you installed Kagu 1.0 but it won't run, please update to 1.0.1. The auto-install link or an Application Manager update should take care of everything.
|
Re: Kagu Media Player Released 1.0!
I get the error below when trying to run kagu. The kagu scanner works fine but kagu crashes.
./kagu.py:23: RuntimeWarning: import cdrom: No module named cdrom import os, pygame, time, sys, gc ./kagu.py:23: RuntimeWarning: import joystick: No module named joystick import os, pygame, time, sys, gc sent album query took:0.115386009216 invalid album cache for UNKNOWN Traceback (most recent call last): File "./kagu.py", line 117, in <module> if __name__ == '__main__': main() File "./kagu.py", line 75, in main manager.start(screen) File "/usr/lib/kagu/manager.py", line 108, in start self.album_view = views.AlbumView() File "/usr/lib/kagu/views.py", line 75, in __init__ self.__load_album_widget() File "/usr/lib/kagu/views.py", line 97, in __load_album_widget for album in self.__get_album_sprites(): File "/usr/lib/kagu/views.py", line 115, in __get_album_sprites list2.append(widgets.AlbumArtist(row['album'],row['artist'])) File "/usr/lib/kagu/widgets.py", line 520, in __init__ width = self.album.rect.width + self.artist.rect.width AttributeError: 'NoneType' object has no attribute 'width' |
Re: Kagu Media Player Released 1.0!
Works just fine for me!!!!!!!
Thanks c22 |
Re: Kagu Media Player Released 1.0!
I figured it out. I install earlier version before and i needed to delete the covers folder. ThEre were some covers i didn't have access too so i had to gainroot, delete /home/user/MyDocs/.sounds/covers folder, then rescan. it works now
|
Re: Kagu Media Player Released 1.0!
Looks like a great program. I have a problem when trying to install the programs required for A2DP. When I try to install the SBC and Plugz, it says "Unable to install. Incompatable application package."
Anyone know anything I should do |
Re: Kagu Media Player Released 1.0!
Looks like you should switch to "Red Pill Mode" in Application Manager (info here) or install via apt-get or dpkg.
|
Re: Kagu Media Player Released 1.0!
I'm already talking to people about packaging up the A2DP dependencies properly so it isn't such a hassle to install/configure. It's the logical next step now that Kagu 1.0 has been released. Hang with us. We'll get it worked out in time.
|
Re: Kagu Media Player Released 1.0!
ok thanks I got the things installed but now when I get to the next part wget http://www.guardiani.us/sample.a2dprc it says like permission denied and cannot write to sample.a2dprc (Permission denied)
|
Re: Kagu Media Player Released 1.0!
Quote:
|
Re: Kagu Media Player Released 1.0!
thanks for the help. Here is what I typed and it seem to work but now the next section got me stuck. Sorry I am new to these commands and X Terminal
I typed wget -p/home/user http://www.guardiani.us/sample.a2dprc but when I type the cp part.. it doesn't work, what command should I type? |
Re: Kagu Media Player Released 1.0!
Quote:
Maybe you aren't root though, since you had trouble downloading with wget. root would be able to download anywhere without restrictions. please run these commands and post the result: `pwd` `whoami` Also, from now on, please make sure your working directory is /home/user by typing: `cd /home/user` before running any of the commands in the Howto. This shouldn't be necessary. When you open the xterm or log in via ssh as 'user', you'll be placed in /home/user automatically. But for some reason you don't appear to be in /home/user or else these commands would be working for you. |
Re: Kagu Media Player Released 1.0!
man this sucks, I am like stuck at every new step after I get one working. So pwd shows me as /home/user and whoami is user and wget seem to work fine but the cp command doesn't do anything. Is that some kind of program that I need or something
|
Re: Kagu Media Player Released 1.0!
cp is the copy command.
Nice install procedure... :eek: |
Re: Kagu Media Player Released 1.0!
Quote:
I'm sorry, but for now you'll just have to follow the instructions. They seem to work for everyone else. Perhaps you could tell us what error message `cp` is giving you? |
Re: Kagu Media Player Released 1.0!
theres no error message. So I do the wget command and it says blah blah saved and then I do the cp command which just automatically brings up a new line then I do the vim command and it says vim can not be found.
|
Re: Kagu Media Player Released 1.0!
So it's probably not the cp command at all - do you have vim installed? If not, use vi. If you don't know how to use vi you might be able to get away with the following:
Code:
cat sample.a2dprc | sed s/#address=00:08:F4:30:07:64/address=YOURBTADDRESS/ > ~/.a2dprc |
Re: Kagu Media Player Released 1.0!
Quote:
But I'll try to update it. |
Re: Kagu Media Player Released 1.0!
I was stuck as well, but I finally got it going. I didn't have 'wget' on my N800, but once I got that installed, everything else was easy - I just cut and pasted your directions into xterm.
I did do one thing a bit different, and maybe this will help VCi15 with his situation. I already had Midnight Commander installed, so I just went thru it's file manager and edited the files that way. I am wondering how to get this thing working, though. After following all directions, I rebooted. Once back up, I assume I am supposed to pair the stereo headset using the 'Bluetooth' applet in Control Panel. I did this, and it paired fine...of course, there are no profiles listed. Now when I go into Kagu, I have the dimmed BT log in the upper right. If I click on it, it turns on and sets the volume, but no sound is coming thru my headphones. I am using those white Logitech BT headphones that were made for the iPod, but they work with any BT device, I have done it before. Is there something I am missing? I assume the BT logo in Kagu launches the 'a2dpd' daemon that is referred in your directions. Maybe I missed something, or maybe I'm not supposed to pair the headphones if Kagu does that automatically. Thanks in advance... |
Re: Kagu Media Player Released 1.0!
Quote:
Quote:
Have you successfully completed step 10? If not, go back and try that. If the headphones are connected, but you can't get step 10 to work, then something is probably wrong with your config and you should go back through the steps again. Kagu's A2DP button is really just a convenient way to execute step 10. |
Re: Kagu Media Player Released 1.0!
Quote:
I figured out the problem, and I'll tell you what it was if you promise not to laugh at me too much - I never took the '#' sign away from the 'address' line where I put in the BT device address. :) I knew for sure I had followed your directions, but I kept overlooking that one little symbol. What was confusing matters was that out of three devices that I successfully paired, only my Samsung WEP-200 headset would 'connect' and turn on the BT icon in the main system tray. I kept thinking the other devices were incompatible for some reason. Anyways, the A2DP works great and the sound quality is fantastic! Much better quality than many other devices I have used. Thanks for making this feature available to us... One quick question: am I able to add multiple BT device addresses in the prefs file, as long as they are #'ed out? This would make it very easy to switch between different devices, just a quick edit would be all it takes. |
Re: Kagu Media Player Released 1.0!
Quote:
Eventually, I want to make a Control Panel configuration system for ~/.a2dprc as that would eliminate user error and make switching devices a bit easier. This howto is just the first step. Glad you got it working! |
Re: Kagu Media Player Released 1.0!
Quote:
|
Re: Kagu Media Player Released 1.0!
Quote:
EDIT: Removed original scripting instructions and replaced with link to new thread. |
Re: Kagu Media Player Released 1.0!
Hey Milhouse - where was this script yesterday when I was doing all of this manually? Huh?? ;)
That definitely is a good idea, simplifying the A2DP install... On another note, I wish it was possible to route the audio from Rhapsody thru the A2DP setup...but I seriously doubt this is possible. I don't know if Rhapsody uses its own player or if it is just a front end for something else. I have been using the BT dongle that came with my Logitech headphones if I need BT for Rhapsody, but it's one more thing for me to remember to charge. |
Re: Kagu Media Player Released 1.0!
Sorry for the delay orbitalcomp :)
For the time being I've hosted the script on my server www.nmacleod.com/a2dp/install.sh so once you have determined the BT Address of your headset the commands to install are as follows: See this thread for simplified A2DP installation instructions - please post in the installation thread if experiencing any problems or have suggestions. EDIT: Removed original instructions and replaced with link to new thread. |
Re: Kagu Media Player Released 1.0!
i got it working yesterday somehow, I think it was the command you gave me Milhouse but I think I will reformat my N800 and start from scratch with the new technique. Does that include the step 7 (Edit hcid.conf) eliminates a lot of skipping during playback
|
Re: Kagu Media Player Released 1.0!
I remember seeing someone talk about AVCRP? is that working or still needs to be developed
|
Re: Kagu Media Player Released 1.0!
Quote:
The only thing the script doesn't do is step 3 where you have to obtain your BT Address - you need to do that yourself by running "hcitool scan" then pass the relevant address as a parameter on the first invocation of install.sh. Note that once you have a working a2dp installation you can delete the /home/user/a2dp directory and it's contents (rm -fr /home/user/a2dp). |
Re: Kagu Media Player Released 1.0!
so are you saying that it does step 7 if I were to run the script twice? or do you mean in the line # As user "root"
|
Re: Kagu Media Player Released 1.0!
Quote:
The script should be fully restartable - that is, if you have a network error or file system error (ie. lack of space) you should be able to rerun the script until successful completion. If you follow my instructions as I have listed them in post #26 you should end up with a fully installed a2dp solution - the only thing you need to do is identify your BT address. :) NOTE: The two lines in my instructions that begin with "#" are comments - you don't need to enter these at the xterm prompt. If you execute the lines that are not comments as I have specified them, you should be good to go in a few minutes. |
Re: Kagu Media Player Released 1.0!
Hello. I just installed latest Kagu version. I succesfully scanned my memory card, but when I try to launch the player all I get is a black screen and need to manually close the application. Any clue of what is happening? I tried launching it via command-line and I see a couple warnings about joystick and cdrom modules not loaded but no errors are shown. I get the black screen and that's it. Any help is appreciated, thanks in advance! :)
|
Re: Kagu Media Player Released 1.0!
Quote:
1.) What IT OS version? 2.) 770 or n800? 3.) Do you have python 2.5 installed? Those cdrom warnings on startup can be safely ignored, BTW. Also, you might try a reboot of the tablet. perhaps it's in an odd state? |
Re: Kagu Media Player Released 1.0!
okay I think I understand now, but now my last question is.... how would I become root instead of user
|
Re: Kagu Media Player Released 1.0!
Quote:
Code:
sudo gainrootWeb Address: http://eko.one.pl/maemo Distribution: bora Components: user I'm about to start a new thread with details of a modified (simplified) a2dp installation process. I'll soon remove all previous instructions from this thread and point to the new thread. EDIT: See this thread for full install instructions. Please comment in this new thread if you have any problems or suggestions. |
Re: Kagu Media Player Released 1.0!
I've got a2dp working nicely now but does kagu support playing random files off the memory card or can you only queue up an album at a time? If not, I'm going to look at adding that as I know python quite well and I'll send a patch if i think it will be useful to anyone else...
I find the performance a little poor at present but I have 180 mp3s on my memory card which might be causing it (loading kagu player seems to take 60 seconds or so). Thanks, Nick |
Re: Kagu Media Player Released 1.0!
Quote:
Quote:
Quote:
|
Re: Kagu Media Player Released 1.0!
Quote:
Quote:
Good work so far... just a few more features and I'll be really happy :) Thanks, Nick |
Re: Kagu Media Player Released 1.0!
sample.a2dprc is no longer on http://www.guardiani.us
I get the following error when running install.sh. --23:22:52-- http://www.guardiani.us/sample.a2dprc => `sample.a2dprc' Resolving www.guardiani.us... 72.249.104.51 Connecting to www.guardiani.us|72.249.104.51|:80... connected. HTTP request sent, awaiting response... 404 Not Found 23:22:52 ERROR 404: Not Found. sample.a2dprc not found |
Re: Kagu Media Player Released 1.0!
Quote:
Thanks! |
| All times are GMT. The time now is 06:53. |
vBulletin® Version 3.8.8