Kodi Community Forum
Release Joggler - a new skin designed for touch interface with touchscreens - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32)
+--- Forum: Skinning (https://forum.kodi.tv/forumdisplay.php?fid=12)
+---- Forum: WIP Skins (https://forum.kodi.tv/forumdisplay.php?fid=160)
+---- Thread: Release Joggler - a new skin designed for touch interface with touchscreens (/showthread.php?tid=84175)

Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23


update 0.94 - djtoll - 2011-06-15

0.96

- change - textures on dialog Close Window

0.95

- add - Statistic Database Dialog window (Count of watched/Unwatched Movies, TVseries, episodes ... etc)

0.94

- fix - unzip problem with Letters SmartPlaylists
- add - now A-Z playlists for Music Artists.
- update - script.favourites to vers. 1.0.6 (need for pre-Eden "xbmc 11.xx")


update 0.97 - djtoll - 2011-06-15

0.97

- add - First release with Cassette/Tape Player (enable at Home)

CASSETTE/TAPE-PLAYER

Credits go to Manicho DEVIANTART USER

Image



screens with couple Infos
Image

Image

Image

Image


update 0.97 - djtoll - 2011-06-15

see fullscreen Backgrounds/Fanarts/Visualisation.
Image

Image

7 Colors can be selected.
Image


- mad-max - 2011-06-16

Nice One DJ...but why the hell not turntables, lika a DJ deserves itHuh

Just joking...looks really great...

cya@nerdtown Laugh


- djtoll - 2011-06-16

THX Mad-Max

at the turntables I was thinking, but I still found no compelling presentation. Second, I wanted to start small the first time ... the turntables have some more knobs Big Grin

greetz dj


- gazhay - 2011-06-25

Swifty Wrote:Image uploaded : http://www.multiupload.com/4TEJYQ2FW1
Once you have it then grab a 4GB usb pen (sorry it was all I had - the actual image is ~700mb) extract the tar.gz so you are left with XBMC-Joggler.img and then from a terminal run; 'dd if=/where/you/downloaded/the/image/XBMC-Joggler.img of=/dev/yourUSB'

For example - dd if=~/Desktop/XBMC-Joggler.img of=/dev/sdb

*Note* Ensure you enter the correct device, your usb drive may not be 'sdb' you can probably tell by running 'sudo fdisk -l' and looking at the sizes.

Notes:
  • The image is based on a stripped down Karmic install as the newer distributions require the use of Intels new EMGD drivers which don't appear to work with XBMC.
  • XBMC runs by default under an account named htpc, the password for this account (and also the root account) is Joggler (note the capital J).
  • NFS support with AutoFS is in the image, just go to /etc/auto.nfs and add the details for your nfs share (in the format; mountname ip.address:/share/details) and type 'mkdir /media/nfs' at the terminal - the nfs share will automatically be mounted at boot to /media/nfs
  • To configure WLAN enter 'wpa_passphrase yourssid yourkey' and copy the results into '/etc/wpa_supplicant.conf' then save the file.
  • To switch between WLAN/Wired edit '/etc/network/interfaces' and comment out either 'auto eth0 or auto ra0' depending on which one you _don't_ want to use.
  • It's a good idea to symlink /home/htpc/.xbmc/userdata/Thumbnails to a file share as you will probably run out of space otherwise.
  • A script is present in the home directory for htpc called cleanup run this with ./cleanup.sh and it will tidy un-needed files created from apt-get and xbmc (use after updates etc).

Installing to flash:
*Note this is pretty safe and I've done it so far to 3 jogglers, but only attempt this if you are reasonably comfortable at the command line*

Boot the image from a USB drive on a hub so you can use a usb keyboard, when XBMC launches go to the power button and hit Exit (not shutdown),

Press Ctrl + Alt + F1, this should switch you to a terminal, then hit Ctrl + C and wait a few moments for X to close.

When you are the command line type 'su root' and enter 'Joggler' as the password.

Now type the following - this will delete 3 partitions from the onboard flash and create a partition with the combined remaining space;

Code:
fdisk /dev/mmcblk0
d > 4
d > 3
d > 2
n > p > 2 (enter + enter)
w

Now we will format the filesystem for the new partition and tweak some options;

Code:
mkfs.ext4 /dev/mmcblk0p2
tune2fs -o journal_data_writeback /dev/mmcblk0p2
tune2fs -i 0 /dev/mmcblk0p2

We have to replace the boot partition contents with some files that will allow Ubuntu to boot, so do the following;
Code:
mount /dev/mmcblk0p1 /mnt/flash
mount /dev/sda1 /mnt/usb
cd /mnt/flash
rm -r *
cd /mnt/usb/flash
cp -r * /mnt/flash
umount /mnt/flash
umount /mnt/usb

Now it's time to copy the actual install of Ubuntu and XBMC to the second partition of the Jogglers flash memory;

Code:
mount /dev/mmcblk0p2 /mnt/flash
rsync -av --del --exclude=/proc/* --exclude=/sys/* --exclude=/tmp/* --exclude=/mnt/* --exclude=/usr/src/* --exclude=/media/* / /mnt/flash

We now need to tweak the fstab so that the correct partition is mounted when the system boots;

Code:
cd /mnt/flash/etc
mv fstab.mmc fstab
cd /

Now unmount the onboard memory so we can be sure everything is written successfully, and finally reboot the system (as the Joggler restarts remove the USB drive so that it boots from the onboard flash)

Code:
umount /mnt/flash
reboot

You should hopefully now boot into XBMC directly from the Jogglers flash memory without the need for any USB drives, the system takes up around 650MB so you have a little room to play with.

Is there anyway to update this to Dharma given that it now lives on my Joggler?


- Spider - 2011-06-30

Problem solved!


- djtoll - 2011-06-30

Spider Wrote:Problem solved!
how you've deleted the post?

ok ... We also want your solution proposal, have fiddled at least 2 hours.


Big Grin

My Work

Code:
<itemlayout height="144" width="244">
                    <control type="image">
                        <posx>0</posx>
                        <posy>0</posy>
                        <width>244</width>
                        <height>144</height>
                        <aspectratio>stretch</aspectratio>
                        <bordertexture border="10">ThumbShadow.png</bordertexture>
                        <bordersize>8</bordersize>
                        <fadetime>200</fadetime>
                        <texture border="2">ThumbBG.png</texture>
                    </control>
                     <control type="image">
                        <posx>0</posx>
                        <posy>0</posy>
                        <width>244</width>
                        <height>144</height>
                        <aspectratio>stretch</aspectratio>
                        <bordertexture border="10">ThumbShadow.png</bordertexture>
                        <bordersize>8</bordersize>
                        <fadetime>200</fadetime>
                        <texture border="2">special://skin/media/backgrounds/pictures.jpg</texture>                        
                        <visible>substring(ListItem.label,pictures)</visible>
                    </control>
                    <control type="image">
                        <posx>0</posx>
                        <posy>0</posy>
                        <width>244</width>
                        <height>144</height>
                        <aspectratio>stretch</aspectratio>
                        <bordertexture border="10">ThumbShadow.png</bordertexture>
                        <bordersize>8</bordersize>
                        <fadetime>200</fadetime>
                        <texture border="2">special://skin/media/backgrounds/xxxxxxx.jpg</texture>                        
                        <visible>substring(ListItem.label,music)</visible>
                    </control>
                    <control type="image">
                        <posx>0</posx>
                        <posy>0</posy>
                        <width>244</width>
                        <height>144</height>
                        <aspectratio>stretch</aspectratio>
                        <bordertexture border="10">ThumbShadow.png</bordertexture>
                        <bordersize>8</bordersize>
                        <fadetime>200</fadetime>
                        <texture border="2">special://skin/media/backgrounds/weather.jpg</texture>                    
                        <visible>substring(ListItem.label,weather)</visible>
                    </control>
                    <control type="label">
                        <posx>122</posx>
                        <posy>50</posy>
                        <width>380</width>
                        <height>40</height>
                        <font>font30</font>
                        <textcolor>grey2</textcolor>
                        <align>center</align>
                        <aligny>center</aligny>
                        <label></label>
                        <label>[UPPERCASE]$INFO[ListItem.Label][/UPPERCASE]</label>                        
                        <animation effect="fade" start="100" end="30" time="200" condition="Window.IsVisible(1113) | ControlGroup(9001).HasFocus | ControlGroup(10).HasFocus">conditional</animation>
                    </control>
                </itemlayout>
                <focusedlayout height="144" width="244">
                    <control type="image">
                        <posx>0</posx>
                        <posy>0</posy>
                        <width>244</width>
                        <height>144</height>
                        <aspectratio>stretch</aspectratio>
                        <bordertexture border="10">folder-Focus.png</bordertexture>
                        <bordersize>8</bordersize>
                        <fadetime>200</fadetime>
                        <texture border="2">ThumbBG.png</texture>
                    </control>
                    <control type="image">
                        <posx>0</posx>
                        <posy>0</posy>
                        <width>244</width>
                        <height>144</height>
                        <aspectratio>stretch</aspectratio>
                        <bordertexture border="10">folder-Focus.png</bordertexture>
                        <bordersize>8</bordersize>
                        <fadetime>200</fadetime>
                        <texture border="2">special://skin/media/backgrounds/pictures.jpg</texture>                        
                        <visible>substring(ListItem.label,pictures)</visible>  
                    </control>
                    <control type="image">
                        <posx>0</posx>
                        <posy>0</posy>
                        <width>244</width>
                        <height>144</height>
                        <aspectratio>stretch</aspectratio>
                        <bordertexture border="10">folder-Focus.png</bordertexture>
                        <bordersize>8</bordersize>
                        <fadetime>200</fadetime>
                        <texture border="2">special://skin/media/backgrounds/xxxxxxx.jpg</texture>                        
                        <visible>substring(ListItem.label,music)</visible>  
                    </control>
                    <control type="image">
                        <posx>0</posx>
                        <posy>0</posy>
                        <width>244</width>
                        <height>144</height>
                        <aspectratio>stretch</aspectratio>
                        <bordertexture border="10">folder-Focus.png</bordertexture>
                        <bordersize>8</bordersize>
                        <fadetime>200</fadetime>
                        <texture border="2">special://skin/media/backgrounds/weather.jpg</texture>                    
                        <visible>substring(ListItem.label,weather)</visible>
                    </control>
                    <control type="label">                        
                        <posx>122</posx>
                        <posy>50</posy>
                        <width>380</width>
                        <height>40</height>
                        <font>font35_title</font>
                        <textcolor>white</textcolor>
                        <align>center</align>
                        <aligny>center</aligny>                        
                        <label>[UPPERCASE]$INFO[ListItem.Label][/UPPERCASE]</label>
                    </control>                    
                </focusedlayout>
                <content>
                    <item id="8">
                        <label>247</label>                        
                        <onclick>ActivateWindow(Scripts)</onclick>                        
                        <icon>special://skin/media/backgrounds/scripts.jpg</icon>
                        <thumb>$INFO[Skin.String(Home_Custom_Back_Scripts_Folder)]</thumb>
                        <visible>Skin.HasSetting(HomeMenuNoScriptsButton)</visible>
                    </item>

Image

for every button one type="image"> (focus and nofocus) ... and it works with the Custom Buttons.

<control type="image">
<posx>0</posx>
<posy>0</posy>
<width>244</width>
<height>144</height>
<aspectratio>stretch</aspectratio>
<bordertexture border="10">ThumbShadow.png</bordertexture>
<bordersize>8</bordersize>
<fadetime>200</fadetime>
<texture border="2">special://skin/media/backgrounds/pictures.jpg</texture>
<visible>substring(ListItem.label,pictures)</visible>
</control>


nightly builds - narvatu - 2011-07-01

On the latest nightly builds pre-eden is impossible to update your skin joggler.
'Dependences not met'
any walkaround?
There will be fixed soon?

Great skin. TIA


- djtoll - 2011-07-01

narvatu Wrote:On the latest nightly builds pre-eden is impossible to update your skin joggler.
'Dependences not met'
any walkaround?
There will be fixed soon?

Great skin. TIA

I have no problems with Updates,
tested on: XBMCSetup-20110701-7915c24-master.exe

greetz dj


- narvatu - 2011-07-01

Same build. Win 7 x64 SP1 + updates over acer aspire revo 3610 (ION). Your repository is added.
The problem persist.

Problem with repositories?. In xbmc addons repositorie there are few addons, because of repositories of eden are separate of Dharma (i read somewhere).

in another plugin I use it is the same problem and they said that their addon uses modules removed in the development of eden. Sorted out (temporarily) installing these modules before you upgrade.

not know if this has something to do


You - djtoll - 2011-07-02

narvatu Wrote:Same build. Win 7 x64 SP1 + updates over acer aspire revo 3610 (ION). Your repository is added.
The problem persist.

Problem with repositories?. In xbmc addons repositorie there are few addons, because of repositories of eden are separate of Dharma (i read somewhere).

in another plugin I use it is the same problem and they said that their addon uses modules removed in the development of eden. Sorted out (temporarily) installing these modules before you upgrade.

not know if this has something to do

You are right. For x64 only my Joggler skin is broken and the other from my repo not, community why?
In 32-bit everything is in order.


- narvatu - 2011-07-02

Do your skin uses python modules “simplejson” and/or “elementree”?

In the otrer addon (pelisalacarta, spanish video addon) this is the problem


- djtoll - 2011-07-02

Problem solved! I hope Smile The reason is the import entries in the addon.xml
Because there no longer import some addons available (due to pre-eden) is probably the skin Joggler marked as broken. I now import all the addons that are required temporarily, recorded in my main repo.


addon.xml
Code:
<requires>
        <import addon="xbmc.gui" version="2.11"/>
        <import addon="script.recentlyadded" version="3.0.0"/>
        <import addon="script.favourites" version="2.0"/>
        <import addon="script.logo-downloader" version="2.3.0"/>
        <import addon="script.randomitems" version="1.0.11"/>
        <import addon="script.tv.show.next.aired" version="2.1.2"/>
        <import addon="script.tv.show.next.aired.touch" version="2.1.2"/>

        <import addon="script.artistslideshow" version="1.0.0"/>
        <import addon="script.artistslideshowjoggler" version="1.0.1"/>        
    </requires>


Please "Force Refresh" my djtoll REPO ... and now the updates must be running.

THX narvatu for the INFO !


- narvatu - 2011-07-03

Yes, problem solved.
Nothing to do. Automatic updates enabled, and tonigh the update worked.

Thanks