-
Notifications
You must be signed in to change notification settings - Fork 444
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[plugin.video.embycon] 1.3.15 #1278
Conversation
[plugin.video.cbc] 3.0.1
…anada-3.0.1 [plugin.video.slice.canada] 3.0.1
…-3.0.1 [plugin.videon.nhklive] 3.0.1
…e.canada-3.0.2 [plugin.video.showcase.canada] 3.0.2
[plugin.video.animeftw] - removed because it is against our non-pirac…
[plugin.video.tviplayer] 0.1.0
[plugin.video.nba] 0.8.0
[plugin.video.tviplayer] 0.2.0
[plugin.video.fatstone] 1.0.1
[plugin.video.wabc] 3.0.3
[plugin.video.wabc] 3.0.3
[plugin.video.hgtv] 3.0.2
[plugin.video.diy] 3.0.2
…-3.0.3 [plugin.video.nhklive] 3.0.3
[plugin.video.wnbc] 3.0.2
….0.8 [plugin.video.hgtv] 3.0.8
[plugin.video.rt] 3.0.1
[plugin.video.rt] 3.0.1
Is this the correct place to submit addons? If you are looking for more info about the addon you can check the emby server forums: |
It's the right place and I started reviewing it too. |
plugin.video.embycon/addon.xml
Outdated
version="1.3.12" | ||
provider-name="Team B"> | ||
<requires> | ||
<import addon="xbmc.python" version="2.1.0"/> |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
plugin.video.embycon/addon.xml
Outdated
<website>https://emby.media/community/index.php?/topic/46651-embycon/</website> | ||
<source>https://github.com/faush01/plugin.video.embycon</source> | ||
<summary lang="en">View and play your Emby media library.</summary> | ||
<description lang="en">An addon to allow you to view and playback your Emby (www.emby.media) Movie and TV Show collection.</description> |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
details['title'] = listItemName | ||
|
||
if kodi_version > 17: | ||
list_item = xbmcgui.ListItem(listItemName, iconImage=thumbPath, thumbnailImage=thumbPath, offscreen=True) |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
def addMenuDirectoryItem(label, path, folder=True, thumbnail=None): | ||
li = xbmcgui.ListItem(label, path=path) | ||
if thumbnail is None: | ||
thumbnail = "special://home/addons/plugin.video.embycon/icon.png" |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
def error(self, msg): | ||
if (self.level >= 0): | ||
try: | ||
xbmc.log(self.format(msg, "ERROR"), level=xbmc.LOGNOTICE) |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
def debug(self, msg): | ||
if (self.level >= 2): | ||
try: | ||
xbmc.log(self.format(msg, "DEBUG"), level=xbmc.LOGNOTICE) |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
skin_views = defaultViewData.get(skin_used, None) | ||
log.info("Current skin views: " + str(skin_views)) | ||
if skin_views is None: | ||
xbmcgui.Dialog().notification(__addon__.getAddonInfo('name'), i18n('skin_not_supported') % skin_used, icon='special://home/addons/plugin.video.embycon/icon.png') |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
plugin.video.embycon/service.py
Outdated
log.error("Exception in sending client meta info: " + str(error)) | ||
|
||
try: | ||
while not xbmc.abortRequested: |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
plugin.video.embycon/service.py
Outdated
play_info = json.loads(play_data) | ||
playFile(play_info) | ||
|
||
xbmc.sleep(1000) |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
addonPath = __addon__.getAddonInfo('path') | ||
skin_view_file = os.path.join(addonPath, "resources", "data", "skin_views.json") | ||
log.info("Loading skin views form: " + skin_view_file) | ||
dataFile = open(skin_view_file, 'r') |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
A few more things.
|
1 - I will update the icon 2 - You can opt out in the settings, under advanced "Log error and Anonymous metrics" perhaps this need qualification "Remotely Log Errors and Anonymous Metrics" 3 - By default no view is set, it leaves it up to the Skin and Kodi. |
Regarding Analytics...
So for use to be able to accept this add-on the whole analytics stuff needs to be removed |
Can you explain what this means
|
Regarding point 3. I know those problems (Been there myself with a google music plugin) however we do not accept this as of our Addon-Rules:
As a personal note: fixed some grammar |
Can't really explain it as I didn't write that rule myself but I'd assume this means that in your case, emby itself should do analytics, not the kodi add-on. Same would apply to other add-ons like plex, gmusic etc. |
Ok, so to move forward I would need to:
Anything else? the first two are internal and only effect devs, the last one I would run past the user base on the emby forums to see if it was a deal breaker or not. |
Sounds good, yes. Regarding the last point. Maybe turn the custom-view types of and test your add-on with estuary. If estuary looks good but other skins don't it suggests that (whatever skin it may be) needs some work to properly support all mediatypes. |
It still only sets a view for a particular path, from my understanding the view is stored in the DB for each path. This means that for each and every season or episode list I wanted to set a view for I would have to go in and set that view. I am sure the addon is setting the media type correctly, well actually you can tell me you can see the code in the pull request, look for the getContent() call in functions.py How should it work, am I seeing the correct functionality of the default Kodi or is something wrong? |
I know the problem that arises (as mentioned before, I hit it myself) and you are right in assuming that the user would than have to change the view for every single element (as the path changes due to ids etc.) My position currently is to just enforce the rules we have. |
So if this is a know issue why are addons not allowed to set the view? |
It's not an issue, it's just a limitation which has been improved upon over the years and will be further improved in coming years. I bet there're other reason too though... |
ok point taken. I will work on this over the weekend. |
I'm still discussion internally but it's not looking that great, sorry. |
I completely understand you dont want display decisions being made by addons, that really should be skins that do that. Perhaps there should be a built in way for Kodi to apply a Skin View for all content of that type. |
I some how screwed up this pull request. I have created another one All the requested changes should now be in the new pull request. |
I am going to close this one as it us redundant now, see #1309 for the new pull request with all the changes in it. |
Description
Addon to display and play back media libraries from the Emby Server.
Checklist:
Additional information :