Code Monkey home page Code Monkey logo

tcz-jivelite's Introduction

tcz-jivelite

piCorePlayer /dev/fb jivelite.tcz

Installation Instructions on piCorePlayer 1.19+

Copy these two files to /mnt/mmcblk0p2/tce/optional on the piCorePlayer sd card. There's enough free space on the default image to add the jivelite files. If you've installed other packages you might need to increase the size of the ext4 partition mmcblk0p2.

https://github.com/ralph-irving/tcz-jivelite/raw/master/jivelite.tcz

https://github.com/ralph-irving/tcz-jivelite/raw/master/jivelite.tcz.md5.txt

Add the following line to the end of /mnt/mmcblk0p2/tce/onboot.lst

jivelite.tcz

To start jivelite on boot add this line in one of the user command fields at the bottom of the tweaks webgui.

/opt/jivelite/bin/jivelite-sp

To enable the visualizer now playing screens in 1.19, add a lowercase -v to the Various Input text field at the bottom of the Squeezelite Settings webgui page as the Visualiser support option is broken in 1.19.

To stop the configuration backup from including all the images from the jivelite installation add this line to /opt/.xfiletool.lst

opt/jivelite

Reboot piCorePlayer

To enable visualizers support after having run the jivelite config once already, add -v as above, kill the jivelite process, then delete the .jivelite folder in /home/tc and reboot. After the reboot you will need to reconfigure jivelte.

The jivelite package is currently being evaluated for inclusion in the default piCorePlayer image.

I've tested it on a B and B+.

You need a keyboard to configure jivelite initially and either a composite or hdmi monitor connected.

Here's the key map http://wiki.slimdevices.com/index.php/SqueezePlay_Developers_FAQ

NONE of the HD Skins support a pointer or touch device.

Only the Joggler (800x480) and WQVGA Small Print (480x272) Skins work with a mouse or touchpad and should work with touch screens, if the screen uses a framebuffer device like /dev/fb?. The skins don't automatically resize. If the screen is larger than the resolution of the chosen skin, SDL will automatically center it on the screen, leaving the outsides of the screen unused. If the screen is smaller than the skin resolution, you will need to modify the skin to match the new size. I will NOT make these changes if asked.

You may need to set environment variables before running jivelite on a framebuffer based touchscreen. You may need a different path for SDL_MOUSEDEV, depending on how you've set up the touch screen device.

For the RPI 7inch screen.

export TSLIB_TSDEVICE=/dev/input/event0

Your screen may use another /dev/input/event? device if you have a keyboard or flirc connected to the rpi. If you recieve the 'not a touchscreen message/ from ts_calibrate, you're using the wrong device with TSLIB_TSDEVICE

To manually recalibrate the touchscreen run /usr/local/bin/ts_calibrate as root.

This will create the file /usr/local/etc/pointercal which is used by the ts library.

As of October 25th, 2015 the jivelite.tcz package is the last release before the touch functionality was introduced. It is installed by piCorePlayer versions older than 1.21g. This package will receive no further updates.

The jivelite_touch.tcz is installed by piCorePlayer release 1.21g and newer and depends on the libts.tcz package from https://github.com/ralph-irving/tcz-libts Displaying the mouse pointer can be disabled with the touch release by defining either of the environment variables prior to starting jivelite.

export SDL_TOUCHSCREEN=1

or

export JIVE_NOCURSOR=true

All the skins can be used with a flirc IR dongle and a squeezebox remote.

https://flirc.tv/product/flirc/

You'll need to load one of the flirc config files from another computer. Start with the fcfg file in ralphy_jivelite_flirc_map.zip and if you get multiple key presses for one press then try the other config in ralphy_jivelite_flirc_map_debounce.zip

Both files are available in the repository.

Not all the keys on the slimremote map 1-to-1, here are the exceptions.

Sleep = Escape/Back

Power = Power (Only from Now Playing screen)

Search = Current Track Info

Browse = Music Library

Size = Stop

Brightness = Playlists

Build instructions to recreate jivelite.tcz from scratch on raspbian 7.8.

Compile squeezeplay

git clone https://github.com/ralph-irving/squeezeplay

copy Makefile.picoplayer squeezeplay/src

copy squeezplay-lua.patch squeezeplay/src/lua-5.1.1

cd squeezeplay/src/lua-5.1.1

patch -p0 -i squeezplay-lua.patch

cd squeezeplay/src

make -f Makefile.picoplayer clean

make -f Makefile.picoplayer

Install squeezeplay

mkdir -p /opt/squeezeplay

tar -C /opt/squeezeplay -xzf ../build/squeezeplay-7.8.0-.tgz

Compile jivelite

git clone https://github.com/ralph-irving/jivelite

copy jivelite-picoplayer.patch jivelite

cd jivelite

patch -p0 -i jivelite-picoplayer.patch

make

Install jivelite

mkdir -p /opt/jivelite

./jivelite-install

Make jivelite squash filesystem

./jivelite-maketcz

tcz-jivelite's People

Contributors

ralph-irving avatar

Watchers

James Cloos avatar  avatar

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.