Skip to content

Odd behavior with version fix #5

@trythesalmon

Description

@trythesalmon

Can anyone give me any tips on how to fix this please? I'm replacing some existing code that used gtkmozembed with pyomxplayer as it now needs to play videos instead of show webpages. The screen is divided up using gtk. I'm a little new to python still so bear with me :)

The code originally initialised gtkmozembed with:

 self.moz=gtkmozembed()

Then loaded the URL further down the code. However if I try this with pyomxplayer, e.g.:

self.omx=OMXPlayer()

I get the .groups() error that I fixed by following the suggestion here: #3

I can get it to work by shoving all the arguments and file name into the initialization string, but I can't figure out how to then refresh it with a new file when playback has finished, if that makes sense?

Just looking for any guidance on usage etc - if anyone's got an example script which plays multiple videos in succession by passing filenames to it, that would be amazing :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions