butter-desktop
butter-desktop copied to clipboard
Fix chromecast subtitle position
What does your fork changes exactly? I think you should rather open an issue/PR on main module, for it to remain maintained and updated.
@vankasteelj My fork change this:
VTT_BODY.push(module.exports.formatTime(caption.startTimeMicro) + ' --> ' + module.exports.formatTime(caption.endTimeMicro));
to
VTT_BODY.push(module.exports.formatTime(caption.startTimeMicro) + ' --> ' + module.exports.formatTime(caption.endTimeMicro) + ' line:90%');
This edit the subs.vtt and add margin from bottom with this change reading is much easier
can you give me .exe for your fix
I'm uncomfortable with this. I know it breaks DLNA on LG, but that probably can be fixed. My main concern here is the fork of node-captions without a PR being sent back upstream.
This was fixed when i got an update on my Chromecast, as you can see here i think it is a Chromecast firmware issue and an update was provided to fix this.
https://productforums.google.com/forum/?hl=da#!topic/chromecast/Qe76EGhzlII;context-place=forum/chromecast
@Breaking1 No, editing the vtt subtitles file you can put the text in any position on the screen.
@vankasteelj I can think of another way to modify the script in pt
@sulaimanob go to C:\Users\YOURUSERNAMME\AppData\Local\Popcorn-Time\node_modules\node-captions\lib open vtt.js file search this line "VTT_BODY.push(module.exports.formatTime(caption.startTimeMicro) + ' --> ' + module.exports.formatTime(caption.endTimeMicro));"
and replace with VTT_BODY.push(module.exports.formatTime(caption.startTimeMicro) + ' --> ' + module.exports.formatTime(caption.endTimeMicro) + ' line:90%');
now restart pt
@vankasteelj check the last commit in node-captions 11 Aug 2015
Okay, I'm voting for this, apparently node-captions is dead (maintainer not online for a year) @xaiki you ok merging this too?
(not merging like it's now, it has leftovers from a merge that broke dlna, only keep the actual changes from brai4u: "node-captions": "git+https://github.com/brai4u/node-captions.git",
)
why do we have all those commits ? didn't you revert those in the firstplace ?
changes look ok, but i have no tv to test on, a few nitpicks:
- @brai4u you should own node-captions and publish it on NPM
- @brai4u you should split out your changes and work with @vankasteelj to get these changes not to break his TV... (or any others fwiw)
Search on google "problem chromecast subtitles popcorn time" and should find pics like this
I used the version with my commit and works like this
can we solve the nitpicks and merge this ?
can we solve the nitpicks and merge this ?
It would be great if we can merge this!
@ZakariaRidouh do you want to do the cleanup @vankasteelj asked for ? go for it =D
@brai4u you think you can also merge the PRs that are made on the main repo, and publish your version to NPM (I don't like the idea of depending on you not deleting your repo^^) ?