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
    Feb 2014
    Posts
    83

    Default Mezzmo Kodi Add-on Automation

    http://www.mezzmo.com/wiki/doku.php?...odi_user_guide

    In this article the solution to use the autoexec.py works 100%

    But, as you can see on this screenshot: http://www.mezzmo.com/wiki/lib/exe/f...on-servers.png

    it brings you to the default plugin view. In the case of the example you see the server named "Mezzmo" next to the refresh button.

    QUESTION 1: How do I modify the py to automatically go into the server "Mezzmo"

    QUESTION 2: And to go even further. How can I set it that it automatically goes into: "Mezzmo / Videos" ?

    Also about adding a button to kodi to launch mezzmo.

    QUESTION 3: How would I configure such a button? this would be a kodi question but maybe someone here knows how.

    In Kodi I add a button for starting Mezzmo:
    <item id="81">
    <label>Mezzmo Video</label>
    <onclick>ActivateWindow(10025,&quot;plugin://plugin.video.mezzmo/?content_type=video&quot;,return)</onclick>
    <icon>-</icon>
    <thumb>-</thumb>
    </item>

    But if I could tell it somehow to automatically login to a specific folder in mezzmo I could do this
    <item id="81">
    <label>Mezzmo Video</label>
    <onclick>ActivateWindow(10025,&quot;plugin://plugin.video.mezzmo/?content_type=video&quot;,return)</onclick>
    <icon>-</icon>
    <thumb>-</thumb>
    </item>
    <item id="82">
    <label>Mezzmo Music</label>
    <onclick>ActivateWindow(10025,&quot;plugin://plugin.video.mezzmo/?content_type=video&quot;,return)</onclick>
    <icon>-</icon>
    <thumb>-</thumb>
    </item>
    <item id="83">
    <label>Mezzmo Pictures</label>
    <onclick>ActivateWindow(10025,&quot;plugin://plugin.video.mezzmo/?content_type=video&quot;,return)</onclick>
    <icon>-</icon>
    <thumb>-</thumb>
    </item>

    But then Video/Music/Pictures would have to point at that specific server and folder of course.

  2. #2
    Join Date
    Feb 2014
    Posts
    83

    Default

    Asked this and found the solution myself already almost instantly:

    ActivateWindow(10025,&quot;plugin://plugin.video.mezzmo/?contentdirectory=http%3a%2f%2f172.22.56.2%3a53168 %2fContentDirectory%2fcontrol&amp;mode=server&quot ;,return) is the solution..

    silly me

  3. #3
    Join Date
    Mar 2012
    Posts
    126

    Default

    I’d love to see a complete solution for this that adds direct links to the content folders for each media type (i.e. Movies, Music, Photos).

    If you have links to knowledge...

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

    Default

    I started looking at this awhile back and am willing to take another run at it. If we can pass an argument to the Mezzmo Addon for Video, Music, Photos etc. then maybe the RunScript vs. RunAddon option documented on the Kodi wiki could work. Peter can probably shed some light on the Mezzmo AddOn's ability to receive any arguments.

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

    Default

    The Addon lists the content as it appears in the Mezzmo library so if you want to customize how it is displayed you should do this in the Mezzmo library and not in the Addon, by default the Mezzmo library has the Video, Music and Photos items under the root of the library so you can try doing this if you do not have your library setup this way.

    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

  6. #6
    Join Date
    Jun 2012
    Posts
    1,021

    Default

    Peter I was talking about trying to have the Addon start and go right to the video folder for instance. The Autoexec.py line I worked on last year autostarts the Addon but I'd like to go further and say calll the Mezzmo server and go to the Video folder. Outside the Addon this can be done either by a script or via the Kodi favorites option. I was thinking possibly the RunScript option in Kodi and then pass the Addon a pointer or variables on the server and folder / playlist to position on.

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

    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

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
  •