Forum
  • Search
  • Member List
  • Calendar
Hello There, Guest! Login Register — Login with Facebook

Stop movie playback automatically
Thank you for your donation

Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Threaded Mode | Linear Mode
Stop movie playback automatically
4th Jan, 2013, 09:16 PM
Post: #1
namtih Offline
Tester
Posts: 269
Joined: Dec 2012
Reputation: 28
Stop movie playback automatically
The standard behaviour of XBMC is that the movie keeps playing when you leave the full screen mode and enter the menus. You can disable that the movie is displayed in the background, but then it still keeps playing and you hear the audio.
Unfortunately it's not very smooth and very annoying.

Two work-arounds:
1. You first press P to pause the movie and then go back to the menus.
2. You press X to stop the movie.

My final method:
http://forum.xbmc.org/showthread.php?tid=133863&pid=1131804
1. Open "/home/xbian/.xbmc/addons/<your skin folder>/1080p or 720p"
2. Open "VideoFullScreen.xml"
3. Insert the following code in the second line:
Code:
<onunload condition="!Player.Paused">PlayerControl(Play)</onunload>
4. Save it and restart XBMC

When you now leave the fullscreen mode via the backspace button, the movie will pause automatically and you will not have any stuttering in the background.


Example:
/home/xbian/.xbmc/addons/skin.realaskadark.0.9.6.git/720p/VideoFullScreen.xml
Code:
<window id="2005">
<onunload condition="!Player.Paused">PlayerControl(Play)</onunload>
    <defaultcontrol>-</defaultcontrol>
    <controls>
...
Find all posts by this user
Quote this message in a reply
7th Jan, 2013, 04:29 AM
Post: #2
raspberry_pd Offline
Registered
Posts: 97
Joined: Dec 2012
Reputation: 6
RE: Stop movie playback automatically
nice one namtih. I would vote for this or something very similar to be included in XBian by default because I had a very messy experience whereby I tried clicking the mysterious X in the top right of the full screen video overlay. In doing so I go into very strange modes that were far from friendly.

I'd go so far as to suggest that XBian should only use either full-screen video mode, or menu mode. None of the mixed modes that appear to be rarely/randomly accessible. This would me it much more like the simple behaviour expected of an appliance or embedded, dedicated software solution. At present, XBMC can still behave like it is running in a desktop environment where users may want to unmaximise it. I think. That is not a use case that matches what XBian is trying to achieve AFAIK.
Find all posts by this user
Quote this message in a reply
13th Feb, 2013, 08:08 AM
Post: #3
Koenkk Offline
Registered
Posts: 1,238
Joined: Dec 2012
Reputation: 112
RE: Stop movie playback automatically
Very good idea, somehow I did not notice this thread. We will take a serious look at it! https://github.com/xbianonpi/xbian/issues/274 .

P.S. next time you have such a nice idea, feel free to open an issue on our git.

Please read rules and do a search before you post! . FAQs . How to post log file? . Looking for answers? Please start here
Find all posts by this user
Quote this message in a reply
13th Feb, 2013, 08:36 AM
Post: #4
CurlyMo Offline
Registered
Posts: 3,501
Joined: Dec 2012
Reputation: 202
RE: Stop movie playback automatically
Even better, do a pull request.

pilight - modular domotica solution
Visit this user's website Find all posts by this user
Quote this message in a reply
13th Feb, 2013, 08:01 PM
Post: #5
BartOtten Offline
Registered
Posts: 815
Joined: Jun 2012
Reputation: 29
Re: Stop movie playback automatically
Namtih, you are truly a big help for XBian! Superb!
Find all posts by this user
Quote this message in a reply
13th Feb, 2013, 08:59 PM
Post: #6
Koenkk Offline
Registered
Posts: 1,238
Joined: Dec 2012
Reputation: 112
Stop movie playback automatically
A pull request would be better indeed, if you need help, please ask us!Smile

Please read rules and do a search before you post! . FAQs . How to post log file? . Looking for answers? Please start here
Find all posts by this user
Quote this message in a reply
18th Feb, 2013, 03:42 AM
Post: #7
coreflake Offline
Registered
Posts: 19
Joined: Feb 2013
Reputation: 0
RE: Stop movie playback automatically
i can't find the confluence folder (default skin).
is it also in the addons folder ?
Find all posts by this user
Quote this message in a reply
18th Feb, 2013, 04:56 AM
Post: #8
CurlyMo Offline
Registered
Posts: 3,501
Joined: Dec 2012
Reputation: 202
RE: Stop movie playback automatically
Code:
/usr/local/share/xbmc/addons/skin.confluence/

pilight - modular domotica solution
Visit this user's website Find all posts by this user
Quote this message in a reply
« Next Oldest | Next Newest »
Post Reply 


Possibly Related Threads...
Thread: Author Replies Views: Last Post
  [SOLVED] How to stop playback when HDMI display is turned off? Dzintars Bergs 7 15,910 11th Nov, 2016 08:52 PM
Last Post: Dzintars Bergs
  [SOLVED] WMV files go mute after a few seconds of playback and stop playing soon after Gyuunduh 3 13,047 12th Feb, 2014 04:34 AM
Last Post: Gyuunduh
  [PROBLEM] Playback speed of 1080p dts movie is slowing down Smieh 11 32,708 9th Jan, 2014 09:26 AM
Last Post: mk01

  • View a Printable Version
  • Send this Thread to a Friend
  • Subscribe to this thread
Forum Jump:

Current time: 18th May, 2025, 08:56 PM Powered By MyBB, © 2002-2025 MyBB Group.