Commit Graph

92 Commits

Author SHA1 Message Date
DC
85b6ca0639 Fix player flakiness
* No more pause icon in the file list
* Reset state.playng completely after each play
* Fixes #318: false "cannot add dupe torrent" error
2016-04-06 00:58:34 -07:00
Feross Aboukhadijeh
8629fc956d clear cast interval when casting stops; naming
* fix ipc logs

* minWidth 425

So title "WebTorrent (BETA)" doesn't get cut off

* clear cast interval when casting stops; naming

Fix #300
2016-04-05 23:12:23 -07:00
DC
6447966e91 Hide DL status on paused torrents
Fixes #309
2016-04-05 19:27:39 -07:00
Feross Aboukhadijeh
ef275b8888 Use Chromecast connected icon when applicable 2016-04-05 19:13:00 -07:00
DC
db9e3e90c5 WebTorrent process
* Separate hidden window, with its own renderer process, for WebTorrent
  (Must be a window. You cannot run WebRTC at all in a Web Worker, and you can't
   run it well in a node process like the electron main process.)

* Disabled the create-torrent-modal for now. That gives us a consistent UX
  regardless of whether the user dragged files or folders onto the app or opened
  the Create New Torrent menu item.

* Main process routes all messages between the main and webtorrent windows.

* The renderer index.js is smaller now (but still too big), with the WebTorrent
  interface moved to webtorrent.js / it's own process.

* The UI should be faster now, and should not lag under load.
2016-04-05 15:36:26 -07:00
grunjol
57e5eed47f fix DLNA icon, calls, remove unneeded depencendies in dlnacasts 2016-04-05 12:23:41 -03:00
grunjol
6aa7058184 add DLNA support 2016-04-05 12:23:40 -03:00
DC
20157f39ee Seed in place, don't copy to /tmp
Fixes https://github.com/feross/webtorrent-desktop/issues/254
2016-04-04 01:08:18 -07:00
DC
15242666ce UI: Pending torrent is not necessarily from magnet link 2016-04-01 03:54:17 -07:00
DC
742061183b Show new files immediately when seeding
Fixes #208
2016-03-31 08:07:55 -07:00
DC
af783e0532 Save audio metadata, after extraction
Fixes #260
2016-03-30 20:47:04 -07:00
DC
cc273e7312 Loading spinner for videos
Only worked for audio before
2016-03-29 00:41:42 -07:00
DC
f70cef2cee Loading spinner: center, text-overflow ellipsis 2016-03-28 22:36:45 -07:00
DC
dc2e2a82e7 Loading spinner: show download speed 2016-03-28 21:23:52 -07:00
DC
c70fef3feb Show spinner when audio/video is stalled
Fixes #243
2016-03-28 21:16:06 -07:00
DC
b8ff4b378b Linux updater: better message 2016-03-28 18:52:09 -07:00
DC
86069a7173 Linux update notifications
Fixes #257
2016-03-28 16:16:43 -07:00
DC
2341749074 Track progress for currently playing file. Fixes #244 2016-03-27 16:17:35 -07:00
DC
3617c17300 Memoize event handlers
Stop virtualdom from swapping out every event handler on every update
2016-03-27 02:58:26 -07:00
Feross Aboukhadijeh
eb59c11f85 Resolve posterURL and torrentPath at runtime
Fixes bug where posters and torrent files can’t be found in the built
app.
2016-03-27 02:10:58 -07:00
Feross Aboukhadijeh
c7ee0aab01 Merge pull request #233 from Flet/torrent-context-menu
add context menu with share/save actions
2016-03-27 00:39:15 -07:00
DC
906da4d977 Speed up init() by >= 2x
Lazy load the WebTorrent, Chromecast, and Airplay modules
2016-03-26 23:31:32 -07:00
Dan Flettre
6c07c4763d add context menu with share/save actions 2016-03-26 23:10:27 -05:00
grunjol
fc6d8e7b7d add volume management 2016-03-23 09:01:07 -03:00
DC
f56af6402c Audio metadata 2016-03-22 03:52:27 -07:00
DC
ebcc814ca7 WebTorrent can now play audio 2016-03-22 02:26:28 -07:00
DC
78f1d4c8eb Add tooltips 2016-03-21 16:51:45 -07:00
DC
1c2cd5f49e Fix default torrents
Big Buck Bunny playable now, files show correctly even before the user starts torrenting
2016-03-21 02:34:52 -07:00
DC
b02f236428 Show files even when torrent isn't torrenting 2016-03-21 02:25:41 -07:00
Feross Aboukhadijeh
ce2a9ceb11 Implement back/forward buttons (fix #180) 2016-03-20 22:54:51 -07:00
DC
26dc1e82fd Airplay support. Nicer looking cast screen 2016-03-20 01:59:25 -07:00
Nate Goldman
f8b968c5ec fix hide on hover, always show playback position 2016-03-19 20:50:57 -07:00
DC
91680cb53d Fix Windows packaging
* Work around a Chrome bug by avoiding Windows-specific backslash paths
* Change the name of the program from "Streaming torrent client" to "WebTorrent"
2016-03-19 03:27:48 -07:00
DC
32a57e79a1 Error popover, no more alert()s 2016-03-19 01:55:24 -07:00
DC
849bbed0ae Chromecast video controls 2016-03-19 01:21:52 -07:00
DC
dd04b4ab62 Fix chromecast button
Next step: Chromecast and Airplay play/pause, scrub, and state management

When casting, the correct cast button should be lit up and the video should be replaced with a title image and text
2016-03-14 09:53:01 -07:00
DC
8108c407d3 Torrent details
Show file list, open folder containing downloaded files, open individual files, play/pause individual videos
2016-03-14 09:18:20 -07:00
DC
e8cc7ac269 Torrent list: fix % complete bug 2016-03-13 17:51:39 -07:00
Nate Goldman
52fc2d88c9 Block "Power Saver" mode while video is playing
fix #106
2016-03-11 16:43:36 -08:00
DC
ca2236da84 Torrent list bug: don't [un]select torrent when clicking download or play button 2016-03-11 16:06:11 -08:00
DC
cf433ddf16 File details 2016-03-11 08:49:58 -08:00
DC
9c8478dbe4 Torrent selection 2016-03-10 23:46:35 -08:00
Dan Flettre
b1678b71c6 ensure video is paused before hiding window 2016-03-11 01:10:39 -06:00
DC
c176e3897a Add Torrent Link modal 2016-03-09 04:27:01 -08:00
Feross Aboukhadijeh
edf08d06ec Limit window title width (fix #99) 2016-03-08 20:01:09 -08:00
Feross Aboukhadijeh
adf53bb7cc Fix scroll bar goes under header bar (fix #101) 2016-03-08 19:29:30 -08:00
Feross Aboukhadijeh
70aacf96af Merge pull request #98 from feross/window-ui-improvements
Lighter window background; small state changes
2016-03-08 18:41:53 -08:00
Liam Gray
9324765db9 Fix looping video 2016-03-08 17:36:20 -08:00
Feross Aboukhadijeh
67217bdc7e Lighter window background
Native windows get lighter when they’re backgrounded so they stand out
less (at least on OS X). Let’s do this too.

Even the Spotify app, which has dozens of developers gets this wrong.
We’re so awesome :)

Also:

- Renamed a bunch of state variables (next time will make separate
commit, sry)
- All window-related variables (e.g. isFullScreen, isFocused, etc.)
live in `state.window` now
- Remove negative class name, use CSS :not() instead
2016-03-08 17:18:31 -08:00
Feross Aboukhadijeh
6946ab3507 style improvements
- make torrent placeholder the exact size of a normal torrent
- make torrent list window minimum size of two torrents
- make window start out sized for 4 torrents
- increase font size responsively
2016-03-08 15:39:39 -08:00