GuideMe (TeaseMe v2.0) - Current Build 0.4.4

Webteases are great, but what if you're in the mood for a slightly more immersive experience? Chat about Tease AI and other offline tease software.

Moderator: 1885

RemiHiyama
Explorer At Heart
Explorer At Heart
Posts: 203
Joined: Thu Feb 28, 2019 3:30 pm
I am a: Switch

Re: GuideMe (TeaseMe v2.0) - Current Build 0.4.4

Post by RemiHiyama »

Hmmm. I did some searching for that option and found this issue in vlcj's github: https://github.com/caprica/vlcj/issues/929

And it's fixed... in vlcj-4.4.2 and up.

GuideMe currently uses 3.12.1

That may not be a trivial upgrade. If the workaround continues working, it's fine, but one of caprica's comments suggests that using that option could cause performance issues... maybe, since it's possible GuideMe does something that handles that initialization later.

@DarkPassenger, @tr0gd0r, could you try running a tease that plays a video and let me know how it goes?

On a different note, if you went digging around in the right places you might find that there's an option when making a button to make it the "default" which would start out selected and so be triggered by the enter key, even if it's not the first one made.

It doesn't work. As far as I'm aware, it never did, and honestly having it as a button property doesn't seem like the most sensible way of handling it. Assuming I find at some point how to actually do it, I'm thinking of just making a method that sets the default by id, and then maybe have the various parameter-based methods act like calls to it. Anyone have thoughts on this arrangement?
Auto: Replaces selected instances of the word "not" with the word "definitely".
DarkPassenger
Explorer
Explorer
Posts: 18
Joined: Tue Jan 05, 2021 11:44 pm
Gender: Male
Sexual Orientation: Bisexual/Bi-Curious
I am a: Switch

Re: GuideMe (TeaseMe v2.0) - Current Build 0.4.4

Post by DarkPassenger »

Do you know where I can find a tease with a video? :D

As for the default option for buttons, I'm not sure it's used a lot anyway. I find that having any other than the first button selected by default is rather counter intuitive.
tr0gd0r
Explorer
Explorer
Posts: 18
Joined: Fri Jan 03, 2020 3:08 am

Re: GuideMe (TeaseMe v2.0) - Current Build 0.4.4

Post by tr0gd0r »

I just put a quick test together, and it seems to open a new VLC window in which to play the video. So not completely broken but not ideal either!
User avatar
Trusfrated
Explorer At Heart
Explorer At Heart
Posts: 465
Joined: Mon Nov 08, 2010 8:41 am
Gender: Male

Re: GuideMe (TeaseMe v2.0) - Current Build 0.4.4

Post by Trusfrated »

DarkPassenger wrote: Tue Dec 21, 2021 8:58 pm Do you know where I can find a tease with a video? :D
One of the first "proof of concept" teases for TeaseMe (the precursor to GuideMe) was d3vi0n's "Meet Chayse Evans" and it included video. Surprisingly, after 10 years one of the links is still good. :smile: It's a small download by today's standards (with low resolution video) so would be an easy test candidate.

http://www.mediafire.com/?or1t06fxi3ovcj9
ImageImage
User avatar
bobhill
Explorer At Heart
Explorer At Heart
Posts: 164
Joined: Tue Mar 15, 2016 8:49 pm
Gender: Male
Sexual Orientation: Straight
I am a: None of the above

Re: GuideMe (TeaseMe v2.0) - Current Build 0.4.4

Post by bobhill »

Here's a short test script with video...
RemiHiyama
Explorer At Heart
Explorer At Heart
Posts: 203
Joined: Thu Feb 28, 2019 3:30 pm
I am a: Switch

Re: GuideMe (TeaseMe v2.0) - Current Build 0.4.4

Post by RemiHiyama »

DarkPassenger wrote: Tue Dec 21, 2021 8:58 pm Do you know where I can find a tease with a video? :D
Others have posted some, but I'd also try sticking something you've got lying around in the data directory and editing the xml to point to it with one of those, because you've probably got higher quality videos now. Being inside GuideMe shouldn't have much impact on video playback, so if a video that has no problems outside it does inside, something is probably wrong.
As for the default option for buttons, I'm not sure it's used a lot anyway. I find that having any other than the first button selected by default is rather counter intuitive.
Hmmm, maybe so, but I can see some uses for it. I haven't actually tried PlayfulGuy's EOS converter, but if he's using buttons for notifications, having it not try to default to one of those is probably the more desired behavior... especially if it's a display-only one and not a functional button at all. (I found the place in the code that does the selection, and I don't think it takes buttons being disabled into account.)

Also I get the impression that some people are deliberately going for counter-intuitive...
tr0gd0r wrote: Tue Dec 21, 2021 9:09 pm I just put a quick test together, and it seems to open a new VLC window in which to play the video. So not completely broken but not ideal either!
And speaking of things going wrong... has anyone else noticed this behavior on linux, whether they're using -DVLCJ_INITX=no or not?

I might have to spin up a Linux VM to look into this one, which probably won't be until after new year's.
Auto: Replaces selected instances of the word "not" with the word "definitely".
DarkPassenger
Explorer
Explorer
Posts: 18
Joined: Tue Jan 05, 2021 11:44 pm
Gender: Male
Sexual Orientation: Bisexual/Bi-Curious
I am a: Switch

Re: GuideMe (TeaseMe v2.0) - Current Build 0.4.4

Post by DarkPassenger »

I've got an old machine in my lab with CentOS 7 running on it. I installed Guideme on it, and it has the same problem. So this issue with VLCJ seems to be widespread to several distributions.
I'll try a tease with a video this evening.
DarkPassenger
Explorer
Explorer
Posts: 18
Joined: Tue Jan 05, 2021 11:44 pm
Gender: Male
Sexual Orientation: Bisexual/Bi-Curious
I am a: Switch

Re: GuideMe (TeaseMe v2.0) - Current Build 0.4.4

Post by DarkPassenger »

So the videos don't work with the Meet Chayse Evans tease, I get this error message:
Spoiler: show

Code: Select all

[00007fdfd0009880] filesystem stream error: cannot open file /./Guides/MeetChayseEvans/stage1b.avi (No such file or directory)
[00007fdff00076b0] main input error: Your input can't be opened
[00007fdff00076b0] main input error: VLC is unable to open the MRL 'file:///./Guides/MeetChayseEvans/stage1b.avi'. Check the log for details.
21:50:10.089 [pool-2-thread-1] ERROR org.guideme.guideme.ui.MainShell - MediaPlayer error 
It looks like an error in the path (notice the / at the beginning, making it an absolute path instead of relative) and it seems to be a problem in GuideMe rather than the tease itself, that just uses relative paths.

bobhill's example works fine, but as tr0gd0r on my system it opens VLC in a separate window.
User avatar
bobhill
Explorer At Heart
Explorer At Heart
Posts: 164
Joined: Tue Mar 15, 2016 8:49 pm
Gender: Male
Sexual Orientation: Straight
I am a: None of the above

Re: GuideMe (TeaseMe v2.0) - Current Build 0.4.4

Post by bobhill »

DarkPassenger wrote: Wed Dec 22, 2021 9:00 pm bobhill's example works fine, but as tr0gd0r on my system it opens VLC in a separate window.
Would you mind trying this: open another tease then retry my example? I've had an issue where the video works correctly on the first run, but later the "window" is cropped to approximately the upper left quadrant and is slightly offset outside the GM window. I can't reproduce the exact sequence, so it would be good to see if someone else has the same issue.
RemiHiyama
Explorer At Heart
Explorer At Heart
Posts: 203
Joined: Thu Feb 28, 2019 3:30 pm
I am a: Switch

Re: GuideMe (TeaseMe v2.0) - Current Build 0.4.4

Post by RemiHiyama »

DarkPassenger wrote: Wed Dec 22, 2021 9:00 pmIt looks like an error in the path (notice the / at the beginning, making it an absolute path instead of relative) and it seems to be a problem in GuideMe rather than the tease itself, that just uses relative paths.
Do you mean the the third / in file:/// ? That appears to be required to be a valid file URI, regardless of OS. I think something else is going on. Can you check your log files, and see what it shows as the full URI for Room203.mp4? (I'm assuming you have things set up such that the XML files for each tease are in the same location; if not please move bobhill's test to the same location first.)
Auto: Replaces selected instances of the word "not" with the word "definitely".
RemiHiyama
Explorer At Heart
Explorer At Heart
Posts: 203
Joined: Thu Feb 28, 2019 3:30 pm
I am a: Switch

Re: GuideMe (TeaseMe v2.0) - Current Build 0.4.4

Post by RemiHiyama »

So I decided to do some searching for vlcj unexpectedly opening new windows, and found some pages saying that happened when there was an issue with a window handle (or window surface, or something like that) being invalid.

Now, I'm not all that clear on how vlcj does what it does internally, but that kind of sounds like the sort of thing that might happen if you, say, tell the library to skip part of it's initialization process.

So updating to a new version of vlcj has moved up my priority list. I'm not sure how long it'll take though. If it's just a matter of changing the imports and updating method calls it'll be pretty easy. If how things function has changed significantly... it's hard to tell.

DarkPassenger, I doubt that this will solve the path error you saw, so I could still use that log information I asked about, to try and hunt down that issue at the same time.
Auto: Replaces selected instances of the word "not" with the word "definitely".
DarkPassenger
Explorer
Explorer
Posts: 18
Joined: Tue Jan 05, 2021 11:44 pm
Gender: Male
Sexual Orientation: Bisexual/Bi-Curious
I am a: Switch

Re: GuideMe (TeaseMe v2.0) - Current Build 0.4.4

Post by DarkPassenger »

well that's really strange... I reopened the tease to be able to extract the log for you and this time it works fine (but still in its own window) . It shows the full path in the log, from the root, rather than the local path I had the previous time. I don't understand, as far as I know I'm doing it the exact same way as two days ago. According to the log you seem to be right:

Code: Select all

[00007f9d04005cc0] egl_x11 gl error: Xlib not initialized for threads
../include/vlc_xlib.h:46:vlc_xlib_init: Xlib not initialized for threads.
This process is probably using LibVLC incorrectly.
Pass "--no-xlib" to libvlc_new() to fix this.
It looks like vlcj was not initialized correctly.
RemiHiyama
Explorer At Heart
Explorer At Heart
Posts: 203
Joined: Thu Feb 28, 2019 3:30 pm
I am a: Switch

Re: GuideMe (TeaseMe v2.0) - Current Build 0.4.4

Post by RemiHiyama »

Here's an early Christmas present for Linux users.

https://github.com/hiss-remi/GuideMe/re ... g/v0.4.5.1

This -should- work without the -DVLCJ_INITX=no option, and without doing any of that "open things in another window" business either.

Windows users don't have any reason to upgrade at this point, but if you have video or audio using teases you'd be willing to test for correct behavior, I'd greatly appreciate it. Everything that goes through VLC seems to be working correctly, but it's possible there's an edge case that I've missed.
Auto: Replaces selected instances of the word "not" with the word "definitely".
tr0gd0r
Explorer
Explorer
Posts: 18
Joined: Fri Jan 03, 2020 3:08 am

Re: GuideMe (TeaseMe v2.0) - Current Build 0.4.4

Post by tr0gd0r »

Thanks for your help on this. Unfortunately 0.4.5.1 still opens a separate window for video playback :weep:

Console prints the following:

Code: Select all

[00007fa6000624e0] xcb_window window error: bad X11 window 0x9e877c80
../include/vlc_xlib.h:46:vlc_xlib_init: Xlib not initialized for threads.
This process is probably using LibVLC incorrectly.
Pass "--no-xlib" to libvlc_new() to fix this.
[00007fa4d0002bf0] egl_x11 gl error: Xlib not initialized for threads
../include/vlc_xlib.h:46:vlc_xlib_init: Xlib not initialized for threads.
This process is probably using LibVLC incorrectly.
Pass "--no-xlib" to libvlc_new() to fix this.
[00007fa4d0002bf0] glx gl error: Xlib not initialized for threads
../include/vlc_xlib.h:46:vlc_xlib_init: Xlib not initialized for threads.
This process is probably using LibVLC incorrectly.
Pass "--no-xlib" to libvlc_new() to fix this.
[00007fa4d0002bf0] egl_x11 gl error: Xlib not initialized for threads
[00007fa6000624e0] xcb_window window error: X server failure
Possibly related to this issue?
https://github.com/caprica/vlcj/issues/293

Whether it will fix the window issue I don't know, but it can't hurt to try!
RemiHiyama
Explorer At Heart
Explorer At Heart
Posts: 203
Joined: Thu Feb 28, 2019 3:30 pm
I am a: Switch

Re: GuideMe (TeaseMe v2.0) - Current Build 0.4.4

Post by RemiHiyama »

Sigh.

I don't think it can be exactly that, because... well, that function doesn't seem to exist anymore in this version of VLCJ. I've got an idea or two of things to try, but I think I'm back to "Need to set up a linux vm so I can test things directly."
Auto: Replaces selected instances of the word "not" with the word "definitely".
Post Reply