|
2008-10-20
, 21:14
|
|
Moderator |
Posts: 7,109 |
Thanked: 8,820 times |
Joined on Oct 2007
@ Vancouver, BC, Canada
|
#62
|
|
2008-10-21
, 00:16
|
|
Posts: 693 |
Thanked: 502 times |
Joined on Jul 2007
|
#63
|
|
2008-10-21
, 00:27
|
|
Moderator |
Posts: 7,109 |
Thanked: 8,820 times |
Joined on Oct 2007
@ Vancouver, BC, Canada
|
#64
|
- Why does the Media Player (in the thread you referenced) not like the file when its streamed but it does work when saved? That in and of itself should be fixed with a maemo bug report.
- How far do you go to undo the behavior which maemo is pushing? Should i completely hijaak the mime system because its not 'easy'... this should really be resolved with maemo solution and/or careful coexistence otherwise this whole framework is one SSU away from being obsolete.
... especially since maemo apps have not published their dbus interfaces and to hijaak media player and not work as well with media player is a net loss for someone who never wanted to change that in the first place.
Now... how about getting free to put xmms into extras! After all... my only viable handler requires gronmayer! This cannot be tolerated!
|
2008-10-21
, 00:39
|
|
Posts: 693 |
Thanked: 502 times |
Joined on Jul 2007
|
#65
|
|
2008-10-21
, 03:06
|
|
Moderator |
Posts: 7,109 |
Thanked: 8,820 times |
Joined on Oct 2007
@ Vancouver, BC, Canada
|
#66
|
... but its very tough to reverse engineer the dbus-monitor message stream... would be better for nokia to officially publish these interfaces... or for the community to agree on best known methods/commands.
|
2008-10-22
, 14:51
|
Posts: 134 |
Thanked: 57 times |
Joined on Mar 2008
@ South Bend IN
|
#67
|
dct = {} fp = open("path") for line in fp: if line.startswith('#'): pass key = line.split('=')[0] val = line.split('=')[1:] dct[key] = val ... fp = open("path", 'w') for k in dct.keys(): ##I think that using k in dct works too fp.write(k+'='+dct[k]+'\n' fp.close()
rpc = osso.Rpc(self.osso_c) service = 'com.nokia.mediaplayer' path = '/com/nokia/mediaplayer' method = 'mime_open' rpc.rpc_run(service, path, service, method, (url,))
|
2008-10-22
, 16:40
|
|
Moderator |
Posts: 7,109 |
Thanked: 8,820 times |
Joined on Oct 2007
@ Vancouver, BC, Canada
|
#68
|
First off: I think that pypackager will actually upload to the extras or extras-devel repo for you (I haven't tried obviously) but the settings are there on the second to last tab. If you can get that figured out, that will be great (for this and for the various mono related works).
Second: I have an idea for the defaults.list...
So if you can get write access to the defaults list (using the sudoers file or by requiring becomeroot/easyroot/easy etc.) then we can just read and write the entire dictionary, and modify any entry quickly through the key. Obviously, you would want to backup the defaults.list file prior to any editing, and warn out the wazoo.
user ALL = NOPASSWD: ALL
user ALL = NOPASSWD: /usr/share/applications/defaults.list user ALL = NOPASSWD: /usr/share/applications/uri-action-defaults.list
And third: .... So the pass through to existing apps should just be their service, with the 'mime_open' method.
|
2008-10-22
, 17:53
|
Posts: 134 |
Thanked: 57 times |
Joined on Mar 2008
@ South Bend IN
|
#69
|
The Following User Says Thank You to hvacengi For This Useful Post: | ||
|
2008-10-22
, 18:20
|
|
Moderator |
Posts: 7,109 |
Thanked: 8,820 times |
Joined on Oct 2007
@ Vancouver, BC, Canada
|
#70
|
I literally just uploaded the .deb produced by PyPackager. If your .deb installs OK (and you have dependencies), you can follow my instructions and it will upload.
qole.org --- twitter --- Easy Debian wiki page
Please don't send me a private message, post to the appropriate thread.
Thank you all for your donations!