<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Hi Tim,<div class=""><br class=""></div><div class="">I’ve done some quick testing on Mac, and found a few bugs. I will group them by player:</div><div class=""><br class=""></div><div class="">Webkit Player bugs</div><div class="">1. Timer sometimes doesn’t progress as video plays. This happened multiple times, but now I can’t reproduce it.</div><div class=""><br class=""></div><div class="">2. On a single screen set-up, clicking on the progress bar to jump to a different section of the video causes the video to become paused IF you click on the progress bar, then ‘option-`’ switch to the video screen, then back then click the progress bar, and repeat a few times quickly. (On Mac, ‘option-`’ is like ‘option-tab’ or ‘alt-tab’, except it only switches between the windows of a single application.) (This is reproducible, but fairly tricky to reproduce, because you have to do it many times before it happens. Clicking the pause button, then the play button starts the video again.</div><div class=""><br class=""></div><div class="">3. After doing the above, I am unable to manually switch between media players. (Although after quitting and restarting OpenLP, the player I tried to select is selected.)</div><div class=""><br class=""></div><div class="">4. After quitting and relaunching with Webkit selected as player, a similar bug was found. If looping is enabled, clicking the progress bar very close to the end pauses the video. After this bug, you are still able to switch between media players without relaunching. This is what differentiates this bug from bug 2. This occurs in preview and live.</div><div class=""><br class=""></div><div class="">System Player bugs</div><div class="">5. Sometimes the video plays full screen, and sometimes it sits in the top left corner at its real resolution. I can’t reproduce this unfortunately, but it happened once while clicking through the progress bar, and switching between screens with ‘option-`’.</div><div class="">6. </div><div class=""><br class=""></div><div class="">VLC Player bugs</div><div class="">7. After quitting and relaunching with VLC selected as player,  it was found that bug 4. affects VLC player: If looping is enabled, clicking the progress bar very close to the end shows a black screen. Note the slight difference between this bug and bug 4. Bug 4. pauses the video (the image is still displayed). Bug 7. stops the video (a black screen is displayed). This occurs in preview and live.</div><div class=""><br class=""></div><div class=""><br class=""></div><div class="">General bugs</div><div class="">8. It was a bit tricky to test looping videos behind songs, because of the longstanding bug with transparent backgrounds on Mac. The only way I could get it to work was as follows:</div><div class="">Send song to live with transparent background.</div><div class="">Click on movie in media tab.</div><div class="">Click to replace live background.</div><div class=""><br class=""></div><div class="">This worked, but switching to a different song caused the video to pause.</div><div class=""><br class=""></div><div class=""><br class=""></div><div class="">Tracebacks</div><div class=""><br class=""></div><div class="">This traceback was generated with System player while trying to reproduce the bug where video is set to loop, and stops or pauses when clicked near the end. I can’t remember exactly what I did after that, but the traceback appears every time I try to send the video to live. Relaunching obviously fixes it. I can’t reproduce it at the moment, but I’ve seen this traceback a few times in testing. (It has occurred with other players as well.</div><div class=""><br class=""></div><div class=""><div style="margin: 0px;" class=""><!--StartFragment-->Traceback (most recent call last):</div><div style="margin: 0px;" class="">  File "/Users/dwales/BTSync/Programming/OpenLP/media_timer2/openlp/core/ui/servicemanager.py", line 1462, in on_make_live</div><div style="margin: 0px;" class="">    self.make_live()</div><div style="margin: 0px;" class="">  File "/Users/dwales/BTSync/Programming/OpenLP/media_timer2/openlp/core/ui/servicemanager.py", line 1478, in make_live</div><div style="margin: 0px;" class="">    self.live_controller.add_service_manager_item(self.service_items[item]['service_item'], child)</div><div style="margin: 0px;" class="">  File "/Users/dwales/BTSync/Programming/OpenLP/media_timer2/openlp/core/ui/slidecontroller.py", line 808, in add_service_manager_item</div><div style="margin: 0px;" class="">    self._process_item(item, slide_num)</div><div style="margin: 0px;" class="">  File "/Users/dwales/BTSync/Programming/OpenLP/media_timer2/openlp/core/ui/slidecontroller.py", line 896, in _process_item</div><div style="margin: 0px;" class="">    self.on_media_start(self.service_item)</div><div style="margin: 0px;" class="">  File "/Users/dwales/BTSync/Programming/OpenLP/media_timer2/openlp/core/ui/slidecontroller.py", line 1363, in on_media_start</div><div style="margin: 0px;" class="">    self.media_controller.video(self.controller_type, item, self.hide_mode())</div><div style="margin: 0px;" class="">  File "/Users/dwales/BTSync/Programming/OpenLP/media_timer2/openlp/core/ui/media/mediacontroller.py", line 453, in video</div><div style="margin: 0px;" class="">    if not self.media_play(controller):</div><div style="margin: 0px;" class="">  File "/Users/dwales/BTSync/Programming/OpenLP/media_timer2/openlp/core/ui/media/mediacontroller.py", line 630, in media_play</div><div style="margin: 0px;" class="">    if not self.current_media_players[controller.controller_type].play(display):</div><div style="margin: 0px;" class="">  File "/Users/dwales/BTSync/Programming/OpenLP/media_timer2/openlp/core/ui/media/systemplayer.py", line 153, in play</div><div style="margin: 0px;" class="">    if self.get_live_state() != QtMultimedia.QMediaPlayer.PausedState and controller.media_info.start_time > 0:</div><div style="margin: 0px;" class="">  File "/Users/dwales/BTSync/Programming/OpenLP/media_timer2/openlp/core/ui/media/mediaplayer.py", line 172, in get_live_state</div><div style="margin: 0px;" class="">    return self.state[0]</div><div style="margin: 0px;" class="">TypeError: 'int' object is not subscriptable<!--EndFragment--></div></div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><br class=""><div><blockquote type="cite" class=""><div class="">On 27 Feb 2016, at 5:55 AM, Tim and Alison Bentley <<a href="mailto:Home@trarbentley.net" class="">Home@trarbentley.net</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class=""><span style="font-size:12.8px" class="">One area where we have had issues in 2.x has been media.  Now in 2.6 all the issues plan to be removed and this will give us a working media set up.</span><div style="font-size:12.8px" class=""><br class=""></div><div style="font-size:12.8px" class=""><a href="https://code.launchpad.net/~trb143/openlp/media_timer2" target="_blank" class="">https://code.launchpad.net/~trb143/openlp/media_timer2</a>  </div><div style="font-size:12.8px" class=""><br class=""></div><div style="font-size:12.8px" class="">has a large number of fixes already be needs more wider testing.</div><div style="font-size:12.8px" class="">for this to work a program called mediainfo needs to be installed, it is available for all platforms. This fixes or first issue getting the media length without messing up any players.  Other fixes include</div><div style="font-size:12.8px" class=""><ul class=""><li style="margin-left:15px" class="">Added a timer like vlc</li><li style="margin-left:15px" class="">looping videos (missing the correct icon for now)</li><li style="margin-left:15px" class="">looping videos behind songs - works very smoothly on Fedora 23</li><li style="margin-left:15px" class="">able to play live and previews and have no issues stopping and starting.</li></ul><div class="">More testing is needed and I need to look at the CD loading code as this needs to be updated.</div></div><div style="font-size:12.8px" class=""><br class=""></div><div style="font-size:12.8px" class="">Help with testing on Windoz , Ubuntu and Mac would be helpful as I only have fedora to play with.</div><div style="font-size:12.8px" class=""><br class=""></div><div style="font-size:12.8px" class="">Thanks </div><div style="font-size:12.8px" class=""><br class=""></div><div style="font-size:12.8px" class="">TRB143</div><div class="gmail_signature"><div style="display:inline" class=""></div></div>
</div>
_______________________________________________<br class="">openlp-dev mailing list<br class=""><a href="mailto:openlp-dev@openlp.io" class="">openlp-dev@openlp.io</a><br class="">https://lists.openlp.io/mailman/listinfo/openlp-dev<br class=""></div></blockquote></div><br class=""></div></body></html>