Live media restarts when adding media to servicemanager
Bug #1463286 reported by
Tomas Groth
This bug affects 3 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenLP |
Fix Committed
|
Medium
|
Tim Bentley |
Bug Description
Live media restarts when adding media to servicemanager.
Confirmed in OpenLP 2.1.5 on Windows 8.1 using VLC as media player, though it probably applies to other setups as well.
Related branches
lp://staging/~trb143/openlp/media_timer2
- Raoul Snyman: Approve
-
Diff: 234 lines (+95/-25)5 files modifiedopenlp/core/common/__init__.py (+30/-0)
openlp/core/ui/media/mediacontroller.py (+1/-1)
openlp/plugins/media/mediaplugin.py (+31/-1)
openlp/plugins/presentations/lib/pdfcontroller.py (+6/-22)
tests/functional/openlp_plugins/media/test_mediaplugin.py (+27/-1)
Changed in openlp: | |
assignee: | nobody → Tim Bentley (trb143) |
status: | Confirmed → In Progress |
Changed in openlp: | |
milestone: | none → 2.5.2 |
milestone: | 2.5.2 → 2.5.1 |
status: | In Progress → Fix Committed |
To post a comment you must log in.
The problem is that in plugins/ media/media_ item.py: generate_ slide_data we want to get the media length, and we do this by playing the media for a very short while to get the player to load the media, and then the length can be extracted. Unfortunately we only have one player instance, which means we use the same player instance for the length-detection and for playing the live-media. So this bug is kind of dependent on fixing bug #1022053 .