Skip to content

Elementos#946

Open
Manuel901 wants to merge 825 commits intoscakemyer:masterfrom
elgatito:master
Open

Elementos#946
Manuel901 wants to merge 825 commits intoscakemyer:masterfrom
elgatito:master

Conversation

@Manuel901
Copy link
Copy Markdown

@Manuel901 Manuel901 commented Jun 16, 2019

Description

Related Issue

Motivation and Context

How Has This Been Tested?

Screenshots (if appropriate):

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Translation

Checklist:

  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have read the CONTRIBUTING document.
  • I have added tests to cover my changes.
  • All new and existing tests passed.

nonew-star and others added 30 commits June 4, 2021 21:27
* Add files via upload

* update swedish information in addon.xml

* update swedish information in addon.xml

* Update strings.po

* Add files via upload

* Small fix

* Small fix

* Update strings.po

Update Swedish translation

* Update strings.po

* Update strings.po
* Multiselect

* Refactoring

* Add mass start/stop

* Unselect torrent if already selected

* Add basic sorting

* Fix sorting by size

* Improved sorting

* Update prebuilt artifacts
* add ToggleWatched func

* add watched/unwatched messages

* update lang messages

* fix typos in 30665
* tmdb_show_use_network_as_studio

* ru msg for 30417

* tmdb_show_use_prod_company_as_studio
…792)

* fix typo in show_unwatched_episodes_number

* show_unwatched_episodes_number to false by default
* Update strings.po

* Update strings.po

* Update strings.po

* Update strings.po

* Update strings.po

* фінальні змінення
Update Swedish translation
* Fix for force view mode

The reaosn for the change:
- Since the default view mode value for all the view types in the Elementum settings are equal to "0",
Each navigation to any place in the addon force the view mode to be changed to "List" view (In my skin).
--- Probably "Container.SetViewMode(0)" in Kodi 19.2 force it to be changed to "List" as default since there is no view mode id of "0" in my skin (And I guess in others too)
- I also have another issue regarding to this:
One of the Lists in Elementum is used as a widget in my skin. 
So on each refreshing of the widget (Kodi startup/Reload skin etc...) actually runs Elemetum which activate the force view mode changing.
It cause that after each widget refreshing the first window in kodi that you navigate to it, its view mode will be changed according to what set in Elementum.

The fix:
It's so simple.
If the view mode is equal to "0" (Which is the defaul value), don't do any view mode changing.
Otherwise it will change it according to the Elementum settings.
In this case,  every change of the view modes inside Elementum by the skin context menu, the view mode is kept in Kodi/Skin/Addon cache or something (So at least I don't need this "Force" view mode changing). If for others these view mode changes are not kept in memory, they will need these options of "Force" changing and use it as always.

It was tested and works well.

Thanks.

* Fix for force view mode - Condition fix
elgatito and others added 30 commits March 20, 2025 13:27
* Update scripts/changelog.sh

* update release.sh

* update .gitattributes
So test scripts that are run outside of kodi will not fail
on elementum.provider.log which inderectly uses osarch.py.
* Update strings.po

* Update strings.po
…enu.png (#1136)

* Add proper line break to messages #30496 #30703

* Delete unused icon-menu.png
Co-authored-by: Denis <denis.kuzmenok@gmail.com>
When `network.usehttpproxy` settings is set, python environment makes all urllib.request.urlopen() calls through that `network.httpproxyserver`. Interface part of plugin couldn't access service API through that proxy. 
So to make API call to go directly 'no_proxy' environment should be set.

Fixes #1139
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.