• 1
  • 6
  • 7
  • 8(current)
  • 9
  • 10
  • 15
Release Mezzmo Kodi addon UPnP/DLNA Library Sharing Support Thread
An updated version of the Mezzmo Trailer Checker (v0.0.13) has been uploaded to GitHub. This new
version has a major bug fix and improves detecting the best available trailer formats.  I hadn't
planned for a new release this quickly but the file naming issue was really affecting the new  local
IMDB trailer feature.

v0.0.13 fixes and features:

• Finally stomped out the bug with invalid characters in the trailer names for
  both You Tube and IMDB trailers which would not allow local trailers to be
  copied to the local trailer folder
• Improved available formats matching for both You Tube and IMDB trailers


To get started please review the Getting Started page on the Wiki. The current version of the Mezzmo Trailer Checker is v0.0.13 can be downloaded here.

It is highly recommended to do a backup of your Mezzmo database before using the tool and the Mezzmo GUI and server service need
to be stopped in order for it the checker to write to the Mezzmo database. This is a protection mechanism to ensure just one application is writing
to the Mezzmo database at a time.

The release notes for the various releases can be found here.

I added a couple of Wiki pages with step-by step instructions and screenshots on how to use the Mezzmo Trailer Checker with Mezzmo to automatically
add local trailers and how to edit / update them. I hope you will find these very helpful. I have begun a FAQ Wiki page (Frequently Asked Questions) with
some of the most common questions related to running the tool with Mezzmo. The FAQ has a number of Kodi specific questions.

The tool has been working very well for me, especially since the fixes in v0.0.3. I find myself watching more movies in my Mezzmo / Kodi library due to the
the Mezzmo Movie Previews feature and local trailers   I have Mezzmo Movie Previews set to 3 previews.  Now I get 3 random trailers from the release year
of the movie which haven't been watched in my library, then the main movie starts.  It's an almost movie theater-like experience..

Questions and feedback are welcome.


Jeff


Mezzmo Trailer Checker wiki page
Running with the Mezzmo Kodi addon.  The easier way to share your media with multiple Kodi clients.
Service.autostop , Kodi Selective Cleaner and Mezzmo Kodi addon author.
Reply
would you have any inclination to port your trailers work over to a standalone addon?

i would love the option to change the trailers in the database to something actually playable since i dont use the youtube option

i have a context menu addon i made to play from the imdb trailers addon instead but it's not exactly the same as having the proper trailer in the database and using the native functionality
Reply
(2023-06-27, 17:54)jepsizofye Wrote: would you have any inclination to port your trailers work over to a standalone addon?

i would love the option to change the trailers in the database to something actually playable since i dont use the youtube option

i have a context menu addon i made to play from the imdb trailers addon instead but it's not exactly the same as having the proper trailer in the database and using the native functionality

Potentially.  We'd need to agree on functionality, which would likely be subset of the current capability (like Kodi Selective Cleaner is a subset of the Mezzmo Kodi addon).  The current version is tightly integrated with Mezzmo and the Mezzmo Kodi addon.  The Mezzmo Kodi addon leverages a context menu addition to provide multiple movie trailers for Kodi.  It leverages a local SQLite database on each Kodi client that the content menu reads from.  The Trailer Checker writes to Mezzmo and then the Mezzmo Kodi addon syncs to the local trailer databases in the background.    So having the tool fetch trailers and write to a SQLite database would  be fairly easy.   How do you currently distribute trailer information to your Kodi clients ?  Each one pulls independently or you limit to 1 trailer per movie and leverage native Kodi functionality ? Or some other approach ?


Thanks,

jeff
Running with the Mezzmo Kodi addon.  The easier way to share your media with multiple Kodi clients.
Service.autostop , Kodi Selective Cleaner and Mezzmo Kodi addon author.
Reply
An updated version of the Mezzmo Trailer Checker (v0.0.14) has been uploaded to GitHub. This new
version has a bug fix an enhancement and adds two new commands to help keep the trailer database
cleaner.

v0.0.14 fixes and features:

• Simplified the IMDB trailer naming, removing random generated characters by
  the trailer checker.  Now random characters will only be added to IMDB
  trailers  if the trailer file name is a duplicate of an already existing
  trailer file. This is consistent with how You Tube trailers are named.  The
  prior IMDB naming structure will continue to work fine.  This only impacts
  new IMDB local trailers.
• Added "clean bad" and "clean long" commands to remove trailer records from
  the Trailer Checker database which are displayed with a 'Show" command.  
  Trailers that are long or bad do not get updated into Mezzmo but will stay
  in the Trailer Checker database until cleaned.  This do not cause a problem.
  These new commands just help keep the trailer database cleaner.
• Improved duplicate trailer name checking when multiple You Tube trailer URLs
  point to the same file name for the same new movie fetch. 


To get started please review the Getting Started page on the Wiki. The current version of the Mezzmo Trailer Checker is v0.0.14 can be downloaded here.

It is highly recommended to do a backup of your Mezzmo database before using the tool and the Mezzmo GUI and server service need
to be stopped in order for it the checker to write to the Mezzmo database. This is a protection mechanism to ensure just one application is writing
to the Mezzmo database at a time.

The release notes for the various releases can be found here.

I added a couple of Wiki pages with step-by step instructions and screenshots on how to use the Mezzmo Trailer Checker with Mezzmo to automatically
add local trailers and how to edit / update them. I hope you will find these very helpful. I have begun a FAQ Wiki page (Frequently Asked Questions) with
some of the most common questions related to running the tool with Mezzmo. The FAQ has a number of Kodi specific questions.

The tool has been working very well for me, especially since the fixes in v0.0.3. I find myself watching more movies in my Mezzmo / Kodi library due to the
the Mezzmo Movie Previews feature and local trailers   I have Mezzmo Movie Previews set to 3 previews.  Now I get 3 random trailers from the release year
of the movie which haven't been watched in my library, then the main movie starts.  It's an almost movie theater-like experience..

Questions and feedback are welcome.


Jeff


Mezzmo Trailer Checker wiki page
Running with the Mezzmo Kodi addon.  The easier way to share your media with multiple Kodi clients.
Service.autostop , Kodi Selective Cleaner and Mezzmo Kodi addon author.
Reply
currently i allow it to do whatever it wants, a few select movies i have loaded a local trailer for but i cant always be bothered to do this for all movies simply because of the time it takes to track them down

my context addon automates a search within the imdb trailers addon, grabs the first result and just plays it - it does this on the fly based on the current listitem title and year, nothing gets saved anywhere so its rather rudimentary but functional

-----

i love the way you have this setup for multiple trailers and a separate sqlite database would be very agreeable as i could use that database to download a local trailer if i chose to

i dont often open the information screen for movies so from the context menu is perfect

-----

im trying to decide the best way to include the local kodi trailer saved in the database

all of them come from jellyfin populating the database and jellyfin does youtube when a local trailer isnt present

flagging the trailer in the "select trailer" dialog (in your screenshot on the wiki) with a source location would work and be universal for most users, potentially even a bonus

like such

Select Trailer: The Batman
Trailer #1 - Local
Trailer #2 - YouTube
Trailer #3 - IMDB


determining local may be interesting but not impossible, an exclusive filter perhaps -
if trailer url does not contain imdb and does not contain youtube
with an or clause
or trailer url contains mezzmo or trailer contains jellyfin
then
it is a local trailer

if trailer url contains youtube it is a youtube trailer, same for imdb ect


(local trailer being saved on disk with the movie/show)
Reply
(2023-06-27, 19:09)jepsizofye Wrote: im trying to decide the best way to include the local kodi trailer saved in the database

all of them come from jellyfin populating the database and jellyfin does youtube when a local trailer isnt present

flagging the trailer in the "select trailer" dialog (in your screenshot on the wiki) with a source location would work and be universal for most users, potentially even a bonus

like such

Select Trailer: The Batman
Trailer #1 - Local
Trailer #2 - YouTube
Trailer #3 - IMDB


determining local may be interesting but not impossible, an exclusive filter perhaps -
if trailer url does not contain imdb and does not contain youtube
with an or clause
or trailer url contains mezzmo or trailer contains jellyfin
then
it is a local trailer

if trailer url contains youtube it is a youtube trailer, same for imdb ect


(local trailer being saved on disk with the movie/show)

Mezzmo handles You Tube and local trailers the same with regards to the clients, they see it as a URL from Mezzmo.  Mezzmo base64 encodes the file name into the URL so that the client sees a URL.  What I do in the Mezzmo Kodi  addon is decode the base64 encoding and you can then see the real trailer name (i.e. You Tube, local etc..).  So when you look in the local Kodi database you see the real file name in the database.

Here's an example of a movie with 3 trailers.


base64 from Mezzmo:
base64 from Mezzmo::
http://192.168.0.34:53168/content/tazvl4..._extract=1
http://192.168.0.34:53168/content/tazvl4..._extract=1
http://192.168.0.34:53168/content/taz1l0..._extract=1


Local Kodi addon decodes name to human readable:
Local Kodi addon decodes name to human readable:
e:\trailers\imdb_white_sky_White_Sky_Official_Trailer.mp4
e:\trailers\White_Sky__Official_Trailer.mp4
https://www.youtube.com/watch?v=U_Ywe4yMvM8


I suspect Jellyfin does something similar to encode the trailers down to the clients.  You did give me a good idea about modifying the Mezzmo Kodi addon to indicate the trailer type (i.e. You Tube direct , IMDB Local or You Tube local) vs. the generic trailer 1, trailer 2 etc.    Although In find myself using the Mezzmo Movie Previews function and I rarely do manual trailer selections.  My wife and I watch the previews and say to ourselves "We need to watch that".  She stopped asking if we have the movie because I told her the Mezzmo Movie Previews only randomly selects trailers from movies in our library. 

If you get close to what you think you want, I'll consider porting something out.


Jeff
Running with the Mezzmo Kodi addon.  The easier way to share your media with multiple Kodi clients.
Service.autostop , Kodi Selective Cleaner and Mezzmo Kodi addon author.
Reply
(2023-06-27, 19:09)jepsizofye Wrote: im trying to decide the best way to include the local kodi trailer saved in the database

all of them come from jellyfin populating the database and jellyfin does youtube when a local trailer isnt present

flagging the trailer in the "select trailer" dialog (in your screenshot on the wiki) with a source location would work and be universal for most users, potentially even a bonus

like such

Select Trailer: The Batman
Trailer #1 - Local
Trailer #2 - YouTube
Trailer #3 - IMDB

I've incorporated your idea into the Mezzmo Kodi addon.

Old view:

Image

New test View:

Image

I am not sure on the colors yet but generally like the change.  I am debating whether played should be appended to the type and the color match or keep it as is.  My thoughts are that do I really care the source after I've played it ?

I am open to ideas and thoughts.  The only other thing is that local trailers are currently wither IMDB (has IMDB in the trailer name) or YouTube (nothing distinguishing in the name). So if I ever want to add another local trailer type, there would need to be something in the name to distinguish it from the You Tube local trailers (i.e. add something unique to the trailer name).


Thanks,

Jeff
Running with the Mezzmo Kodi addon.  The easier way to share your media with multiple Kodi clients.
Service.autostop , Kodi Selective Cleaner and Mezzmo Kodi addon author.
Reply
that works well in my opinion

im not sure about the colors either, seems off somehow - maybe because ive never seen it

i would suggest keeping the source on the played item and just append played, if you watch 3/6 trailers you may want to know which ones you watched for comparison

same if you had 2 movies, director's cut and extended, you would still want to know which is which independent of watched state

as long as i am suggesting things

Trailer #1 - Official Trailer #1
Trailer #2 - Official Trailer #2
Trailer #3 - Teaser Trailer
Trailer #4 - Official Teaser Trailer
Trailer #5 - Fan Trailer

the way this is heading you might end up with an expanded 'extras' addon instead of just trailers in the future
Reply
(2023-06-28, 15:47)jepsizofye Wrote: that works well in my opinion

im not sure about the colors either, seems off somehow - maybe because ive never seen it

i would suggest keeping the source on the played item and just append played, if you watch 3/6 trailers you may want to know which ones you watched for comparison

same if you had 2 movies, director's cut and extended, you would still want to know which is which independent of watched state

as long as i am suggesting things

Trailer #1 - Official Trailer #1
Trailer #2 - Official Trailer #2
Trailer #3 - Teaser Trailer
Trailer #4 - Official Teaser Trailer
Trailer #5 - Fan Trailer

the way this is heading you might end up with an expanded 'extras' addon instead of just trailers in the future

Thanks for the feedback.  Movie collections and sets are already accounted for with Mezzmo Movie sets and Collections  and each movie regardless of type (i.e. normal, extended edition etc..) will have their own Mezzmo trailer URLs even if the underlying file is the same.  I've thought about the trailer file names themselves and displaying them.  They are all over the place in naming which is why I defaulted to numbering them and stripping the names.  I'll need to give it some more thought and play with the colors a bit.


Thanks,

Jeff
Running with the Mezzmo Kodi addon.  The easier way to share your media with multiple Kodi clients.
Service.autostop , Kodi Selective Cleaner and Mezzmo Kodi addon author.
Reply
(2023-06-28, 15:47)jepsizofye Wrote: im not sure about the colors either, seems off somehow - maybe because ive never seen it

I am getting a bit over the top on this but I am heading towards giving users 2 options in the Mezzmo Kodi addon Movie Trailer settings.  The first option will enable what I plan to call "Enhanced Trailer Information".  Enabling it will get the newer view with the colors and trailer type information.  If disabled it will stay like the current format.  Not everyone will run local trailers and so folks can chose to stay with the current format. 

If the user enables the Enhanced Trailer Information option then a second option will appear giving them a choice of color schemes.  I'll just number them 1 to x and have various color patterns for the various trailer types and played status.  This way if folks have different skins they can pick the color scheme they want.  It will be dynamic since the dialog box is dynamic from the database so they can change the color option and click on the trailer list and se their changes immediately.  This will also allow me to add color schemes quickly. 

The other approach is to give the users the ability to set the color by trailer type in the addon settings.  This would require an addon setting for each trailer type with a color option.  I am still considering that as an outside option.


Jeff
Running with the Mezzmo Kodi addon.  The easier way to share your media with multiple Kodi clients.
Service.autostop , Kodi Selective Cleaner and Mezzmo Kodi addon author.
Reply
(2023-06-28, 15:47)jepsizofye Wrote: im not sure about the colors either, seems off somehow - maybe because ive never seen it

After chewing on this a bit I decided to use the alternative approach and let the users decided their colors via an addon setting. 

Image

And the results are:

Image

This allows flexibility for varying skin color schemes. 

I like how it has turned out.  Thanks for your inspiration and feedback.


Jeff
Running with the Mezzmo Kodi addon.  The easier way to share your media with multiple Kodi clients.
Service.autostop , Kodi Selective Cleaner and Mezzmo Kodi addon author.
Reply
right on

i like that idea very much, if you decide you want colored just turn it on, if not turn it off - perfect

glad i could add something
Reply
(2023-06-29, 16:42)jepsizofye Wrote: right on

i like that idea very much, if you decide you want colored just turn it on, if not turn it off - perfect

glad i could add something

I went one more step and figured out how to have the settings option text color match the settings value.  I'd never played with text colors in addon settings until now. 

Pretty cool.  Kodi's label structure options are impressive.


Jeff
Running with the Mezzmo Kodi addon.  The easier way to share your media with multiple Kodi clients.
Service.autostop , Kodi Selective Cleaner and Mezzmo Kodi addon author.
Reply
An updated version of the Mezzmo Trailer Checker (v0.0.15) has been uploaded to GitHub. This new
version has an additional configuration item that allows automatic prepending "ytube_"  to YouTube
trailer download file names.  This will help in situations whee you have IMDB, YouTube and other trailer
sources.  The trailer checker downloads will start with either imdb_ or ytube_ to allow for easier 
identification.

v0.0.15 fixes and features:

• Added option to prepend "ytube_" to YouTube trailer names to assist with   future trailer
  sources, including manual local trailers.

To get started please review the Getting Started page on the Wiki. The current version of the Mezzmo Trailer Checker is v0.0.15 can be downloaded here.

It is highly recommended to do a backup of your Mezzmo database before using the tool and the Mezzmo GUI and server service need
to be stopped in order for it the checker to write to the Mezzmo database. This is a protection mechanism to ensure just one application is writing
to the Mezzmo database at a time.

The release notes for the various releases can be found here.

I added a couple of Wiki pages with step-by step instructions and screenshots on how to use the Mezzmo Trailer Checker with Mezzmo to automatically
add local trailers and how to edit / update them. I hope you will find these very helpful. I have begun a FAQ Wiki page (Frequently Asked Questions) with
some of the most common questions related to running the tool with Mezzmo. The FAQ has a number of Kodi specific questions.

The tool has been working very well for me, especially since the fixes in v0.0.3. I find myself watching more movies in my Mezzmo / Kodi library due to the
the Mezzmo Movie Previews feature and local trailers   I have Mezzmo Movie Previews set to 3 previews.  Now I get 3 random trailers from the release year
of the movie which haven't been watched in my library, then the main movie starts.  It's an almost movie theater-like experience..

Questions and feedback are welcome.


Jeff


Mezzmo Trailer Checker wiki page
Running with the Mezzmo Kodi addon.  The easier way to share your media with multiple Kodi clients.
Service.autostop , Kodi Selective Cleaner and Mezzmo Kodi addon author.
Reply
An updated version of the Mezzmo Kodi addon for both Kodi v18 (v1.1.9.1) and
Kodi v19+ (v2.1.91) have been posted on GitHub. These versions contain a
couple of enhancements to handle a downed server situation and some new
feature requests for trailers and non-Mezzmo UPnP servers.

*** Important Note ***

Support for Kodi 17 and below is being phased out. Version 1.1.8.1 is the last version
which will have full Kodi 17 and below support. There are no plans to drop support
for Kodi 18 anytime soon.


v1.1.9.1 Kodi 18

• Added support for manually adding a MediaMonkey UPnP server.
• Added support for parsing MediaMonkey XML track information tag.
• Improved displaying movie trailer information to indicate source (i.e. Local IMDB,
Local YouTube etc..) and choose trailer information colors by type.
• Added support by track sort order for music files
• Fixed bug which would cause a Python exception error when a Mezzmo server was down
for a period of time and came back up.
• Changed from an Ok dialog box to a notification message when a Mezzmo server is
down. The sync process will now resume automatically when the Mezzmo server comes
back online vs. requiring the user to click Ok.
• Added dynamic music playlist option to automatically create a playlist and add a
context menu item while browsing music on generic UPnP servers.

v2.1.9.1 Kodi 19+

• Added support for manually adding a MediaMonkey UPnP server.
• Added support for parsing MediaMonkey XML track information tag.
• Improved displaying movie trailer information to indicate source (i.e. Local IMDB,
Local YouTube etc..) and choose trailer information colors by type.
• Added support by track sort order for music files
• Fixed bug which would cause a Python exception error when a Mezzmo server was down
for a period of time and came back up.
• Changed from an Ok dialog box to a notification message when a Mezzmo server is
down. The sync process will now resume automatically when the Mezzmo server comes
back online vs. requiring the user to click Ok.
• Added dynamic music playlist option to automatically create a playlist and add a
context menu item while browsing music on generic UPnP servers.


If you have version 1.1.4.4 or 2.1.4.4 installed (or higher) and automatic updates
are enabled this update will be automatic over the next 24 hrs. Otherwise please
use the links below for manual installation.

There are separate links for the Kodi 18 and Kodi 19 versions. The Kodi 19 version is based upon the
latest Kodi 18 v1.1.9.1 code.

Kodi 18 link

Kodi 19+ link

Click on the download source as a zip option and then to add it to Kodi by using the install from zip file option.


Feedback and feature requests are always welcome. I would like to understand how many of you use
the addon to play music from Mezzmo ? This could help guide future feature development.


Thanks,

Jeff


Visit the Mezzmo Kodi addon Wiki for the latest
Running with the Mezzmo Kodi addon.  The easier way to share your media with multiple Kodi clients.
Service.autostop , Kodi Selective Cleaner and Mezzmo Kodi addon author.
Reply
  • 1
  • 6
  • 7
  • 8(current)
  • 9
  • 10
  • 15

Logout Mark Read Team Forum Stats Members Help
Mezzmo Kodi addon UPnP/DLNA Library Sharing Support Thread0