Open argentum2f opened 10 years ago
I need vlc to be run with the verbosity option
Ok, here's the output:
[0x23ebdd8] qt4 interface debug: activating or triggering extension 'fcinema'
[0x7f7638158fb8] lua generic debug: Activating extension 'fcinema'
[0x7f7638158fb8] lua generic warning: Error while running script /usr/lib/vlc/lua/extensions/fcinema.lua, function activate(): lua/modules/dkjson.lua:199: module 'common' not found:
no file '/usr/lib/vlc/lua/modules/common.luac'
no file '/usr/lib/vlc/lua/modules/common.lua'
no file '/usr/lib/vlc/lua/modules/common.vle'
no file '/usr/lib/vlc/lua/extensions/modules/common.luac'
no file '/usr/lib/vlc/lua/extensions/modules/common.lua'
no file '/usr/lib/vlc/lua/extensions/modules/common.vle'
no file '/usr/share/vlc/lua/modules/common.luac'
no file '/usr/share/vlc/lua/modules/common.lua'
no file '/usr/share/vlc/lua/modules/common.vle'
no file '/usr/share/vlc/lua/extensions/modules/common.luac'
no file '/usr/share/vlc/lua/extensions/modules/common.lua'
no file '/usr/share/vlc/lua/extensions/modules/common.vle'
no file '/usr/local/share/lua/5.2/common.lua'
no file '/usr/local/share/lua/5.2/common/init.lua'
no file '/usr/local/lib/lua/5.2/common.lua'
no file '/usr/local/lib/lua/5.2/common/init.lua'
no file '/usr/share/lua/5.2/common.lua'
no file '/usr/share/lua/5.2/common/init.lua'
no file './common.lua'
no file '/usr/local/lib/lua/5.2/common.so'
no file '/usr/lib/x86_64-linux-gnu/lua/5.2/common.so'
no file '/usr/lib/lua/5.2/common.so'
no file '/usr/local/lib/lua/5.2/loadall.so'
no file './common.so'
[0x7f7638158fb8] lua generic error: Could not activate extension!
[0x7f7638158fb8] lua generic debug: Deactivating 'fcinema'
[0x7f7638158fb8] lua generic debug: [Fcinema] Bye bye!
[0x7f7638158fb8] lua generic warning: Error while running script /usr/lib/vlc/lua/extensions/fcinema.lua, function deactivate(): /usr/lib/vlc/lua/extensions/fcinema.lua:1298: attempt to index global 'json' (a nil value)
[0x7f7638158fb8] lua generic warning: Extension 'fcinema' did not deactivate properly
[0x7f7638158fb8] lua generic debug: Extension thread end: 'fcinema'
I tried copying the common.luac file to one of the places it seemed to be looking for it: sudo cp /usr/lib/vlc/lua/intf/modules/common.luac /usr/lib/vlc/lua/modules/ Then I get the following:
[0x7f75f8001248] main vout display debug: auto hiding mouse cursor
[0x23ebdd8] qt4 interface debug: activating or triggering extension 'fcinema'
[0x7f7638158fb8] lua generic debug: Activating extension 'fcinema'
[0x7f7638158fb8] lua generic debug: [Fcinema] Cache already exist
[0x7f7638158fb8] lua generic debug: [Fcinema] Reading data from file: /home/jaromsj/.local/share/vlc/lua/extensions/userdata/fcinema/config.json
[0x7f7638158fb8] lua generic debug: [Fcinema] Welcome
[0x7f7638158fb8] lua generic debug: Creating dialog 'Family Cinema (Beta)'
[0x7f7638158fb8] lua generic debug: [Fcinema] Getting file info
[0x7f7638158fb8] lua generic warning: Error while running script /usr/lib/vlc/lua/extensions/fcinema.lua, function activate(): /usr/lib/vlc/lua/extensions/fcinema.lua:2396: attempt to index field 'net' (a nil value)
[0x7f7638158fb8] lua generic error: Could not activate extension!
[0x23ebdd8] qt4 interface debug: Creating a new dialog: 'Family Cinema (Beta)'
[0x7f7638158fb8] lua generic debug: Deactivating 'fcinema'
[0x7f7638158fb8] lua generic debug: [Fcinema] Bye bye!
[0x7f7638158fb8] lua generic debug: [Fcinema] Writing data to file: /home/jaromsj/.local/share/vlc/lua/extensions/userdata/fcinema/config.json
[0x7f7638158fb8] lua generic debug: Deleting dialog 'Family Cinema (Beta)'
[0x7f7638158fb8] lua generic debug: Waiting for the dialog to be deleted...
[0x23ebdd8] qt4 interface debug: Deleting extension dialog 'Family Cinema (Beta)'
[0x7f7638158fb8] lua generic debug: Extension thread end: 'fcinema'
Ok, VLC removed the network module for all extensions on version 2.0.9. After receiving lots of complains (they kill all the extensions that need the internet) they add it again for linux and mac on the latest version (i haven't check it). You can either downgrade to the https://www.videolan.org/vlc/releases/2.0.8.html release or use the latest version on linux/mac Hope now it works
For next versions, i'll check module availability and show a message box. I think it is better than just crashing ;)
I tried installing the latest (2.1.6), but same issue. Having some trouble trying to install an older version.
I was unsuccessful at installing any older packaged versions of 2.0.8. There were just to many conflicts, some of which could not be resolved. I think I would pretty go back to an older version of Ubuntu to get it to work.
I also tried compiling 2.0.8 from source, which meant wading through a sea of dependency problems (all the development libraries are newer, and sometimes incompatible) and one manual patch. In the end, I got it to compile, but fcinema still wouldn't run:
[0xaa4ec8] qt4 interface debug: activating or triggering extension 'fcinema'
[0x7f9dfc16ef48] lua generic debug: Activating extension 'fcinema'
[0x7f9dfc16ef48] lua generic warning: Error while running script /home/jaromsj/.local/share/vlc/lua/extensions/fcinema.lua, function activate(): error loading module 'dkjson' from file '/usr/local/lib/vlc/lua/modules/dkjson.luac':
/usr/local/lib/vlc/lua/modules/dkjson.luac: bad header in precompiled chunk
[0x7f9dfc16ef48] lua generic error: Could not activate extension!
[0x7f9dfc16ef48] lua generic debug: Deactivating 'fcinema'
[0x7f9dfc16ef48] lua generic debug: [Fcinema] Bye bye!
[0x7f9dfc16ef48] lua generic warning: Error while running script /home/jaromsj/.local/share/vlc/lua/extensions/fcinema.lua, function deactivate(): .../jaromsj/.local/share/vlc/lua/extensions/fcinema.lua:1298: attempt to index global 'json' (a nil value)
[0x7f9dfc16ef48] lua generic warning: Extension 'fcinema' did not deactivate properly
[0x7f9dfc16ef48] lua generic debug: Extension thread end: 'fcinema'
I'm giving up on that line. Sorry, but if you want this to work for Ubuntu users, than I think you need to figure out how to make this work with newer versions of VLC - preferably whatever is in the repositories - 2.1.5?
Can we add the network modules back in to the versions that have it removed?
Is there a newer version of VLC than what I have tried already (2.1.6)?
I was just trying something. I've found that the bug is fixed in version 2.2 (not on the web page yet). To download it:
sudo add-apt-repository ppa:videolan/master-daily
sudo apt-get update
sudo apt-get install vlc
I was trying to test it on linux right now (running windows now, iso is dowloading...)
I uploaded a new versions that checks and complains about incompatible VLC version.
Some workaround could be coded using external libraries (luasocket...), but I hope they add it back. Now I'm tracking what the guys from Vlsub are doing (https://github.com/exebetche/vlsub/issues/28)
Thank you for your time, and yep, installation must be smoother before sharing with end users, hope it comes soon, sorry you have been the first to test it on ubuntu ;)
Ok, I guess I only tried the stable-daily branch before (that was 2.1.6). With this 2.2/3.0 version it is getting further, but this is the error I'm getting:
[00000000021a3378] qt4 interface debug: activating or triggering extension 'fcinema'
[00007fba601677c8] lua generic debug: Activating extension 'fcinema'
[00007fba601677c8] lua generic debug: [Fcinema] Cache already exist
[00007fba601677c8] lua generic debug: [Fcinema] Reading data from file: /home/jaromsj/.local/share/vlc/lua/extensions/userdata/fcinema/config.json
[00007fba601677c8] lua generic debug: [Fcinema] Welcome
[00007fba601677c8] lua generic debug: Creating dialog 'Family Cinema (Beta)'
[00007fba601677c8] lua generic debug: [Fcinema] Getting file info
[00000000021a3378] qt4 interface debug: Creating a new dialog: 'Family Cinema (Beta)'
[00007fba601677c8] lua generic debug: [Fcinema] File info {"uri":"file:///home/jaromsj/Downloads/Doctor%20Horribles%20Sing-Along%20Blog%20Full%201080p%20HD%20%28HD%29.mp4","ext":"mp4","protocol":"file","stat":{"creation_time":1403157858,"mode":33152,"type":"file","modification_time":1403157858,"size":464211429,"access_time":1407454092,"gid":1000,"uid":1000},"hasInput":true,"is_archive":false,"name":"Doctor Horribles Sing-Along Blog Full 1080p HD (HD)","completeName":"Doctor Horribles Sing-Along Blog Full 1080p HD (HD).mp4","path":"/home/jaromsj/Downloads/Doctor Horribles Sing-Along Blog Full 1080p HD (HD).mp4","cleanName":"Doctor Horribles Sing-Along Blog Full 1080p HD (HD)","dir":"/home/jaromsj/Downloads/"}
[00007fba601677c8] lua generic debug: [Fcinema] Read hash data from file
[00007fba601677c8] lua generic debug: [Fcinema] Computing hash
[00007fba601677c8] lua generic debug: [Fcinema] Video hash: 62eaf34c594eaa50
[00007fba601677c8] lua generic debug: [Fcinema] Video bytesize: 464211429
[00007fba601677c8] lua generic debug: [Fcinema] File info {"uri":"file:///home/jaromsj/Downloads/Doctor%20Horribles%20Sing-Along%20Blog%20Full%201080p%20HD%20%28HD%29.mp4","ext":"mp4","protocol":"file","stat":{"creation_time":1403157858,"mode":33152,"type":"file","modification_time":1403157858,"size":464211429,"access_time":1407454092,"gid":1000,"uid":1000},"hasInput":true,"is_archive":false,"hash":"62eaf34c594eaa50","name":"Doctor Horribles Sing-Along Blog Full 1080p HD (HD)","bytesize":464211429,"completeName":"Doctor Horribles Sing-Along Blog Full 1080p HD (HD).mp4","path":"/home/jaromsj/Downloads/Doctor Horribles Sing-Along Blog Full 1080p HD (HD).mp4","cleanName":"Doctor Horribles Sing-Along Blog Full 1080p HD (HD)","dir":"/home/jaromsj/Downloads/"}
[00007fba601677c8] lua generic debug: [Fcinema] Looking in user modified movies
[00007fba601677c8] lua generic debug: [Fcinema] Reading data from file: /home/jaromsj/.local/share/vlc/lua/extensions/userdata/fcinema/user_modified_db.txt
[00007fba601677c8] lua generic debug: [Fcinema] Looking on fcinema.org
[00007fba601677c8] lua generic debug: POST /api.php HTTP/1.1
Host: fcinema.org
Content-Type: application/x-www-form-urlencoded
Content-Length: 147
action=search&agent=vlc&version=0.01&lang=eng&bytesize=464211429&hash=62eaf34c594eaa50&filename=Doctor Horribles Sing-Along Blog Full 1080p HD (HD)
[00007fba601677c8] core generic debug: net: connecting to fcinema.org port 80
[00007fba601677c8] core generic debug: connection succeeded (socket = 41)
[00007fba601677c8] lua generic debug: [Fcinema] Datos recibidos del servidor: HTTP/1.1 200 OK
Set-Cookie: startBAK=R3415750288; path=/; expires=Fri, 08-Aug-2014 00:34:59 GMT
Date: Thu, 07 Aug 2014 23:30:53 GMT
Content-Type: text/html
Set-Cookie: start=R3918392691; path=/; expires=Fri, 08-Aug-2014 00:43:17 GMT
Server: Apache
X-Powered-By: PHP/5.3.28
Cache-Control: max-age=2592000
Expires: Sat, 06 Sep 2014 23:30:51 GMT
Vary: Accept-Encoding
Transfer-Encoding: chunked
Via: 1.1 fltr1.byu.edu:80 (Cisco-IronPort-WSA/7.5.1-201)
Connection: keep-alive
dc
{"IDs":["tt1227926","tt1346985"],"Titles":["Dr. Horrible's Sing-Along Blog","The Making of Dr. Horrible's Sing-Along Blog"],"Directors":["2008 TV mini-series","2008 video documentary short, Ethan Shaftel"]}
0
[00007fba601677c8] lua generic warning: Error while running script /usr/lib/vlc/lua/extensions/fcinema.lua, function activate(): /usr/lib/vlc/lua/extensions/fcinema.lua:2190: attempt to call field 'gfind' (a nil value)
[00007fba601677c8] lua generic error: Could not activate extension!
[00007fba601677c8] lua generic debug: Deactivating 'fcinema'
[00007fba601677c8] lua generic debug: [Fcinema] Bye bye!
[00007fba601677c8] lua generic debug: [Fcinema] Writing data to file: /home/jaromsj/.local/share/vlc/lua/extensions/userdata/fcinema/config.json
[00007fba601677c8] lua generic debug: Deleting dialog 'Family Cinema (Beta)'
[00007fba601677c8] lua generic debug: Waiting for the dialog to be deleted...
[00000000021a3378] qt4 interface debug: Deleting extension dialog 'Family Cinema (Beta)'
[00007fba601677c8] lua generic debug: Extension thread end: 'fcinema'
Try replacing gfind for gmatch, it appears to work for vlsub
https://github.com/exebetche/vlsub/issues/28#issuecomment-40959725
and
Ok, replaced gfind with gmatch in the lua script. Now the menu pops up for selecting the movie and filtering levels, but I'm getting an error at the end when I click 'Watch film':
[00007f5cf41654b8] lua generic debug: [Fcinema][][]
[00007f5cf41654b8] lua generic warning: Error while running script /usr/lib/vlc/lua/extensions/fcinema.lua, function (null)(): /usr/lib/vlc/lua/extensions/fcinema.lua:1323: attempt to call field 'add_callback' (a nil value)
[00007f5cf41654b8] lua generic warning: Could not translate click
Also, about half of it is in spanish, and the buttons are in english. We should get that sorted out. I speak spanish, but the people I know and want to use this with do not.
About the spanish, i started coding the interface in spanish and i'm switching it to english now, just few strings more. The idea is to have the plugin available in different languages (in "Advanced" there is a dropdown where you can select the language).
About the error, this guys from VLC are creating me a headache, they just decided to remove some features https://trac.videolan.org/vlc/ticket/8097 i used for the plugin. They play adding and removing features from version to version, then they complain about vlc having so few addons
Wow. That is kind of a headache.
After looking for some workarounds, I think the new issue must be solved by the VLC team. Until then we have to stay on release 2.0.8.
Anyway, prior to this problem, I was thinking on creating a standalone multiplatform interface. Instead of being a plugin, we control the media player from the outside. With this approach we could build a better interface (vlc plugin interfaces are very limited), and easily extend fcinema for more media players.
User workflow would be: Double click on file/dvd to open fcinema. Select your preferences. Click "Watch" to watch the movie on your favorite media player!
Until VLC issue is solved or standalone fcinema is finished, we can use the plugin on release 2.0.8. We have to request our users to downgrade/don't update their vlc version (easy on windows and mac, really hard on linux). Think the steps must be: 1a) Finish release version of the plugin (fix language...) 1b) Finish defining movie content categories (good categories->good db, bad categories-> bat db) 2) First users (don't care about few content on db and want to collab) 3) General public (want complete db)
Your opinion would be extremely helpful in defining content category (now defined in the api wiki)
I added you to fcinema, so you can edit content...
Sounds like a plan. I'll try out the windows version sometime (I do have windows, just don't boot into it very often...).
VLC does have a good command line interface, doesn't it? So interfacing with it that way seems like a reasonable way to go.
I'm not sure if I can be much help with development or anything, but I'll try and do what I can.
Thanks for what you're doing, I think this is a great project!
After almost one year, hi again! Hope everything is going well. I've had a lot of work, but here we are again. Good news is that our new version is almost here!!
It's a beta version so some main functionalities are there but others are missing right now (currently just spanish, only VLC is supported, not real support for DVD, interface is not perfect, just windows compatible...) but I think we are almost there. Most of the coding work is already done.
I would really appreciate your feedback about the current version and what do you think we can improve. By the way, you can download it from fcinema.org
Thanks for your help!
pd. my email in case you prefer it, is arrietaeguren@gmail.com
I am using kubuntu 14.04, vlc 2.1. fcinema plugin is not working. If I run vlc from the terminal, I get the following message (the last line is what pops up when I click view:fcinema): ~$ vlc VLC media player 2.1.4 Rincewind (revision 2.1.4-0-g2a072be) [0x82e118] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface. [0x7ffb20184f18] lua generic error: Could not activate extension!