mafintosh / playback Goto Github PK
View Code? Open in Web Editor NEWVideo player built using electron and node.js
Home Page: https://mafintosh.github.io/playback/
License: MIT License
Video player built using electron and node.js
Home Page: https://mafintosh.github.io/playback/
License: MIT License
it does not steam sound wile streaming on chromecast? Any sugestions?.. thanks for this great work
Use electron-builder
electron-packager
for build correct versions for OSX, Linux, Windows
http://html5-demos.appspot.com/static/css/filters/index.html
we should add these :D if you do them to the
Play Queue is not good enough to let you find the files you want. files are mixed up, no folders.
you got to build a library on it so it makes the searching easier, and the app nicer. Thanks
If you're listening to a musical or something where all the tracks flow into each other, it would be nice to not have to hear that slight pause when going to the next track on a playlist. It's a very short pause and it's not that jarring, but it is noticeable. Maybe there's something that could be done with preloading the next track on a playlist??
You know youtube's app for the phone has this offline download option where the video is buffered and kept for offline use? I think this software also needs something like that.
Also I think the queue should be saved so that ever time you restart the program you dont have to re - stream the video.
it should be possible to embed a ffmpeg/libav binary and do automatic transcoding
this should be done as a third party module (or set of modules) to keep the amount of code in this repo as low as possible
if you are interested in helping out with this, leave a comment below
When you have subtitles on a playing movie, they are not sent to the chromecast together with the video.
I have always wanted to watch something on my computer with my larger monitors and listen from afar via my mobile device (iOS devices: iPhone, iPad). It looks like Airfoil is the solution, however there is an audio delay and for video content this can ruin the experience.
Now that we have Playback, we can create a proper solution. It would allow for us to stream audio content ahead of the video and allow the mobile device to buffer and sync up with the video stream! While something like Airfoil has to receive the audio and process it immediately, Playback knows what audio is coming next and can buffer this on the mobile device ahead of time.
The mobile app could be implemented in a web app and Playback would simply start an Express server that would serve the audio to buffer. By making it a simple web app we could have more support for devices (not just iOS, etc).
This all, of course, is easier said than done. I think this is something that Playback could achieve, and it is within scope of Playback and Playback has a very unique opportunity to solve this problem. However, I may be the only user with such a scenario.
Please let me know what you think! Including potential recommendations for implementation. I would love to contribute and help submit a pull request for this feature!
Thank you! ๐
Hey folks,
I'm wondering if it'd be possible to add AVI and other format support using Chimera? https://github.com/jaruba/WebChimeraPlayerNW
Is that something which would seen as being useful? Or would it amke
-rabble
we need a custom icon for the .app file
How to install it on windows
There is a .app.zip in releases which won't run on windows
Any instructions on installing this on windows??
Hi,
Would be nice to have a few options in the app.
First I would like to be able to specify the Temp download path.
That is, the location of where data is stored (downloaded files and torrent files).
Current all data is stored @ %Temp%\webtorrent
Not good. OS is installed on a small SSD. Will fill up quickly.
So I need to be able to tell it to store files somewhere else (be it another hard disk, network path, ftp, etc.).
Thank you,
Will
I've been looking to get 'playback://' support for windows running.
I tried compiling the project to a win32 package and adding the protocol to Windows using the following registry key:
REGEDIT4
[HKEY_CLASSES_ROOT\playback]
@="URL:playback Protocol"
"URL Protocol"=""
[HKEY_CLASSES_ROOT\playback\shell]
[HKEY_CLASSES_ROOT\playback\shell\open]
[HKEY_CLASSES_ROOT\playback\shell\open\command]
@="\"D:\\Node\\Projects\\playback-win32\\playback.exe" \"%1\""
This doesn't appear to work.
Clicking a magnet or playback:// link and trying to run it with the generated executable doesn't seem to be working on Windows. In both cases it just launches the splash screen, as where on OSX it would start streaming the related magnet link (or other media linked in playback://).
Edit:
I also tried adding the protocol manually to Firefox. When I select the .exe to launch the protocol with, it also simply starts the app without streaming.
Pull request opened at Homebrew/homebrew-cask#10572
Dear sirs,
I have windows 10 and recently installed PlayBack, i would like to uninstall please help me to do so thanks and regards
Ali
See https://github.com/aetheon/node-opensubtitles-client
Use the filename to search for subtitles online and automatically make them available to download and use.
See https://github.com/aetheon/node-opensubtitles-client/blob/master/lib/Downloader.js#L26 and https://github.com/aetheon/node-opensubtitles-client/blob/master/bin/subtitler.bin.js#L159-L171 and https://github.com/aetheon/node-opensubtitles-client/blob/master/examples/searchFileSub.js
๐ @mafintosh!
I will try and poke around on this this weekend, but for the sake of documenting:
From CLI:
๐ | ๐ |
---|---|
![]() |
![]() |
From launch:
๐ฐ | ๐ฐ |
---|---|
![]() |
![]() |
It'd be great to have a mobile UI in the form of a web app that mobile devices could load in a web browser and control Playback with.
This commit or a related commit caused it. lastUrl ends up being undefined after the 2nd pause/play.
OSX: Couple of white pixels shine through both bottom corners when in fullscreen.
Is it possible to make the audio track selectable? It should be possible
https://msdn.microsoft.com/en-us/library/windows/apps/hh452774.aspx
I'm not sure if you can get that data with streams though. I've been digging through the code a bit but can't find any video object that contains this data.
Something which I really like about Torrent-Stream, Webtorrent, and jPlayer is its simple to use API. The ability to easily programmatically add/play content and download/seed torrents would allow for easy client customization.
i.e:
player.addToPlayList({ URL: 'http://xxx.xxx/aaa.torrent', autoPlay: true, cacheLocation: 'file://${__dirname}/torrentCache' })
and
player.play('URL')
MPlayerX has this feature:
No play-list? Not really necessary.
As long as the file names are numbered in any guessable pattern, MPlayerX could find the next episode in the same folder for you.
playback is a minimalistic video player build on top of atom-shell. it supports playing normal video files, video files shared using bittorrent, (and in the future, videos from youtube). it also has support for broadcasting what you're currently watching over the local network so that multiple people can watch the same video at the same time.
basic functionality is pretty much done but it needs a graphical ui. i'm thinking it should be as minimal as possible (think quicktime on osx) where there isn't any ui until you mouse over the player.
components wise we probably need
any help with the design aspect of this would be greatly appreciated :) am happy to implement from mockups, or whatever else works. leave ideas in the thread below
Same as YouTube does.
That's the last thing I'm missing in order to completely switch over ๐
Hey, really cool app, thanks! Is there a plan to put in volume control? Or maybe I don't see it?
It could potentially replace my VLC for listening to music, too - it's so much prettier :)
I would just miss flac support.
Cheers
Add light bkg color to play progress bar (same as YouTube does) that would designate the amount of locally buffered video.
Could also be useful for any other type of streaming (e.g. YouTube).
Whenever I click a magnet:
link in my browser, it now opens in Playback.app. This seems to have happened suddenly. I don't think I made any changes to the configuration of Playback or Transmission (the previous default).
I'm on OS X.
the killer feature for me (that isnt implemented yet) is youtube playlist support with offline
use case: open a youtube playlist url in playback. it should add all videos to the playlist. then it should immediately download all videos in the playlist so I can watch them offline
this would require a sort of 'downloads' folder I think for downloaded videos to go in to
Just look at Playback.app in Content/Resources/app/.git
IMHO, this folder is not needed in packaged app.
Did not examine build process yet, but maybe some script for packaging can be tuned just to remove this folder.
Getting this error when clicking on chromecasts icon:
index.js:267 Uncaught TypeError: Cannot read property 'removeClass' of null
error not in 38e56fd (before the recent CSS changes)
if you drag the video player widget on regular sized window it will drag the whole window or the app.
But if you drag it on fullscreen mode (on Mac) it will treat the video player widget as a floating widget on the mainwindow!
Make it an option inside the app that you can register Playback as the default handler for magnet links
if anyone wants to take this on, comment below!
first step would be adding linux/windows builds to https://github.com/maxogden/atom-shell-packager
I'm opening this and pledging to do it!
Currently your computer can fall asleep and ruin your viewing experience. There is an Electron API for this! I've known this and been thinking about doing this and am holding myself more accountable with this issue ๐
Show a loading screen when waiting to play from bittorrent
We, users, should have the choice to import/add/insert subtitles from our computers.
I will download the subtitle and then import/add/insert to playback app. like a option in menu.
thanks!
I can't actually add torrents or magnet links to the player
I would love an easy to use obvious way to use our local network streaming. Any plans anyone?
It would be good if you could paste links directly into Playback
A growing problem with streaming apps is that there's a decreasing amount of long term seeders.
A solution would be the option to specify a download/stream folder that doesn't automatically clear on close. When the player opens, it automatically starts seeding the files inside. This way every time you stream content or have the player running you'll give back to the community by seeding your streamed content. This could be an optional feature which people can choose to turn on.
No Sound when playing mkv torrents.
Title Bar Buttons missing in fullscreen mode.
Great app!
Brilliant work gents. You just made my Chromecast worth its price.
A tiny improvement would be to give feedback in the UI when one drops a subtitle on the cat. Currently, you don't know if it registered or not.
would be cool if playback could register it self as a magnet:
protocol handler so it would autoplay magnet links when you press them
Node/JS newbie here, so this might not be a playback-specific error.
I cloned the playback source code to my desktop and ran npm install
, which seemed to go okay. But npm run
returns me this:
> [email protected] start /home/deliciousfudge/playback
> electron app.js
[28571:0516/175956:ERROR:browser_main_loop.cc(171)] Running without the SUID sandbox! See https://code.google.com/p/chromium/wiki/LinuxSUIDSandboxDevelopment for more information on developing with the sandbox on.
[28601:0516/175957:INFO:renderer_main.cc(200)] Renderer process started
[28571:0516/175957:WARNING:cache_util.cc(86)] Unable to delete cache folder.
[28571:0516/175958:INFO:CONSOLE(326)] "Uncaught Error: Cannot find module 'lodash/object/assign'", source: module.js (326)
My google-fu is failing me, as I can't find any info on the error. Does anyone have any suggestions?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.