Notices


Reply
Thread Tools
qole's Avatar
Moderator | Posts: 7,109 | Thanked: 8,820 times | Joined on Oct 2007 @ Vancouver, BC, Canada
#81
Update re: XMMS

The handler should actually be:
Code:
/bin/sh -c "LC_MESSAGES=C LANG=C /usr/bin/xmms  %params%"
re: Grandcentral

I'm going to do more research, it might actually work, my messages are only 3k (wrong numbers).
__________________
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!
 

The Following 2 Users Say Thank You to qole For This Useful Post:
pipeline's Avatar
Posts: 693 | Thanked: 502 times | Joined on Jul 2007
#82
I have updated the dbus-switchboard to version 1.2.4 in first post and repo.

I fixed case sensitivity, xmms handler, added debian java handlers, added FBReader support for certain ebook formats, and a few others. Also changed the 'temp' directory for Antiword->PDF and debian apps to /home/user/MyDocs for easier cleanup.

Additionally i reworked the filename/parameter system since i found one format would not work for all programs. Simple summary, continue to use %params% unless that doesnt work, then try %params2%

Advanced users: I have added more diagnostic messages when you run dbus-switchboard.py from xterm... where you can see what each of four filename parameters would evaluate to (params, params2, realparams, and realparams2), as well as the actual launch command.

This is probably overkill but for those who use this i wanted to leave open all options :

- Both params and params2 will force hex encodings for troublesome characters.
- %params% also forces file:// format, where params2 and realparams2 force volume format (/media/mm2/myfile.doc).
- realparams2 has no fixup.
- realparams and realparams2 both will probably require you add quotes around them to handle spaces, etc

Last edited by pipeline; 2008-11-22 at 20:15.
 
qole's Avatar
Moderator | Posts: 7,109 | Thanked: 8,820 times | Joined on Oct 2007 @ Vancouver, BC, Canada
#83
I'm experimenting with the new 1.2.4.

A new Xref for the next version; .m3u for sites like Radio Paradise.

And I've tried everything. I can't get Grandcentral to stream; it only seems to work if you download the mp3 and then listen to the file.
__________________
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!
 

The Following User Says Thank You to qole For This Useful Post:
pipeline's Avatar
Posts: 693 | Thanked: 502 times | Joined on Jul 2007
#84
Sorry to do this (thought i had tested everything), but the 1.2.4 release was not working for me in mplayer and i disovered it does not support hex encoded chars.

So i changed both realparams to convert hex encoded chars to actual chars.

realparams forces file:// at beginning, and realparams2 is volume format (/media/mmc2...)

mplayer now uses realparams with quotes around them and seems to work fine.

1.2.5 download in first post and repo.
 
qole's Avatar
Moderator | Posts: 7,109 | Thanked: 8,820 times | Joined on Oct 2007 @ Vancouver, BC, Canada
#85
Current version of Easy Debian (0.9.12) is DBus Switchboard friendly!
__________________
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!
 

The Following User Says Thank You to qole For This Useful Post:
tso's Avatar
Posts: 4,783 | Thanked: 1,253 times | Joined on Aug 2007 @ norway
#86
any chance of using this to have mplayer handle embeded flash videos?
 
qole's Avatar
Moderator | Posts: 7,109 | Thanked: 8,820 times | Joined on Oct 2007 @ Vancouver, BC, Canada
#87
Originally Posted by tso View Post
any chance of using this to have mplayer handle embeded flash videos?
If you can find a way to extract the .flv file, you can make an XRef that makes mplayer the handler for the .flv file type, and then mplayer will play the file for you.
__________________
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!
 
pipeline's Avatar
Posts: 693 | Thanked: 502 times | Joined on Jul 2007
#88
Originally Posted by qole View Post
Current version of Easy Debian (0.9.12) is DBus Switchboard friendly!
Great... does that mean i need to go back to using debbie script or keep the sudo debian hilda?

Originally Posted by tso View Post
any chance of using this to have mplayer handle embeded flash videos?
It wont play videos inside the browser, but depending on the site you might be able to disable browser flash plugin so that it shows an icon to launch mplayer standalone. I just did this for YouTube but mplayer errors saying it doesnt support Compressed SWF format. So depending on what site your interested in, it would probably have to uncompressed SWF? Alternatively, dbus-switchboard can already easily play back FLV videos such as those downloaded by MyTube.

To attempt swf (assuming your site uses uncompressed swf) you will need to disable flash component in browser, configure dbus-switchboard to intercept default 'application/x-shockwave-flash', add a new handler 'mplayer swf' and set it to :
/usr/bin/mplayer - quiet "%realparams2%

Then add a xref for .swf to use the new 'mplayer swf' handler.

It passed it as a web url to mplayer and (for youtube), mplayer complained about compressed swf format and quit without playing.

I'll keep messing around with other sites to see if theres any use in adding this to a future version.
 
qole's Avatar
Moderator | Posts: 7,109 | Thanked: 8,820 times | Joined on Oct 2007 @ Vancouver, BC, Canada
#89
Originally Posted by pipeline View Post
Great... does that mean i need to go back to using debbie script or keep the sudo debian hilda?
Perhaps the hex-encoded parameters will fix the debbie problems, so I'll test-drive things over the next few days. Stay with the known-safe "sudo debian hilda" until I've done some testing and assured myself that the parameters are being passed correctly.

I want to get this working smoothly, I want to make a nice video showing off how cool our packages work together... Got a Word document as an e-mail attachment? No problem, just click on it and read it in OpenOffice!
__________________
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!
 

The Following User Says Thank You to qole For This Useful Post:
tso's Avatar
Posts: 4,783 | Thanked: 1,253 times | Joined on Aug 2007 @ norway
#90
hmm, i may have bumped into some bug or other...

i have a .cbr, and wanted to use cbrpager rather then comix. but all i get with both gpe-filemanager and the maemo internal is that it cant find a program to open the file with...

btw, it works opening the file via terminal...

Last edited by tso; 2008-12-02 at 11:28.
 
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 23:01.