Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
midori:webmedia_now-playing [2015/01/05 22:34] – [Some examples] jamesaxl | midori:webmedia_now-playing [2015/01/24 00:42] – [Some examples] jamesaxl | ||
---|---|---|---|
Line 53: | Line 53: | ||
string title = demo.video_title; | string title = demo.video_title; | ||
string uri = demo.video_uri; | string uri = demo.video_uri; | ||
- | stdout.printf ("you are playing %s, join me on %s\n", title, uri); | + | stdout.printf ("you are playing %s, follow |
} catch (IOError e) { | } catch (IOError e) { | ||
Line 60: | Line 60: | ||
} | } | ||
</ | </ | ||
- | Result :\\ | + | **Result:**\\ |
< | < | ||
- | Pull Me Under (Live At Luna Park) - YouTube, | + | you are playing Midori 0.5.8 : A Fast and Lightweight Web Browser For Linux Mint - YouTube, |
</ | </ | ||
- | **Python let's make more short 8-)** | + | **Python let's make it more short 8-)** |
< | < | ||
import dbus | import dbus | ||
Line 71: | Line 71: | ||
props_iface = dbus.Interface(service, | props_iface = dbus.Interface(service, | ||
properties = props_iface.GetAll(' | properties = props_iface.GetAll(' | ||
- | print "You are playing %s, follow me %s" %(properties.get(" | + | print "You are playing %s, follow me %s" %(properties.get(" |
+ | </ | ||
+ | **Result: | ||
+ | < | ||
+ | You are playing Midori 0.5.8 : A Fast and Lightweight Web Browser For Linux Mint - YouTube, follow me https:// | ||
</ | </ |