Giter Site home page Giter Site logo

pythonw.exe? about traktforvlc HOT 8 CLOSED

xaf avatar xaf commented on May 30, 2024
pythonw.exe?

from traktforvlc.

Comments (8)

XaF avatar XaF commented on May 30, 2024

Did you edit the start_process.bat file to set the different informations needed ?

The content of the file must be edited to reflect your computer's paths:

start "TraktForVLC" [full/path/to/python(w).exe] [full/path/to/TraktForVLC.py] --datadir [full/path/to/directory/TraktForVLC] --config [full/path/to/directory/TraktForVLC]

Where:

  • [full/path/to/python(w).exe] is the full path to the python.exe or pythonw.exe file on your computer
  • [full/path/to/TraktForVLC.py] is the full path to the TraktForVLC.py file on your computer
  • [full/path/to/directory/TraktForVLC] is the full path to the directory where the TraktForVLC.py file is on your computer (--datadir and --config point towards that directory by default, but you can customize that)

You should paste here the content of that file if it still doesn't work when you've edited your file!

from traktforvlc.

baronebarra avatar baronebarra commented on May 30, 2024

Thanks for the reply.
I hadn't changed the path to pythonw.exe, now it seems to work: if I open start-process.bat it doesen't give me any error. But now, when I play a file in VLC, I still can't see it in my Trakt history.
Of course I configured VLC properly and I tried with different episodes, with no luck unfortunately.

from traktforvlc.

XaF avatar XaF commented on May 30, 2024

Did you let it enough time while wathing the episode ? There is a one minute delay between each time TraktForVLC look at what is happening in VLC.

Also, you could add at the end of the line starting by start in the start_process.bat file the options --debug and --small-timers. The --debug option will create a TraktForVLC-DEBUG.log file containing more detailed information about what is happening in TraktForVLC, while the --small-timers option will reduce the time between checks to only 5 seconds. If there's something wrong in TraktForVLC's work, we will see that in that log file.

from traktforvlc.

baronebarra avatar baronebarra commented on May 30, 2024

The log file says:

"2015-03-12 19:44:07,703::TraktForVLC::ERROR::Config file C:\Users\Emmo\Desktop\Trakt4VLC/config.ini not found, exiting."

That "/" before the name of the file looks wrong, but the start_process.bat seems fine.

from traktforvlc.

XaF avatar XaF commented on May 30, 2024

Ok, can you change the following line by the end of TraktForVLC.py from:

    configfile = config + "/config.ini"

to

    configfile = os.path.join(config, "config.ini")

and report back?

from traktforvlc.

baronebarra avatar baronebarra commented on May 30, 2024

tried that, same result, config.ini not found...

from traktforvlc.

XaF avatar XaF commented on May 30, 2024

Just to be sure, did you copy (and edit) the config.ini.default file to config.ini and put it in your C:\Users\Emmo\Desktop\Trakt4VLC directory ?

from traktforvlc.

baronebarra avatar baronebarra commented on May 30, 2024

Oh, that's the step I was missing. I didn't create the new config.ini file, I just edited and kept the old config.ini.default...
Now it's working properly!
Thank you very much for the support :)

from traktforvlc.

Related Issues (20)

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.