View Single Post
xerxes2's Avatar
Posts: 513 | Thanked: 651 times | Joined on Feb 2011 @ Sweden
#549
Hehe, well, it's not that many lines in Gstreamer either, and a playbin element plays videos too.
Code:
import gst
import gobject
gobject.threads_init()

player = gst.element_factory_make('playbin2', 'player')
player.set_property("uri", "file:///path/to/file.mp3")
player.set_state(gst.STATE_PLAYING)
__________________
But the WM7 "horse" has a blood lineage tracing back to donkeys such as WM6.5, 6.1, 6.0, 5.1 that was fully neglected for too many years and Microsoft did sweet F all to maintain it (still running on Pocket IE4/6!!).