PDA

View Full Version : Jivelite for Mac OSX



ralphy
2015-09-27, 04:17
I've built a new MacOS version of Triode's excellent Jivelite controller (http://forums.slimdevices.com/showthread.php?98156). The VU and spectrum Now Playing screens are now supported. Requires Squeezelite-x86_64-1.9.1r1130.dmg or newer.

20190111 r189 Added visualizer now playing screen support, requires Squeezelite-x86_64-1.9.1r1130.dmg or newer.
20180524 r187 Supports save and play for all 10 presets. Requires LMS 7.9.2 1527514762+ for presets 7 through 10 support.

The Jivelite-x86_64-lua-0.1.0r189.dmg disk image package is for 10.7+ 64-bit only and needs to be installed in /Applications

Jivelite for MacOS r189+ uses the same lua 5.1 as squeezeplay for better applet compatiblility, instead of luajit 2.0.

The x86_64 versions of both Jivelite and Squeezelite have to be used for the visualizer feature to work.
Start squeezelite with visualizer support enabled (-v) before starting Jivelite.
ATM, if you restart squeezelite while jivelite is running the visualizer screen savers will stop functioning until jivelite is also restarted.

For details on running squeezelite at boot or changing the default output device for the dmg package see http://forums.slimdevices.com/showthread.php?97046-Announce-Squeezelite-a-small-headless-squeezeplay-emulator-for-linux-(alsa-only)&p=902615&viewfull=1#post902615
Don't forget to add <string>-v</string> to ProgramArguments key array section of squeezelite.plist.

Changes

See the commit history (https://github.com/ralph-irving/jivelite/commits/master).

Download

Jivelite for Mac is available from my LMS client builds repository on sourceforge.
Click the link in my signature and navigate to jivelite->osx.

For squeezelite, go to squeezelite->osx->intel.

Installation

Drag Jivelite.app into the /Applications folder.

If you've used jivelite previously, you must delete $HOME/Library/Preferences/Jivelite while jivelite is NOT running.

If you created an automator script for the old /opt/jivelite tarball you need to delete it, remove it from the trash and reboot your Mac BEFORE installing the dmg. Until I did that, trying to run jivelite from Applications failed and you'll find errors in the console log similiar to these.


2018-12-12 2:41:21.759 PM com.apple.xpc.launchd[1]: (com.apple.automator.Jivelite.248992[94879]) Could not find and/or execute program specified by service: 2: No such file or directory: /Applications/Jivelite.app/Contents/MacOS/Application Stub
2018-12-12 2:41:21.759 PM Finder[391]: spawn_via_launchd() failed, errno=111 label=com.apple.automator.Jivelite.248992 path=/Applications/Jivelite.app/Contents/MacOS/Application Stub flags=1 : LaunchApplicationClient.cp #1136 LaunchApplicationViaLaunchDJobLabel() q=com.apple.root.default-qos

Once you've installed the new package you can delete the old jivelite install from a Terminal session.

cd /opt
sudo rm -rf jivelite

Running

By default jivelite keeps the screensaver from activating. To override this load Automator in Applications.

Choose 'Application' for your new document.

Type into the search actions box: 'run shell script' and Click and drag to right side window pane.

Type in the script:


export SDL_VIDEO_ALLOW_SCREENSAVER=1
/Applications/Jivelite.app/Contents/MacOS/Jivelite > $HOME/Jivelite.log 2>&1 &
exit 0

Save the automator script.

You can double click it to run Jivelite and you won't have a terminal window open the whole time Jivelite is running.

Source

Available on github (https://github.com/ralph-irving/jivelite).

ralphy
2015-09-27, 04:18
.....

Jackisidore
2015-12-31, 01:30
Wow! Connected an old mac mini to my big HD screen and wondered if I could find a really big controller for my Touch. Jivelite is now running in 1080p. Logitech Smarthub for the remote.

Thanks!

ralphy
2017-01-28, 07:53
New jivelite for osx build (https://sourceforge.net/projects/lmsclients/files/jivelite/osx/) available.

See the first post in this thread for installation details and the github commit log (https://github.com/ralph-irving/jivelite/commits/master) for all the changes.

rlsx
2017-02-15, 05:48
New jivelite for osx build (https://sourceforge.net/projects/lmsclients/files/jivelite/osx/) available.

See the first post in this thread for installation details and the github commit log (https://github.com/ralph-irving/jivelite/commits/master) for all the changes.

Thanks Ralphy for your continuing work!

One frustrating behavior in Jivelite OSX: I am running on a MacMini (no kbd, or mouse), displaying 1920x1080 on a TV screen.
Is there a way to have Jivelite start centered on the screen? (Preferably full screen.)

As things stand I have to manipulate the Jivelite window with a macro utilty, with haphazard results ...

ralphy
2017-02-16, 07:12
Thanks Ralphy for your continuing work!

One frustrating behavior in Jivelite OSX: I am running on a MacMini (no kbd, or mouse), displaying 1920x1080 on a TV screen.
Is there a way to have Jivelite start centered on the screen? (Preferably full screen.)

As things stand I have to manipulate the Jivelite window with a macro utilty, with haphazard results ...

There is no setting in jivelite to center on the screen or use full screen, however the jivelite window is resizable on macOS, it just takes a few seconds.

In some versions of macOS you can have the screen location remembered by unchecking "Close windows when quitting an app" in system preferences->general.

rlsx
2017-02-16, 08:01
There is no setting in jivelite to center on the screen or use full screen, however the jivelite window is resizable on macOS, it just takes a few seconds.

In some versions of macOS you can have the screen location remembered by unchecking "Close windows when quitting an app" in system preferences->general.

Thanks for your reply.
The problem here is that Jivelite is running on a tucked-away "semi-headless" system (no kbd, no mouse). El Capitan doesn't remember the position of the Jivelite window, no matter what. The window opens with offset about 1/3 screen-width to the left.

May I suggest you implement this in a future release?
Another suggestion: Is there much work involved in releasing Jivelite as a standard macOs app that only needs to be copied to the Applications folder (like Squeezeplay)?

mherger
2017-02-16, 12:14
> Another suggestion: Is there much work involved in releasing Jivelite as
> a standard macOs app that only needs to be copied to the Applications
> folder (like Squeezeplay)?

Platypus might be helpful:

http://sveinbjorn.org/files/manpages/PlatypusDocumentation.html

Maybe create a stub executable which then is being updated with the
latest files?

--

Michael

rlsx
2017-02-16, 13:12
Platypus might be helpful:

http://sveinbjorn.org/files/manpages/PlatypusDocumentation.html

Maybe create a stub executable which then is being updated with the latest files?

--

Michael

I believe Platypus will just create a "container" around a shell script (probably like Automator?). But, as things stand, the original executable and auxiliary files remain in /opt/jivelite/...
--
Ramez

mherger
2017-02-16, 22:07
> I believe Platypus will just create a "container" around a shell script
> (probably like Automator?). But, as things stand, the original
> executable and auxiliary files remain in /opt/jivelite/...

You can bundle those files inside the container, and write a small
wrapper script to run the binary. That said: I have little to no
experience using it. In the quick test I run the application would not
really quit even when jivelite was closed.

--

Michael

ralphy
2017-11-30, 05:59
New MacOS jivelite build available.

20171129 git35616db

Fixes macOS High Sierra 10.13 black square under mouse pointer. Requires 10.7 or newer.
For older versions of OSX use the previous 20170523 gitd8801ad release.

See post #1 (http://forums.slimdevices.com/showthread.php?104371-Jivelite-for-Mac-OSX&p=830979&viewfull=1#post830979) for details.

iPhone
2017-12-04, 13:02
.
.
Thanks for continuing to support this.

ralphy
2017-12-13, 06:23
> I believe Platypus will just create a "container" around a shell script
> (probably like Automator?). But, as things stand, the original
> executable and auxiliary files remain in /opt/jivelite/...

You can bundle those files inside the container, and write a small
wrapper script to run the binary. That said: I have little to no
experience using it. In the quick test I run the application would not
really quit even when jivelite was closed.

--

Michael

I've created a jivelite MacOS disk image package for 10.7+ similiar to the one for squeezeplay which should be installed in /Applications

If you created an automator script for the /opt/jivelite tarball you need to delete it, removing if from the trash and reboot your Mac BEFORE installing the dmg. Until I did that, trying to run jivelite from Applications failed and you'll find errors in the console log similiar to these.


2017-12-12 2:41:21.759 PM com.apple.xpc.launchd[1]: (com.apple.automator.Jivelite.248992[94879]) Could not find and/or execute program specified by service: 2: No such file or directory: /Applications/Jivelite.app/Contents/MacOS/Application Stub
2017-12-12 2:41:21.759 PM Finder[391]: spawn_via_launchd() failed, errno=111 label=com.apple.automator.Jivelite.248992 path=/Applications/Jivelite.app/Contents/MacOS/Application Stub flags=1 : LaunchApplicationClient.cp #1136 LaunchApplicationViaLaunchDJobLabel() q=com.apple.root.default-qos


The jivelite disk image is available for download here (https://sourceforge.net/projects/lmsclients/files/jivelite/osx/).

Once you've installed the new package you can delete the old jivelite install from a Terminal session.

cd /opt
sudo rm -rf jivelite

An automator script can then be recreated if you need to set any environment variables. The new path to the jivelite executable is /Applications/Jivelite.app/Contents/MacOS/Jivelite

rlsx
2017-12-26, 05:31
I've created a jivelite MacOS disk image package for 10.7+ similiar to the one for squeezeplay which should be installed in /Applications
[...]

Hello Ralph, and many thanks for your continuing work.
In ths new "format", how does one configure command-line args such as "output device" etc ?

ralphy
2017-12-26, 08:11
Hello Ralph, and many thanks for your continuing work.
In ths new "format", how does one configure command-line args such as "output device" etc ?

Jivelite is only a controller. SqueezePlay (https://sourceforge.net/projects/lmsclients/files/squeezeplay/osx/) is a player and controller combined.

rlsx
2017-12-26, 08:41
Jivelite is only a controller. SqueezePlay (https://sourceforge.net/projects/lmsclients/files/squeezeplay/osx/) is a player and controller combined.

Sorry -- my mistake.
I meant to ask about the "new format" squeezelite:
: Squeezelite-x86_64-1.8.7r1052.dmg
How does one configure the command-line arguments, such as "output device" ?

(You will forgive me if this isn't the correct thread, for squeezelite...)

Thanks

ralphy
2017-12-27, 06:12
Sorry -- my mistake.
I meant to ask about the "new format" squeezelite:
: Squeezelite-x86_64-1.8.7r1052.dmg
How does one configure the command-line arguments, such as "output device" ?

(You will forgive me if this isn't the correct thread, for squeezelite...)

Thanks
I've replied in the squeezelite thread (http://forums.slimdevices.com/showthread.php?97046-Announce-Squeezelite-a-small-headless-squeezeplay-emulator-for-linux-(alsa-only)&p=902615&viewfull=1#post902615).

ralphy
2019-02-11, 06:10
Jivlite for MacOS now supports the visualizer now playing screens. Requires Squeezelite-x86_64-1.9.1r1130.dmg or newer.

See post #1 (https://forums.slimdevices.com/showthread.php?104371-Jivelite-for-Mac-OSX&p=830979&viewfull=1#post830979) for details.