Results 1 to 5 of 5

Thread: Kodi skin support

  1. #1
    Join Date
    Mar 2012
    Posts
    126

    Default Kodi skin support

    Hi, folks,

    Is there a way to set up your own config files or something to support Kodi skins?

    Right now, IIRC, Aeon Nox and Confluence are the only skins that have configurations, so I can't set up defaults that match a particular skin.

    I'd like to have one for Black Glass Nova, but how?

    Thanks!
    hsbrown2

  2. #2
    Join Date
    Sep 2009
    Posts
    2,680

    Default

    In the Mezzmo Kodi Plugin there is a function that translates the selected view mode into the view mode code for the skin https://github.com/Conceiva/MezzmoKo...mezzmo.py#L202, you could modify this to add the skin name that you want to use and the view modes that it supports. You would need to look at the code for the skin you want to use to see what view modes are supported and their codes.

    Mezzmo Android: Install it on your tablet, smartphone, Android TV or Amazon Fire to browse and stream files from your Mezzmo library to all your devices. Full details at http://www.conceiva.com/products/mez...mo_android.asp
    Mezzmo for Kodi Add-on: Install it into Kodi to stream files from your Mezzmo library directly in Kodi. Full details at http://www.mezzmo.com/wiki/doku.php?...odi_user_guide
    Mezzmo for Roku App: Install it onto your Roku to stream files from your Mezzmo library. Full details at http://www.mezzmo.com/wiki/doku.php?...oku_user_guide
    Wiki: User Guides & Reference Manual at http://www.mezzmo.com/wiki
    Facebook: http://www.facebook.com/Mezzmo.DLNA.Server
    Twitter: https://twitter.com/conceiva_mezzmo
    Web: http://www.mezzmo.com

  3. #3
    Join Date
    Mar 2012
    Posts
    126

    Default

    Hmmm... So I took a stab at this, but I'm not getting any joy thus far. I added the following to mezzmo.py:

    elif current_skin_name == 'skin.blackglassnova':
    blackglassnova_views = { 'List' : 50 ,
    'Panel' : 51 ,
    'BigList' : 52 ,
    'Grid' : 53 ,
    'LowList' : 54 ,
    'BigPanel' : 55 ,
    'BannerList' : 56 ,
    'ShowcaseEpisode' : 57 ,
    'ShowcaseSquare' : 58 ,
    'ShowcasePoster' : 59 ,
    'CardList' : 5050 }

    view_mode = addon.getSetting(contentType + '_view_mode' + '_blackglassnova')
    if view_mode != 'Default':

    selected_mode = blackglassnova_views[view_mode]
    xbmc.executebuiltin('Container.SetViewMode(' + str(selected_mode) + ')')

    In the skin xml I found the following:

    In addon.xml:
    <addon provider-name="Tgx" name="Black Glass Nova" version="7.0.1" id="skin.blackglassnova">

    In views.xml:
    -<views>

    <view type="movies,setmovies,tvshows,musicvideos,seasons ,sets,episodes,artists,albums,songs,tvchannels,tvr ecordings,programs,pictures" languageid="535" value="50" id="list"/>

    <view type="movies,setmovies,tvshows,musicvideos,seasons ,sets,episodes,artists,albums,songs,programs,pictu res" languageid="31095" value="5050" id="cardlist"/>

    <view type="movies,setmovies,tvshows,musicvideos,seasons ,sets,episodes,artists,albums,songs,programs,pictu res" languageid="31090" value="51" id="panel"/>

    <view type="movies,setmovies,tvshows,musicvideos,seasons ,sets,episodes,artists,albums,songs,tvchannels,tvr ecordings,programs,pictures" languageid="31091" value="52" id="biglist"/>

    <view type="movies,setmovies,tvshows,musicvideos,seasons ,sets,episodes,artists,albums,songs,programs,pictu res" languageid="536" value="53" id="grid"/>

    <view type="movies,setmovies,tvshows,musicvideos,seasons ,sets,episodes,artists,albums,songs,tvchannels,tvr ecordings,programs,pictures" languageid="31092" value="54" id="lowlist"/>

    <view type="movies,setmovies,tvshows,musicvideos,seasons ,sets,episodes,artists,albums,songs,programs,pictu res" languageid="31093" value="55" id="bigpanel"/>

    <view type="movies,setmovies,tvshows,musicvideos,seasons ,sets,episodes" languageid="31095" value="56" id="bannerlist"/>

    <view type="movies,setmovies,tvshows,musicvideos,seasons ,sets" languageid="20445" value="59" id="showcaseposter"/>

    <view type="artists,albums,songs" languageid="20445" value="58" id="showcasesquare"/>

    <view type="episodes" languageid="20445" value="57" id="showcaseepisode"/>

    </views>

    But when I go into the Mezzmo add-on settings, I am able to only select from the aeon(s), estuary, and confluence skins.

    What am I missing?

  4. #4
    Join Date
    Mar 2012
    Posts
    126

    Default

    Ah... It looks like settings.xml may need some mods to select the views available in order to set it up in the settings (duh).

    Any pointers for adding this support?

    Thanks!
    hsbrown2

  5. #5
    Join Date
    Sep 2009
    Posts
    2,680

    Default

    You will need to edit settings.xml in the Mezzmo plugin to add blackglassnova to the skin names:
    <setting id="skinname" type="enum" label="30061" values="Estuary|Confluence|Aeon Nox 5" default="Estuary"/>

    Then you will need to add the supported modes for each value:
    <setting id="top_view_mode_blackglassnova " type="labelenum" label="30349" values="Default blackglassnova|List|InfoWall|Landscape|ShowCase1|S howCase2|TriPanel|Posters|Shift|BannerWall|Logo|Wa ll|LowList|BigList" default="List" subsetting="true" visible="eq(-15,0)" enable="eq(-15,0)"/>
    <setting id="folders_view_mode_blackglassnova " type="labelenum" label="30342" values="Default|List|InfoWall|Landscape|ShowCase1| ShowCase2|TriPanel|Posters|Shift|BannerWall|Logo|W all|LowList|BigList" default="List" subsetting="true" visible="eq(-16,0)" enable="eq(-16,0)"/>
    <setting id="files_view_mode_blackglassnova " type="labelenum" label="30343" values="Default|List|InfoWall|Landscape|ShowCase1| ShowCase2|TriPanel|Posters|Shift|BannerWall|Logo|W all|LowList|BigList" default="List" subsetting="true" visible="eq(-17,0)" enable="eq(-17,0)"/>
    <setting id="servers_view_mode_blackglassnova " type="labelenum" label="30344" values="Default|List|InfoWall|Landscape|ShowCase1| ShowCase2|TriPanel|Posters|Shift|BannerWall|Logo|W all|LowList|BigList" default="List" subsetting="true" visible="eq(-18,0)" enable="eq(-18,0)"/>
    <setting id="movies_view_mode_blackglassnova " type="labelenum" label="30330" values="Default|List|InfoWall|Landscape|ShowCase1| ShowCase2|TriPanel|Posters|Shift|BannerWall|Logo|W all|LowList|BigList" default="Shift" subsetting="true" visible="eq(-19,0)" enable="eq(-19,0)"/>
    <setting id="episodes_view_mode_blackglassnova " type="labelenum" label="30341" values="Default|List|InfoWall|Landscape|ShowCase1| ShowCase2|TriPanel|Posters|Shift|BannerWall|Logo|W all|LowList|Episode|BigList" default="Episode" subsetting="true" visible="eq(-20,0)" enable="eq(-20,0)"/>
    <setting id="songs_view_mode_blackglassnova " type="labelenum" label="30365" values="Default|List|InfoWall|Landscape|ShowCase1| ShowCase2|TriPanel|Posters|Shift|BannerWall|Logo|W all|LowList|BigList" default="List" subsetting="true" visible="eq(-21,0)" enable="eq(-21,0)"/>

    Mezzmo Android: Install it on your tablet, smartphone, Android TV or Amazon Fire to browse and stream files from your Mezzmo library to all your devices. Full details at http://www.conceiva.com/products/mez...mo_android.asp
    Mezzmo for Kodi Add-on: Install it into Kodi to stream files from your Mezzmo library directly in Kodi. Full details at http://www.mezzmo.com/wiki/doku.php?...odi_user_guide
    Mezzmo for Roku App: Install it onto your Roku to stream files from your Mezzmo library. Full details at http://www.mezzmo.com/wiki/doku.php?...oku_user_guide
    Wiki: User Guides & Reference Manual at http://www.mezzmo.com/wiki
    Facebook: http://www.facebook.com/Mezzmo.DLNA.Server
    Twitter: https://twitter.com/conceiva_mezzmo
    Web: http://www.mezzmo.com

Similar Threads

  1. Kodi Add-on via Internet
    By toasted in forum Mezzmo Questions and Support
    Replies: 5
    Last Post: 08-16-2017, 03:23 PM
  2. Kodi Mod Request
    By Hashybot in forum Mezzmo Questions and Support
    Replies: 2
    Last Post: 03-09-2017, 08:33 PM
  3. Kodi Plugin
    By jakezesh in forum Mezzmo Questions and Support
    Replies: 1
    Last Post: 12-04-2016, 10:12 PM
  4. Mezzmo & Kodi - Plugin not seeing server but Kodi does
    By Roofus in forum Mezzmo Questions and Support
    Replies: 6
    Last Post: 08-05-2016, 07:43 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •