Notices


Reply
Thread Tools
GreatGonzo's Avatar
Posts: 275 | Thanked: 389 times | Joined on Feb 2010 @ Sydney
#1
Description

somewidget is as qml-based desktop widget to control the excellent someplayer.

The source can be found in the repository

Pre-requisites
  • quick-widgets-0.2.2 ( this requires extras-devel)
  • qtquickcompat

Installation
  • Download the attached zip file.
  • Unzip it
  • Launch Quick Widgets from the application menu
  • press the qml button
  • navigate into somewidget and select somewidget.qml

Known pitfalls
  • use someplayer dbus method "state" to detect changes to the playing state from the someplayer gui.
  • someplayer doesn't offer album art (via dbus) yet v0.4 (embedded album art not supported)
  • fancier interface with fancy qml ueber effects as of v0.3
  • unicode not supported - Fixed in quick-widgets-0.2.2
  • top margin overflow - fixed in somewidget-0.2.zi
  • no functionality to start someplayer - added in v0.5
  • updates of track info lag - fixed in v0.5
Notes

You can have as many widgets as you like. However, they don't know about each other so the same problem with respect to the playing state happens.

The look and feel can be customised by editing the qml. For now I have chosen colours and the theme's mediaplayer icons are used.

Individual controls can also be run, e.g. if one only wants the track info or a toggle play button.

It could be used for the internal mediaplayer as well. Just change the dbus commands.
Attached Images
 
Attached Files
File Type: zip somewidget-0.5.zip (5.6 KB, 610 views)
File Type: zip somewidget-0.6.zip (6.7 KB, 546 views)
__________________
Quick Widgets - http://wiki.maemo.org/Quick_Widgets

Last edited by GreatGonzo; 2011-04-04 at 14:22.
 

The Following 28 Users Say Thank You to GreatGonzo For This Useful Post:
TMavica's Avatar
Posts: 2,021 | Thanked: 1,060 times | Joined on Apr 2010 @ Hong Kong
#2
u did a good job
 
5spdvl's Avatar
Posts: 220 | Thanked: 66 times | Joined on Aug 2010 @ Melbourne, Australia
#3
This obviously doesn't change the issue of SomePlayer not producing sound when the profile is set to silent (I'm aware of the work around)?
 

The Following User Says Thank You to 5spdvl For This Useful Post:
GreatGonzo's Avatar
Posts: 275 | Thanked: 389 times | Joined on Feb 2010 @ Sydney
#4
It just uses someplayer dbus controls. I don't have that issue though.
__________________
Quick Widgets - http://wiki.maemo.org/Quick_Widgets
 
TMavica's Avatar
Posts: 2,021 | Thanked: 1,060 times | Joined on Apr 2010 @ Hong Kong
#5
everytime need to open the someplayer in order to make the widget works, is a little bit unconvenience

by the way, thanks
 
Posts: 173 | Thanked: 106 times | Joined on Jun 2010
#6
Sorry my English is not good
Bug:
Chinese Tag information in widgets,is Display Garbled
I do not know whether other countries, such

 
GreatGonzo's Avatar
Posts: 275 | Thanked: 389 times | Joined on Feb 2010 @ Sydney
#7
sorry does anybody know how to do unicode processing from dbus --print-reply?

Answer to self:

Code:
    QTextCodec* codec = QTextCodec::codecForName("utf-8");
    QString out = codec->toUnicode(m_process->readAllStandardOutput());

This will need to be fixed in quick-widgets. I'll push out a fix soon.
__________________
Quick Widgets - http://wiki.maemo.org/Quick_Widgets

Last edited by GreatGonzo; 2011-03-11 at 04:44.
 

The Following 3 Users Say Thank You to GreatGonzo For This Useful Post:
pedrocoba's Avatar
Posts: 118 | Thanked: 7 times | Joined on Jan 2011 @ indonesia
#8
HELP me!

I already follow the step stride, but can not
this my desktop display
 
pedrocoba's Avatar
Posts: 118 | Thanked: 7 times | Joined on Jan 2011 @ indonesia
#9
HELP me!

I already follow the step stride, but can not
this my desktop display
 
GreatGonzo's Avatar
Posts: 275 | Thanked: 389 times | Joined on Feb 2010 @ Sydney
#10
Originally Posted by pedrocoba View Post
HELP me!

I already follow the step stride, but can not
this my desktop display
That is strange:

is there a "content" directory in the somewidget directory?
__________________
Quick Widgets - http://wiki.maemo.org/Quick_Widgets
 
Reply


 
Forum Jump


All times are GMT. The time now is 12:03.