Comments (7)
Hmm so we should make sure to stop powerSaverBlocker when the window closes, right?
from webtorrent-desktop.
No, closing the window is already causing a pause.
I meant closing the video player and returning to the torrent list view.
from webtorrent-desktop.
Oh really? I thought I was seeing the video-paused
event fire in a console.log when I was testing earlier. Will take a look.
from webtorrent-desktop.
Okay I can repro, sorry I missed that one. I guess another ipcRenderer.send
from closePlayer()
in index.js
would do the trick though it doesn't feel super clean.
from webtorrent-desktop.
I think it would make sense to store video playback position when leaving the player in the future so it makes sense to group some actions around that event. For now that's attached to the back
event so I'll just add something in that context.
from webtorrent-desktop.
I think we should try to keep the main process unaware of the player state.
If the renderer wants to disable power saving mode, it should just send an
event that does that. That's how most of the events except for the play and
pause ones already work.
On Fri, 11 Mar 2016 at 17:16 Nate Goldman [email protected] wrote:
I think it would make sense to store video playback position when leaving
the player in the future so it makes sense to group some actions around
that event. For now that's attached to the back event so I'll just add
something in that context.—
Reply to this email directly or view it on GitHub
#141 (comment)
.
from webtorrent-desktop.
#142 should fix this issue, also moves powerSaveBlocker logic into renderer.
from webtorrent-desktop.
Related Issues (20)
- Support for private trackers HOT 1
- Detect embed subtitles of the file when streaming the torrent HOT 1
- how set socks5 proxy,thanks HOT 1
- Change the storage location without modifying the running task HOT 1
- Download Module Crash HOT 5
- Option to bind to a specific network interface HOT 2
- while playing a torrent file app uses the intel hd gpu and the Nvidia gpu both at the same time HOT 1
- The software doesn't add torrents automatically. HOT 1
- Detection of false positive virus in WebTorrent Desktop download HOT 4
- I can download the movie but not the subtitle because the download forced to priorties the movie? HOT 1
- Ability to click on a magnet link (implementation of the magnet protocol) HOT 1
- Unable to read property of undefined... reading 'getBounds' on file build/main/windows/main.js line 87 HOT 3
- WebTorrent as Default - Not getting updated. HOT 1
- Working Snap Package ready HOT 7
- macOS Sonoma Crash HOT 1
- Add an option for specifying max number of concurrent seeding torrent HOT 1
- build for arm cpu for macos m1/m2, to who do not want to keep intel emulation HOT 3
- NordVPN is reporting that this app is vulnerable HOT 5
- Blank app presents on opening HOT 1
- Crashes when starting HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from webtorrent-desktop.