butter-desktop-angular
butter-desktop-angular copied to clipboard
Black overlay covering whole screen if VLC is not installed
If VLC is not already installed, then ptDetail directive crashes, due to which screen is covered with a black overlay making the app unusable from the start.
An error pops up in the console:
libvlc.so.5: cannot open shared object file: No such file or directory
This issue goes away upon installing VLC which effectively makes liblvlc.so available.
Well ptDetail is related to webchimera and for now this module is broken and not working. In the future it is planned for butter to use this https://github.com/BoLaMN/wcjs-angular (which is largely based on the webchimera inside this repo).
If you want to hack on the player, please talk to @BoLaMN.
OS X or nix @GauravButola ?
@BoLaMN Ubuntu 15.04.
Same issue overhere, but i have VLC installed. Using Windows 10.
My only thoughts are the wcjs-prebuilt module isn't detecting correctly, might be time to switch over to my grunt-wcjs version I made here https://github.com/bolamn/grunt-wcjs example grunt config here https://github.com/BoLaMN/wcjs-angular-example/blob/master/Gruntfile.coffee would take extra work to modify electron-livereload as well to handle the location of the deps
I also notive the overlay with packaged applications (using grunt package).
this is what I'm seeing upon executing 'grunt start' from Git CMD or Git Bash. I just updated to the most recent version of VLC. Windows 8.1 x64. How do I access the console or log to provide better feedback?

never mind I opened ' ./scripts/menus/win32.coffee ' with Visual Studio and found the shortcut for enabling dev tools. Here's what I'm getting for errors:

I have a feeling that you're already aware of this, I'm going to try messing with it though. I haven't coded anything in Java since like 2006 and I've never written applications in Javascript. I saw there might be some python in here somewhere as well? So I'm not expecting to really be able to help much but I'm sick and bored so might as well do something.
It's not python but Coffee. Coffee is a language that is converted to javascript. So basically is JS but with a python syntax :-)
Anyway I will try to reproduce the error.
What version of node are you using (node --version) ?
I installed node 4.2.1
@BoLaMN I don't understand why webchimera.html is included in the detail page of a movie since the movie can be played with an external player... so the internal player should be loaded later isnt it ?
@GauravButola since https://github.com/butterproject/butter-desktop-angular/commit/3aea7096782fb2df92dbbc0f6ff84fd76c9f2075, it should work even if vlc is not installed. Could you try please ?
hi, got same pb here with win10
WebChimera, Grunt, Electron, and Angular are all supporting packages that are prebuilt and we don't need to touch to make this work?
WebChimera Angular was written by BoLaMN, a PCT / butter developer. is that the files I should then be looking at?
I don't know guys but for now angular repo is very ealry stage so maybe you should come back in a while and see if there is improvments on this.
ok but this will be the new main fork? I can't clone the non angular butter folder from git due to remaining references to PCT.io servers.
The main repo is butter and you should try. It'll work better than this one Le 27 oct. 2015 12:12 AM, "conductingchaos" [email protected] a écrit :
ok but this will be the new main fork? I can't clone the non angular butter folder from git due to remaining references to PCT.io servers.
— Reply to this email directly or view it on GitHub https://github.com/butterproject/butter-desktop-angular/issues/23#issuecomment-151310701 .
I have the same issue.
Windows 10 Pro, 64 bit VLC v2.2.1 Node v4.0.0 Npm v2.14.2
Install log: http://pastebin.com/yhdE4XtG Error log: http://pastebin.com/NCMRi4R9
If you need any more info, please ask.
@hadim Didn't seem to be working for me; I have the latest code from master. Attaching the console output screenshot if that helps.
Maybe for me it's not working because I was fiddling around with a lot of stuff, can someone else confirm if it works for them?

It has nothing to do with rather that vlc is installed or not..i assume you have a 64-bit windows installation. And if you look at the wcjs-prebuilt repo on github u will find out that this is a bug for 64-bit windows users. @BoLaMN is already looking into this
Nice catch @paulhobbel . Issue seems to come from here https://github.com/Ivshti/wcjs-prebuilt/issues/10
You guys can try idea posted on the below issue and see wether it's work for you or not.
@GauravButola I think you are facing an other issue. Are you running linux ?
Yes @hadim, I'm running Linux, Ubuntu 15.04 to be specific. I don't face the issue after installing VLC though.
@GauravButola I don't understand because your logs are saying that vlc is detected...
@hadim Seems like I've broken VLC on my system, it won't open at all now. So, now there's something wrong in part as well. Initially it was not detecting VLC at all (because it was not there), so the logs above about VLC were not there for me when I reported the bug.
I guess if someone else isn't facing the same issue, we can close the issue.
Well your system installed vlc shouldn't interfer with Butter and should not produce this bug I guess... But we are far from this kind of details for now.
Let it open for the other issue.
I can confirm that on Windows 10, 64 bit this quickfix is working! Thank you!
Steps to quickfix:
- Download the 64bit version of VLC: http://get.videolan.org/vlc/2.2.1/win64/vlc-2.2.1-win64.zip
- In
butter-desktop-angular\node_modules\wcjs-prebuilt\binreplacelibvlc.ddl,libvlccore.ddland thepluginsfolder with the 64 bit version of VLC.