maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Development (https://talk.maemo.org/forumdisplay.php?f=13)
-   -   footify alpha, a Spotify client based on despotify (https://talk.maemo.org/showthread.php?t=52917)

poka64 2010-05-30 15:59

Re: footify alpha, a Spotify client based on despotify
 
thumbs up Joorin!

Do you have any idea how to fix the stuttering audio?

When the display dims and when I multitask the sound stutters.

Joorin 2010-05-30 16:15

Re: footify alpha, a Spotify client based on despotify
 
Quote:

Originally Posted by florian (Post 690038)
after installing 0.0.5 via dpkg (having completely removed 0.0.3) I can't start it via the Menu anymore. After a few hours, the blue icon disappeared, and when I click on Footify, it seems to crash the desktop. It reloads all from hildon.

Could you please start an XTerminal and try to start the client using
Code:

/home/opt/footify/usr/bin/footify.sh
and supply the output?

The 0.0.5 package has an application icon that should show up (I had to reboot my device for it to appear but I'm still on PR1.1.1 and this might have been fixed in PR1.2). If you still get the blur stadard icon, something is broken.

florian 2010-05-30 16:36

Re: footify alpha, a Spotify client based on despotify
 
Hi,

I can run it fine through XTerm.

However, there is no icon (not even the blue placeholder) in the menu, and clicking on the footify text below, crashes hildon.

poka64 2010-05-30 16:49

Re: footify alpha, a Spotify client based on despotify
 
Quote:

Originally Posted by florian (Post 690110)
Hi,

I can run it fine through XTerm.

However, there is no icon (not even the blue placeholder) in the menu, and clicking on the footify text below, crashes hildon.

Yes, the same thing happens here, there is no icon for footify and hildon crashes when I try clock on the footify text.

Launching footify through xterminal works

Joorin 2010-05-30 17:26

Re: footify alpha, a Spotify client based on despotify
 
Quote:

Originally Posted by poka64 (Post 690046)
thumbs up Joorin!

Do you have any idea how to fix the stuttering audio?

When the display dims and when I multitask the sound stutters.

My best guess would be to introduce some kind of buffering. But after having spent some time thinking about this, and looking at how despotify works, it seems to be a pretty big change.

I would have to redesign some central parts and I've only just got it work a little better. :)

Joorin 2010-05-30 17:36

Re: footify alpha, a Spotify client based on despotify
 
1 Attachment(s)
Quote:

Originally Posted by florian (Post 690110)
Hi,

I can run it fine through XTerm.

However, there is no icon (not even the blue placeholder) in the menu, and clicking on the footify text below, crashes hildon.

Have you upgraded to PR1.2? Is there perhaps some differences there?

My footify.desktop file is a modified version of the file I was given earlier:
Code:

[Desktop Entry]
Version=0.0.5
Encoding=UTF-8
Name=Footify
Comment=(Might be an) Open source (de)spotify application
Exec=/usr/bin/footify
Icon=footify
X-Icon-path=/usr/share/icons/
X-Window-Icon=footify
Type=Application

Perhaps something is missing?

There should be a link for the icon that looks like this
Code:

/usr/share/icons/hicolor/48x48/apps/footify.png -> ../../../../../../home/opt/footify/usr/share/icons/footify.png
Everything in the package is owned by root with 644 or 755 bits as appropriate.

EDIT:
After looking http://wiki.maemo.org/Desktop_file_format I see that the Version field is for something else than I thought. Changing it to
Code:

Version=1.0
might do the trick. Here is an updated deb with that change.

Joorin 2010-05-30 22:47

Re: footify alpha, a Spotify client based on despotify
 
1 Attachment(s)
With the kind help of SpeedEvil in #maemo-devel the problem has been debugged and solved.

PR1.2 is much more picky with how resources are indicated, meaning that my relative path to point at the icon broke hildon-desktop in two. Nice bug if you ask me.

So, here is version 0.0.5-3 with absolute paths for both the "binary" and the icon.

florian 2010-05-30 23:06

Re: footify alpha, a Spotify client based on despotify
 
Works :)

Cheers :)

SpeedEvil 2010-05-30 23:16

Re: footify alpha, a Spotify client based on despotify
 
Quote:

Originally Posted by Joorin (Post 690747)
With the kind help of SpeedEvil in #maemo-devel the problem has been debugged and solved.

PR1.2 is much more picky with how resources are indicated, meaning that my relative path to point at the icon broke hildon-desktop in two. Nice bug if you ask me.

So, here is version 0.0.5-3 with absolute paths for both the "binary" and the icon.

It helped me to work out some details of how apps are packaged in my head too - which is all good.
Thanks.

jacobkorf 2010-05-31 00:02

Re: footify alpha, a Spotify client based on despotify
 
good job Joorin! It,s working great now! no crashes anymore.
one thing which can be interesting, the shuffle button doesn,t work anymore.
Also, is there any chance to implement something to do fastforward. for example from 0:00 to 1:15?

keep up te great work!


All times are GMT. The time now is 06:10.

vBulletin® Version 3.8.8