maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Multimedia (https://talk.maemo.org/forumdisplay.php?f=32)
-   -   [application] pyPianobar (with pianobar) (https://talk.maemo.org/showthread.php?t=42104)

Thorprime 2010-02-05 19:14

Re: [application] pyPianobar (with pianobar)
 
Quote:

Originally Posted by fatalsaint (Post 512166)
I'm pretty sure I flagged mine as GPL. Did so in the Debian packaging anyway. And the source code is the same thing as the app to run it since it's python.

I didn't specify what version of GPL though. But, just because Sonata is GPL does that mean the images couldn't be copyrighted?

Well the issue is GPLv3 is not compatible with GPLv1/2 directly.
http://www.gnu.org/licenses/gpl-faq....3Compatibility

Usually the images fall under the same license and the code.

Quote:

Originally Posted by karim0028
Usually GPL means you can do anything with it as long as its open source, code, graphics and all....

Somewhat. The easy way to look at is:
BSD/MIT licenses say Do anything you want with my work so long as you credit me (no restrictions on your license, doesn't even have to be open source)

GPL/Apache say Do what you want to as long as you release all the derivative works under the same license.

You should prob read this whole page, especially the requirement to be able to display the license to the user.
http://www.gnu.org/licenses/quick-guide-gplv3.html

fatalsaint 2010-02-05 19:17

Re: [application] pyPianobar (with pianobar)
 
Quote:

Originally Posted by Thorprime (Post 512253)
Well the issue is GPLv3 is not compatible with GPLv2 directly. Usually the images fall under the same license and the code.



Somewhat. The easy way to look at is:
BSD/MIT licenses say Do anything you want with my work so long as you credit me (no restrictions on your license, doesn't even have to be open source)

GPL/Apache say Do what you want to as long as you release all the derivative works under the same license.

Don't forget LGPL... some sort of bastardized step-child if hypothetically GPL and BSD got drunk together and found there way to Vegas...

daperl 2010-02-05 19:24

Re: [application] pyPianobar (with pianobar)
 
Quote:

Originally Posted by fatalsaint (Post 512245)
I just can't win... I use orange and get told it conflicts with the default theme's... I use black/white to be generic and get told I need color! :D

I'm hoping someday I'll figure out how to pull colors from whatever theme you're using and use those. Don't know how to do that yet.. but now that I got transparent icons working (somewhat) decently then the framework is there for it.. just need a way to dynamically grab the colors.

Every time the theme changes, the symlink:

/etc/hildon/theme

points to the current theme.

Inside that directory is a file called:

colors.config

For the "Harmony" theme, it looks like this:

Code:

[Colors]

DefaultTextColor=#ffffff
SecondaryTextColor=#bababa
ActiveTextColor=#26abff
DisabledTextColor=#8e8e8e
PaintedTextColor=#000000

ReversedTextColor=#141414
ReversedSecondaryTextColor=#707070
ReversedActiveTextColor=#0072c2
ReversedDisabledTextColor=#949494
ReversedPaintedTextColor=#ffffff

DefaultBackgroundColor=#181818
DarkerBackgroundColor=#101010
ReversedBackgroundColor=#ffffff
SelectionColor=#30a8f8
ReversedSelectionColor=#68b8f8

ContentBackgroundColor=#000000
ContentFrameColor=#000000
ContentSelectionColor=#ffffff

TitleTextColor=#ffffff
ButtonTextColor=#ffffff
ButtonTextPressedColor=#ffffff
ButtonTextDisabledColor=#8c8c8c

AccentColor1=#41b5ff
AccentColor2=#004e80
AccentColor3=#005890
AttentionColor=#ff1919

NotificationBackgroundColor=#f8c858
NotificationTextColor=#181101
NotificationSecondaryTextColor=#4a3503

Also, the "alpha" and "beta" themes seem to be their own monsters when in a pinch. Lots of good stuff in "alpha" and "beta."

Thorprime 2010-02-05 19:25

Re: [application] pyPianobar (with pianobar)
 
Quote:

Originally Posted by fatalsaint (Post 512259)
Don't forget LGPL...

Yeh.... We don't talk about the LGPL :)

fatalsaint 2010-02-05 19:57

Re: [application] pyPianobar (with pianobar)
 
Quote:

Originally Posted by daperl (Post 512266)
<snip EXCELLENT info>

Holy mother of WIN post!!!!!!!! You rock! Thanks!!!!

fatalsaint 2010-02-06 22:16

Re: [application] pyPianobar (with pianobar)
 
New version sent. It now should be pulling "ActiveTextColor" from the theme's config, and defaulting to white if not found.

If another color seems better suited someone let me know.. colors are a little off in my SDK.

All of the below issues have been fixed, please test them:
Quote:

Originally Posted by karim0028 (Post 512235)
Hey BTW, could you add some color to the UI?

Quote:

Originally Posted by Thorprime (Post 510826)
Here are a few issues.
1: Your current username is not pre-poplated in the username screen.

2: Clicking out of the username menu to cancel crashes the app. (Or at least it quits, not sure where the crashlogs would be if it had crashed)
Closing other menus this way such as "station/create" doesn't cause the issue.

3: White border on active buttons (probably a Qt issue you may be aware of)

4:Probably should change "Snooze" to "Sleep" or "sleep timer", as this is what it is called on most TV's, ect. (But the feature works great! Awesome)

Also, the transparency is working properly now.. no more "down" buttons that was more of a hack than anything.

Please provide feedback!

fatalsaint 2010-02-06 22:34

Re: [application] pyPianobar (with pianobar)
 
Oops.. just realized I didn't add the "No Image Found."

Another new upload will be coming soon..

fatalsaint 2010-02-06 23:25

Re: [application] pyPianobar (with pianobar)
 
Ok, latest version: 1.0-3, has all fixes + No Image Found when an album cover is not found.

Thorprime 2010-02-07 03:57

Re: [application] pyPianobar (with pianobar)
 
Works and looks great!
+1 vote to move to extras-testing

fatalsaint 2010-02-07 04:13

Re: [application] pyPianobar (with pianobar)
 
Quote:

Originally Posted by Thorprime (Post 513926)
Works and looks great!
+1 vote to move to extras-testing

Would appreciate a screenshot of how the new one looks with your theme... in my SDK it's supposed to be "blue" for the alpha but shows orange.. it's really weird. Hard to tell what it really looks like.

If no one complains by tomorrow I'll throw it into testing.

ETA: Quick thought... what about an icon?


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

vBulletin® Version 3.8.8