Giter VIP home page Giter VIP logo

Comments (10)

un-pogaz avatar un-pogaz commented on September 26, 2024 1

Hum, weird, I'm on VLC 3.0.17.4...

Oh well, whatever out what obscure stuff is going on behind the scenes, the main point is:
IT'S WORK!

Thank you for your time and help.

from now-playing-in-texts.

un-pogaz avatar un-pogaz commented on September 26, 2024

Search on your computer "np_bandcamp.txt", I have copy/paste the Linux instruction from ohters Lua extension, so I am not sure where it creates the output TXT. Maybe it has changed or my info is incorrect.

If your click/initilize the lua extension but no TXT are create or no check mark appear next to him, please, give me a log file with vlc --logfile="debug-lua.log" --file-logging --logmode=text --log-verbose=3 that I can look so that I can make sure that there is a problem in the extension and possibly which one. Outside the extension, i'm not sure to be able to help you.

from now-playing-in-texts.

tux- avatar tux- commented on September 26, 2024

I had the same issue, and this is what is showing in my log:

lua debug: Scanning Lua script /home/username/.local/share/vlc/lua/extensions/Now Playing in Texts.lua
lua warning: Error loading script /home/username/.local/share/vlc/lua/extensions/Now Playing in Texts.lua: ....local/share/vlc/lua/extensions/Now Playing in Texts.lua:255: invalid escape sequence near '.'

from now-playing-in-texts.

un-pogaz avatar un-pogaz commented on September 26, 2024

Thanks, with this I could find the problem.
Could you test this version of Now Playing in Texts.lua to confirm if it works, thanks.

from now-playing-in-texts.

tux- avatar tux- commented on September 26, 2024

That seems to have fixed that error. It now reads: lua debug: Script /home/username/.local/share/vlc/lua/extensions/Now Playing in Texts.lua has the following capability flags: 0x4

Thanks for working on this! :D

from now-playing-in-texts.

tux- avatar tux- commented on September 26, 2024

See ticket is closed. I am not sure what that new log message means, but, it is still not generating the files in Linux.

from now-playing-in-texts.

un-pogaz avatar un-pogaz commented on September 26, 2024

You need to enlable the extension at least one time "View > Now Playing in Texts v2" to generate the files. If the check mark don't appear, is that there is another subtlety/error specifice on Linux. (and a need new log)

There, at the moment, I closed the ticket because the reported problem, "loading error: the extension don't appear in the menu", is solved.

from now-playing-in-texts.

tux- avatar tux- commented on September 26, 2024

Aha! When checking that button, it unchecks automatically, and this comes in the log:

qt debug: activating or triggering extension 'Now Playing in Texts v2'
lua debug: Activating extension 'Now Playing in Texts v2'
lua debug: [Now Playing texts] Activate {2.2}
lua debug: [Now Playing texts] init()
lua debug: [Now Playing texts] update_files()
lua debug: [Now Playing texts] write file > bandcamp
lua warning: Error while running script /home/username/.local/share/vlc/lua/extensions/Now Playing in Texts.lua, function activate(): ....local/share/vlc/lua/extensions/Now Playing in Texts.lua:284: attempt to call field 'getn' (a nil value)
lua error: Could not activate extension!
lua debug: Deactivating 'Now Playing in Texts v2'

from now-playing-in-texts.

un-pogaz avatar un-pogaz commented on September 26, 2024

Okay, somehow, some lua functions are not identical between Windwos and Linux (in this case table.getn is deprecated)

As I'm under Windwos, it escaped me, now it's about checking all that. I will probably still need you because I can't find the list of Windwos/Linux differences, great.

new test version Now Playing in Texts.lua

Hum, are you on VLC3 or 4? I still fix it, just, it would be more logical for a compatibility break like this.

from now-playing-in-texts.

tux- avatar tux- commented on September 26, 2024

Heya, thanks again, that fixed it! Box is checked, and files are written, and they contain the expected information. Using VLC 3.0.9.2

from now-playing-in-texts.

Related Issues (7)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.