Results 1 to 10 of 11

Thread: Mezzmo Kodi Add-on Automation

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Sep 2009
    Posts
    2,682

    Default

    The addon uses arguments to determine the folder/playlist to browse so if you could pass objectID as 3 then this would browse the video folder. Line 953 in mezzmo.py in the addon shows how this is used.

    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

  2. #2
    Join Date
    Jun 2012
    Posts
    1,034

    Default

    Quote Originally Posted by Peter View Post
    The addon uses arguments to determine the folder/playlist to browse so if you could pass objectID as 3 then this would browse the video folder. Line 953 in mezzmo.py in the addon shows how this is used.
    Peter. Thanks. I'll look into this but how would I tell the Addon to use the Mezzmo server then pass the video folder argument ? When the Addon starts it is on the server screen not at the playlist / folder level.
    Last edited by jbinkley60; 11-10-2017 at 07:27 AM.

  3. #3
    Join Date
    Sep 2009
    Posts
    2,682

    Default

    You would need to pass the argument of 'mode' as 'server' and 'contentdirectory' as the URL to the content directory api in the server. Have a look at line 951 in mezzmo.py. You could use addon.getSetting and addon.setSetting to retrieve and store the URL of the previously used server so that you can just pass mode=server and if contentdirectory is null or empty you can load the last server.

    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

  4. #4
    Join Date
    Jun 2012
    Posts
    1,034

    Default

    Ok, it took a bit of work but I've come up with a solution for launching directly into the video content directory via Autoexec.py. Here's an example:


    import xbmc
    xbmc.executebuiltin("ActivateWindow(10025,plugin://plugin.video.mezzmo/?contentdirectory=http://serverIP:53168/ContentDirectory/control;mode=server;objectID=taz1l0z1l13)")


    ServerIP is your Mezzmo server IP address or DNS name (i.e. The 192.168.0.10 or mezzmo.mydomain.com)
    The taz1l0z1l13 is the ID of your main video folder. Peter can better explain this.

    How I found the video folder ID was by going into the Kodi Mezzmo AddOn, creating a favorite for the video folder in Kodi. Then drop out to the Kodi userdata folder, find the favourites XML file and open with Wordpad or similar. Inside the XML file you will find the ObjectID in XML format similar to what was posted at the top of this thread.

    If you want to go to the main server folder and select video, music or pictures then leave the objectID section out:


    import xbmc
    xbmc.executebuiltin("ActivateWindow(10025,plugin://plugin.video.mezzmo/?contentdirectory=http://serverIP:53168/ContentDirectory/control;mode=server)")


    I hope this helps.
    Last edited by jbinkley60; 11-18-2017 at 05:21 AM.

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

    Default

    Great work Jeff, thanks for posting the information.

    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. MiBox+Kodi+Mezzmo
    By devildog in forum Mezzmo Questions and Support
    Replies: 2
    Last Post: 07-10-2017, 12:26 PM
  2. Mezzmo addon for Kodi
    By twochannel in forum Mezzmo Wish List and Feedback
    Replies: 7
    Last Post: 12-13-2016, 02:26 PM
  3. Mezzmo for KODI
    By AWSHO in forum Mezzmo Wish List and Feedback
    Replies: 1
    Last Post: 09-22-2016, 09:26 AM
  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, 08:43 AM
  5. Mezzmo for Kodi Add-on released
    By Paul in forum Mezzmo News & Announcements
    Replies: 0
    Last Post: 06-24-2016, 06:32 PM

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
  •