Feross Aboukhadijeh
e72005e239
Remove cp-file, use copyFileSync instead
2019-09-14 16:32:38 -07:00
Feross Aboukhadijeh
4a10a2dfd1
Merge pull request #1679 from webtorrent/then
...
Use promise then() instead of catch() with callbacks
2019-09-10 11:05:12 -07:00
Daniele Debernardi
a39691fdad
Auto populate 'Magnet Link' field with the address from clipboard
...
Co-authored-by: Jon Koops <jonkoops@gmail.com >
2019-09-09 21:41:07 +02:00
Feross Aboukhadijeh
dd13de5f65
Use promise then() instead of catch() with callbacks
...
Addresses my review here: https://github.com/webtorrent/webtorrent-desktop/pull/1419#pullrequestreview-285182318
2019-09-07 11:13:26 -07:00
Feross Aboukhadijeh
744e720c3b
Ignore play() when called before init()
...
If an error occurs during startup, then it's possible that we'll try to call sound.play('ERROR') in the error handler, which will throw an exception. Instead, just don't play sounds in this case.
2019-09-05 23:59:32 -07:00
Feross Aboukhadijeh
afd3b84b40
Fixes for PR #1648
2019-08-15 13:10:39 -07:00
Feross Aboukhadijeh
4b927832c2
Merge pull request #1648 from hicom150/pass_title_metadata
...
Pass title metadata in media url
2019-08-15 13:08:59 -07:00
hicom150
097fa9cc7c
Add file name to state
2019-08-15 12:06:22 +02:00
Feross Aboukhadijeh
c61234dd4c
standard
2019-08-13 20:32:42 -07:00
hicom150
c29deab728
Pass title metadata in media url
2019-08-13 23:53:37 +02:00
Feross Aboukhadijeh
0359451498
Update to Electron 6
2019-08-09 15:03:06 -07:00
Borewit
d0053dc2f4
Merge pull request #1536 from adriantombu/feature/sound-option
...
Toggle the sound notifications
2019-05-12 20:03:14 +02:00
Alberto Miranda
ccaf73a477
Added missing dots for supported media extensions.
2019-04-28 16:00:43 -03:00
Borewit
e6bfc57fc4
Add DSD audio media extensions for Sony DSF (DSD Stream Format) & Philips DSDIFF (Direct Stream Digital Interchange File Format
...
Related: https://github.com/Borewit/music-metadata/releases/tag/v3.6.0
2019-04-25 08:46:06 +02:00
Mathias Rasmussen
a48c09e688
migrate sound option
2019-01-13 22:25:11 +01:00
Adrian Tombu
97cf38e501
Toggle the sound notifications
2019-01-12 12:54:06 +01:00
Borewit
20e3fb6f5f
Add aif/aiff, spx (Speex) & mpc (Musepack) as audio file extensions.
...
Remove clashing .mp4 extension (with video) from audio.
2018-11-20 09:06:02 +01:00
Linus Unnebäck
ffb809bbca
Prefer const over let
2018-10-10 21:21:29 +02:00
Borewit
ab20dc42f1
#1426 Consistent error message if no suitable poster image could be found.
2018-10-07 20:15:12 +02:00
clujin
02fefd0a81
remove redundant error check
2018-10-07 10:42:42 -07:00
clujin
788e907502
remove semicolon
2018-10-06 19:14:03 -07:00
clujin
bb4eb523fe
initial commit
2018-10-06 18:59:03 -07:00
Feross Aboukhadijeh
10b4450214
standard
2018-08-28 19:38:25 -07:00
Borewit
87491351cc
Merge branch 'master' into reuse-media-extensions
...
# Conflicts:
# src/renderer/lib/torrent-poster.js
2018-08-13 21:47:13 +02:00
Borewit
c2a38bd4e0
Ensure consistency between extension-categories, between torrent-player and torrent-poster.
...
Add additional audio-file-extensions.
2018-08-13 21:35:37 +02:00
Alberto Miranda
6ed7ec35a4
Fixed styling.
2018-07-22 16:58:28 -03:00
Borewit
cf8c1654e8
Add extension for MP4 audio book.
2018-07-21 14:10:23 +02:00
Borewit
e0de30baff
Merge pull request #1165 from janza/chromecast-subtitles
...
Add support for subtitles on Chromecast
2018-06-26 21:15:10 +02:00
Borewit
5cdb3d059c
#1417 : Simplify code
...
- use forEach instead of map (because return value was ignored)
- use Promise.all instead of parallel, because tasks are already Promise based. Fewer callbacks.
2018-06-09 14:54:24 +02:00
Borewit
b010dc28d2
Avoid promise resolve results are ending up as error objects in callback handler.
...
Reference: issue: webtorrent/webtorrent-desktop#1417
2018-06-07 21:53:58 +02:00
Feross Aboukhadijeh
4f41f5968c
Merge pull request #1368 from Borewit/feature/improve-audio-torrent-poster-selection
...
Prevent spectrogram being selected as the poster.
2018-04-29 20:20:11 -07:00
Borewit
bc3cec1172
webtorrent/webtorrent-desktop#1368 : Remove pointless factor.
2018-04-27 09:01:50 +02:00
Feross Aboukhadijeh
0da29e4eb2
Merge pull request #1317 from webtorrent/bugfix-1315
...
Bugfix 1315
2018-04-26 16:22:51 -07:00
Borewit
8516da8a44
Prevent spectrogram being selected as the poster.
...
Related issue webtorrent/webtorrent-desktop#1332 , as well pull request webtorrent/webtorrent-desktop#1334
2018-04-26 21:25:09 +02:00
Borewit
f47055c51b
Adjust the filename score, size is probably more relevant.
2018-04-20 08:07:27 +02:00
Borewit
793ccebf0b
Merge branch 'master' into feature/improve-audio-torrent-poster-selection
2018-04-20 07:38:53 +02:00
Borewit
30693d7d16
Added some function comments.
...
Simplified code a bit.
2018-03-11 17:33:02 +01:00
Borewit
a114a22770
#1332 : Add album as likely name for an image containing the cover
2018-03-04 19:04:18 +01:00
Borewit
2d17cfa7e1
#1332 : Fix selection of poster.jpg|png|gif image
2018-03-04 18:43:12 +01:00
Borewit
cf2a3b8948
#1332 : Improve cover image score algorithm:
...
- If filename score is equal, pick highest resolution
- Search for keyword occurrence in file name
2018-03-04 16:24:07 +01:00
Borewit
b89a74e6e9
#1332 : Improve the poster selection for audio/music based torrent,
...
aiming to get the cover-art selected as the torrent poster.
2018-03-04 13:48:07 +01:00
Borewit
d5a62cb1a7
Add additional audio extensions: 'aiff', 'ape', 'mp2', 'oga', 'opus', 'wma'
2018-02-06 14:17:59 +01:00
Alberto Miranda
7d2290a773
1315: Added initial state for highestPlaybackPriority.
2018-01-29 09:24:27 -03:00
Alberto Miranda
cae40b44e6
Merge pull request #1154 from webtorrent/watch-folder
...
Merging watch folder feature.
2017-10-16 22:47:03 -03:00
Josip Janzic
f7ec537cd5
Add support for subtitles on Chromecast
2017-09-17 00:07:57 +02:00
Feross Aboukhadijeh
3b05b52e57
feross -> webtorrent
2017-04-14 13:48:39 -07:00
Alberto Miranda
a70c4d1bf2
Working on watch-folder
...
Added chokidar to watch for folder changes; added folder-watcher;
passing state to delayedInit on main; added default values for new
preferences; added “Auto add torrents” preference with its checkbox and
path selector; TODO: start/stop watching on preference change, start
watching on init, add dialog when trying to enable preference without a
torrents folder.
2017-03-22 09:42:17 -03:00
Alberto Miranda
96e7e83e20
Merge branch 'master' into playback-priority
...
# Conflicts:
# src/renderer/controllers/playback-controller.js
# src/renderer/controllers/torrent-list-controller.js
# src/renderer/main.js
2017-03-14 19:43:57 -03:00
Feross Aboukhadijeh
00f2e5ccd6
Treat .FLAC as playable audio
...
Fixes: https://github.com/feross/webtorrent-desktop/issues/1124
Note FLAC is not actually playable in Electron, by default. But this
will at least offer to open it in VLC or the user's preferred player.
2017-02-15 13:31:06 -08:00
Feross Aboukhadijeh
9068909b4d
fixes for standard
2016-11-22 19:43:51 -03:00