zbyna/plugin.video.sosac.ph

View on GitHub
resources/lib/sutils.py

Summary

Maintainability
A
3 hrs
Test Coverage

Function play has a Cognitive Complexity of 86 (exceeds 5 allowed). Consider refactoring.
Wontfix

    def play(self, item):
        # ======================================================================
        # Override from xbmcprovider
        # ======================================================================
        buggalo.SUBMIT_URL = 'http://sosac.comli.com/submit.php'
Severity: Minor
Found in resources/lib/sutils.py - About 1 day to fix

Cognitive Complexity

Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.

A method's cognitive complexity is based on a few simple rules:

  • Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
  • Code is considered more complex for each "break in the linear flow of the code"
  • Code is considered more complex when "flow breaking structures are nested"

Further reading

Function run_custom has a Cognitive Complexity of 59 (exceeds 5 allowed). Consider refactoring.
Wontfix

    def run_custom(self, params):
        if 'action' in params:
            # icon = os.path.join(self.addon.getAddonInfo('path'), 'icon.png')
            if params['action'] == 'remove-subscription':
                subs = self.get_subs()
Severity: Minor
Found in resources/lib/sutils.py - About 1 day to fix

Cognitive Complexity

Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.

A method's cognitive complexity is based on a few simple rules:

  • Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
  • Code is considered more complex for each "break in the linear flow of the code"
  • Code is considered more complex when "flow breaking structures are nested"

Further reading

File sutils.py has 546 lines of code (exceeds 250 allowed). Consider refactoring.
Wontfix

import util
import xbmcprovider
import xbmcutil
import xbmcvfs
import xbmcgui
Severity: Major
Found in resources/lib/sutils.py - About 1 day to fix

    Function evalSchedules has a Cognitive Complexity of 34 (exceeds 5 allowed). Consider refactoring.
    Wontfix

        def evalSchedules(self):
            if not self.scanRunning() and not self.isPlaying():
                notified = False
                util.info('"SOSAC Loading subscriptions"')
                subs = self.get_subs()
    Severity: Minor
    Found in resources/lib/sutils.py - About 5 hrs to fix

    Cognitive Complexity

    Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.

    A method's cognitive complexity is based on a few simple rules:

    • Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
    • Code is considered more complex for each "break in the linear flow of the code"
    • Code is considered more complex when "flow breaking structures are nested"

    Further reading

    Function add_item has a Cognitive Complexity of 24 (exceeds 5 allowed). Consider refactoring.
    Wontfix

        def add_item(self, params, addToSubscription=False):
            error = False
            if 'refresh' not in params:
                params['refresh'] = str(self.getSetting("refresh_time"))
            sub = {'name': params['name'], 'refresh': params['refresh'], 'type': params['type']}
    Severity: Minor
    Found in resources/lib/sutils.py - About 3 hrs to fix

    Cognitive Complexity

    Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.

    A method's cognitive complexity is based on a few simple rules:

    • Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
    • Code is considered more complex for each "break in the linear flow of the code"
    • Code is considered more complex when "flow breaking structures are nested"

    Further reading

    XBMCSosac has 26 functions (exceeds 20 allowed). Consider refactoring.
    Wontfix

    class XBMCSosac(xbmcprovider.XBMCMultiResolverContentProvider):
        last_run = 0
        sleep_time = 1000 * 1 * 60
        subs = None
    
    
    Severity: Minor
    Found in resources/lib/sutils.py - About 3 hrs to fix

      Function add_item_to_library has a Cognitive Complexity of 16 (exceeds 5 allowed). Consider refactoring.
      Wontfix

          def add_item_to_library(self, item_path, item_url, params_type):
              error = False
              new = False
              if item_path:
                  item_path = xbmc.translatePath(item_path)
      Severity: Minor
      Found in resources/lib/sutils.py - About 2 hrs to fix

      Cognitive Complexity

      Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.

      A method's cognitive complexity is based on a few simple rules:

      • Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
      • Code is considered more complex for each "break in the linear flow of the code"
      • Code is considered more complex when "flow breaking structures are nested"

      Further reading

      Avoid deeply nested control flow statements.
      Open

                              if pomSoub.write(item_url):
                                  pocetOK += 1
                              else:
                                  vysl = vysl + fi + ' Error !!! \n'
                              pomSoub.close()
      Severity: Major
      Found in resources/lib/sutils.py - About 45 mins to fix

        Avoid deeply nested control flow statements.
        Open

                                for aa in adr:
                                    pom1 = os.path.join(pom, aa)
                                    _, sou1 = xbmcvfs.listdir(pom1)
                                    for s1 in sou1:
                                        if 'strm' in s1:
        Severity: Major
        Found in resources/lib/sutils.py - About 45 mins to fix

          Avoid deeply nested control flow statements.
          Open

                                  if next_check < time.time():
                                      if not notified:
                                          self.showNotification('Subscription', 'Chcecking')
                                          notified = True
                                      util.debug("SOSAC Refreshing " + url)
          Severity: Major
          Found in resources/lib/sutils.py - About 45 mins to fix

            Avoid deeply nested control flow statements.
            Open

                                    for s in sou:
                                        if 'strm' in s:
                                            s = os.path.join(pom, s.decode('utf8'))
                                            soubory.append(s)
                                            pocetSTRM += 1
            Severity: Major
            Found in resources/lib/sutils.py - About 45 mins to fix

              Function service has a Cognitive Complexity of 7 (exceeds 5 allowed). Consider refactoring.
              Wontfix

                  def service(self):
                      util.info('"SOSAC Service Started"')
                      try:
                          sleep_time = int(self.getSetting("start_sleep_time")) * 1000 * 60 * 60
                      except Exception:
              Severity: Minor
              Found in resources/lib/sutils.py - About 35 mins to fix

              Cognitive Complexity

              Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.

              A method's cognitive complexity is based on a few simple rules:

              • Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
              • Code is considered more complex for each "break in the linear flow of the code"
              • Code is considered more complex when "flow breaking structures are nested"

              Further reading

              Avoid too many return statements within this function.
              Wontfix

                              return False
              Severity: Major
              Found in resources/lib/sutils.py - About 30 mins to fix

                Avoid too many return statements within this function.
                Wontfix

                                    return False
                Severity: Major
                Found in resources/lib/sutils.py - About 30 mins to fix

                  Avoid too many return statements within this function.
                  Wontfix

                                  return False
                  Severity: Major
                  Found in resources/lib/sutils.py - About 30 mins to fix

                    Avoid too many return statements within this function.
                    Wontfix

                                    return False
                    Severity: Major
                    Found in resources/lib/sutils.py - About 30 mins to fix

                      Avoid too many return statements within this function.
                      Wontfix

                              return False
                      Severity: Major
                      Found in resources/lib/sutils.py - About 30 mins to fix

                        Identical blocks of code found in 2 locations. Consider refactoring.
                        Wontfix

                            @staticmethod
                            def executeJSON(request):
                                # =====================================================================
                                # Execute JSON-RPC Command
                                # Args:
                        Severity: Major
                        Found in resources/lib/sutils.py and 1 other location - About 2 hrs to fix
                        resources/lib/myPlayer.py on lines 36..48

                        Duplicated Code

                        Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                        Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                        When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                        Tuning

                        This issue has a mass of 58.

                        We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                        The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                        If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                        See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                        Refactorings

                        Further Reading

                        Similar blocks of code found in 2 locations. Consider refactoring.
                        Wontfix

                                                    for s1 in sou1:
                                                        if 'strm' in s1:
                                                            s1 = os.path.join(pom1, s1.decode('utf8'))
                                                            soubory.append(s1)
                                                            pocetSTRM += 1
                        Severity: Major
                        Found in resources/lib/sutils.py and 1 other location - About 2 hrs to fix
                        resources/lib/sutils.py on lines 195..199

                        Duplicated Code

                        Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                        Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                        When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                        Tuning

                        This issue has a mass of 52.

                        We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                        The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                        If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                        See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                        Refactorings

                        Further Reading

                        Similar blocks of code found in 2 locations. Consider refactoring.
                        Wontfix

                                                for s in sou:
                                                    if 'strm' in s:
                                                        s = os.path.join(pom, s.decode('utf8'))
                                                        soubory.append(s)
                                                        pocetSTRM += 1
                        Severity: Major
                        Found in resources/lib/sutils.py and 1 other location - About 2 hrs to fix
                        resources/lib/sutils.py on lines 203..207

                        Duplicated Code

                        Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                        Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                        When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                        Tuning

                        This issue has a mass of 52.

                        We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                        The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                        If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                        See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                        Refactorings

                        Further Reading

                        Similar blocks of code found in 3 locations. Consider refactoring.
                        Wontfix

                                        JSON_result['result']['episodedetails']['cast'] = self.adjustCast(
                                            JSON_result['result']['episodedetails']['cast'])
                        Severity: Major
                        Found in resources/lib/sutils.py and 2 other locations - About 1 hr to fix
                        resources/lib/sutils.py on lines 138..139
                        resources/lib/sutils.py on lines 141..142

                        Duplicated Code

                        Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                        Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                        When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                        Tuning

                        This issue has a mass of 47.

                        We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                        The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                        If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                        See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                        Refactorings

                        Further Reading

                        Similar blocks of code found in 3 locations. Consider refactoring.
                        Wontfix

                                        JSON_result['result']['moviedetails']['genre'] = self.adjustGenre(
                                            JSON_result['result']['moviedetails']['genre'])
                        Severity: Major
                        Found in resources/lib/sutils.py and 2 other locations - About 1 hr to fix
                        resources/lib/sutils.py on lines 118..119
                        resources/lib/sutils.py on lines 138..139

                        Duplicated Code

                        Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                        Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                        When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                        Tuning

                        This issue has a mass of 47.

                        We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                        The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                        If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                        See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                        Refactorings

                        Further Reading

                        Similar blocks of code found in 3 locations. Consider refactoring.
                        Wontfix

                                        JSON_result['result']['moviedetails']['cast'] = self.adjustCast(
                                            JSON_result['result']['moviedetails']['cast'])
                        Severity: Major
                        Found in resources/lib/sutils.py and 2 other locations - About 1 hr to fix
                        resources/lib/sutils.py on lines 118..119
                        resources/lib/sutils.py on lines 141..142

                        Duplicated Code

                        Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                        Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                        When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                        Tuning

                        This issue has a mass of 47.

                        We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                        The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                        If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                        See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                        Refactorings

                        Further Reading

                        Identical blocks of code found in 2 locations. Consider refactoring.
                        Wontfix

                                        try:
                                            file_desc = xbmcvfs.File(item_path, 'w')
                                            file_desc.write(item_url)
                                            file_desc.close()
                                            new = True
                        Severity: Major
                        Found in resources/lib/sutils.py and 1 other location - About 1 hr to fix
                        resources/lib/sutils.py on lines 556..563

                        Duplicated Code

                        Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                        Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                        When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                        Tuning

                        This issue has a mass of 42.

                        We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                        The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                        If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                        See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                        Refactorings

                        Further Reading

                        Identical blocks of code found in 2 locations. Consider refactoring.
                        Wontfix

                                        try:
                                            file_desc = xbmcvfs.File(item_path, 'w')
                                            file_desc.write(item_url)
                                            file_desc.close()
                                            util.info('"File ' + os.path.basename(item_path) + ' file was updated"')
                        Severity: Major
                        Found in resources/lib/sutils.py and 1 other location - About 1 hr to fix
                        resources/lib/sutils.py on lines 547..554

                        Duplicated Code

                        Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                        Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                        When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                        Tuning

                        This issue has a mass of 42.

                        We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                        The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                        If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                        See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                        Refactorings

                        Further Reading

                        Line too long (99 > 79 characters)
                        Open

                                                                              "studio", "playcount", "runtime", "director",
                        Severity: Minor
                        Found in resources/lib/sutils.py by pep8

                        Limit all lines to a maximum of 79 characters.

                        There are still many devices around that are limited to 80 character
                        lines; plus, limiting windows to 80 characters makes it possible to
                        have several windows side-by-side.  The default wrapping on such
                        devices looks ugly.  Therefore, please limit all lines to a maximum
                        of 79 characters. For flowing long blocks of text (docstrings or
                        comments), limiting the length to 72 characters is recommended.
                        
                        Reports error E501.

                        Line too long (92 > 79 characters)
                        Open

                                                                              "dateadded", "art", "fanart", "genre",
                        Severity: Minor
                        Found in resources/lib/sutils.py by pep8

                        Limit all lines to a maximum of 79 characters.

                        There are still many devices around that are limited to 80 character
                        lines; plus, limiting windows to 80 characters makes it possible to
                        have several windows side-by-side.  The default wrapping on such
                        devices looks ugly.  Therefore, please limit all lines to a maximum
                        of 79 characters. For flowing long blocks of text (docstrings or
                        comments), limiting the length to 72 characters is recommended.
                        
                        Reports error E501.

                        Line too long (90 > 79 characters)
                        Open

                                elif 'title' in item['info'].keys() and not xbmcvfs.exists(item['info']['title']):
                        Severity: Minor
                        Found in resources/lib/sutils.py by pep8

                        Limit all lines to a maximum of 79 characters.

                        There are still many devices around that are limited to 80 character
                        lines; plus, limiting windows to 80 characters makes it possible to
                        have several windows side-by-side.  The default wrapping on such
                        devices looks ugly.  Therefore, please limit all lines to a maximum
                        of 79 characters. For flowing long blocks of text (docstrings or
                        comments), limiting the length to 72 characters is recommended.
                        
                        Reports error E501.

                        Line too long (80 > 79 characters)
                        Open

                                            vysl += str(pocetSTRM) + '\n' + '--------------------\n' + \
                        Severity: Minor
                        Found in resources/lib/sutils.py by pep8

                        Limit all lines to a maximum of 79 characters.

                        There are still many devices around that are limited to 80 character
                        lines; plus, limiting windows to 80 characters makes it possible to
                        have several windows side-by-side.  The default wrapping on such
                        devices looks ugly.  Therefore, please limit all lines to a maximum
                        of 79 characters. For flowing long blocks of text (docstrings or
                        comments), limiting the length to 72 characters is recommended.
                        
                        Reports error E501.

                        Line too long (85 > 79 characters)
                        Open

                                                    urllib.urlencode({'seriesname': name, 'language': 'cs'}))
                        Severity: Minor
                        Found in resources/lib/sutils.py by pep8

                        Limit all lines to a maximum of 79 characters.

                        There are still many devices around that are limited to 80 character
                        lines; plus, limiting windows to 80 characters makes it possible to
                        have several windows side-by-side.  The default wrapping on such
                        devices looks ugly.  Therefore, please limit all lines to a maximum
                        of 79 characters. For flowing long blocks of text (docstrings or
                        comments), limiting the length to 72 characters is recommended.
                        
                        Reports error E501.

                        Line too long (92 > 79 characters)
                        Open

                                sub = {'name': params['name'], 'refresh': params['refresh'], 'type': params['type']}
                        Severity: Minor
                        Found in resources/lib/sutils.py by pep8

                        Limit all lines to a maximum of 79 characters.

                        There are still many devices around that are limited to 80 character
                        lines; plus, limiting windows to 80 characters makes it possible to
                        have several windows side-by-side.  The default wrapping on such
                        devices looks ugly.  Therefore, please limit all lines to a maximum
                        of 79 characters. For flowing long blocks of text (docstrings or
                        comments), limiting the length to 72 characters is recommended.
                        
                        Reports error E501.

                        Line too long (83 > 79 characters)
                        Open

                                                         self.normalize_filename(params['name'])) + '.strm'
                        Severity: Minor
                        Found in resources/lib/sutils.py by pep8

                        Limit all lines to a maximum of 79 characters.

                        There are still many devices around that are limited to 80 character
                        lines; plus, limiting windows to 80 characters makes it possible to
                        have several windows side-by-side.  The default wrapping on such
                        devices looks ugly.  Therefore, please limit all lines to a maximum
                        of 79 characters. For flowing long blocks of text (docstrings or
                        comments), limiting the length to 72 characters is recommended.
                        
                        Reports error E501.

                        Line too long (86 > 79 characters)
                        Open

                                                                              "thumbnail", "file", "tvshowid",
                        Severity: Minor
                        Found in resources/lib/sutils.py by pep8

                        Limit all lines to a maximum of 79 characters.

                        There are still many devices around that are limited to 80 character
                        lines; plus, limiting windows to 80 characters makes it possible to
                        have several windows side-by-side.  The default wrapping on such
                        devices looks ugly.  Therefore, please limit all lines to a maximum
                        of 79 characters. For flowing long blocks of text (docstrings or
                        comments), limiting the length to 72 characters is recommended.
                        
                        Reports error E501.

                        Line too long (93 > 79 characters)
                        Open

                                                                    '.' or c == '-' or c.isspace())]) if text else ''
                        Severity: Minor
                        Found in resources/lib/sutils.py by pep8

                        Limit all lines to a maximum of 79 characters.

                        There are still many devices around that are limited to 80 character
                        lines; plus, limiting windows to 80 characters makes it possible to
                        have several windows side-by-side.  The default wrapping on such
                        devices looks ugly.  Therefore, please limit all lines to a maximum
                        of 79 characters. For flowing long blocks of text (docstrings or
                        comments), limiting the length to 72 characters is recommended.
                        
                        Reports error E501.

                        Line too long (80 > 79 characters)
                        Open

                                title_pom = os.path.join(item_dir, self.normalize_filename(sub['name']),
                        Severity: Minor
                        Found in resources/lib/sutils.py by pep8

                        Limit all lines to a maximum of 79 characters.

                        There are still many devices around that are limited to 80 character
                        lines; plus, limiting windows to 80 characters makes it possible to
                        have several windows side-by-side.  The default wrapping on such
                        devices looks ugly.  Therefore, please limit all lines to a maximum
                        of 79 characters. For flowing long blocks of text (docstrings or
                        comments), limiting the length to 72 characters is recommended.
                        
                        Reports error E501.

                        Line too long (90 > 79 characters)
                        Open

                                        (err, new) = self.add_item_to_library(title_pom, item_url, params['type'])
                        Severity: Minor
                        Found in resources/lib/sutils.py by pep8

                        Limit all lines to a maximum of 79 characters.

                        There are still many devices around that are limited to 80 character
                        lines; plus, limiting windows to 80 characters makes it possible to
                        have several windows side-by-side.  The default wrapping on such
                        devices looks ugly.  Therefore, please limit all lines to a maximum
                        of 79 characters. For flowing long blocks of text (docstrings or
                        comments), limiting the length to 72 characters is recommended.
                        
                        Reports error E501.

                        Line too long (93 > 79 characters)
                        Open

                                if not error and new_items and not ('update' in params) and not ('notify' in params):
                        Severity: Minor
                        Found in resources/lib/sutils.py by pep8

                        Limit all lines to a maximum of 79 characters.

                        There are still many devices around that are limited to 80 character
                        lines; plus, limiting windows to 80 characters makes it possible to
                        have several windows side-by-side.  The default wrapping on such
                        devices looks ugly.  Therefore, please limit all lines to a maximum
                        of 79 characters. For flowing long blocks of text (docstrings or
                        comments), limiting the length to 72 characters is recommended.
                        
                        Reports error E501.

                        Line too long (96 > 79 characters)
                        Open

                                                    util.debug('"SOSAC Skipping "' + url + '" , next check in %dh"' % n)
                        Severity: Minor
                        Found in resources/lib/sutils.py by pep8

                        Limit all lines to a maximum of 79 characters.

                        There are still many devices around that are limited to 80 character
                        lines; plus, limiting windows to 80 characters makes it possible to
                        have several windows side-by-side.  The default wrapping on such
                        devices looks ugly.  Therefore, please limit all lines to a maximum
                        of 79 characters. For flowing long blocks of text (docstrings or
                        comments), limiting the length to 72 characters is recommended.
                        
                        Reports error E501.

                        Line too long (97 > 79 characters)
                        Open

                                    if not xbmcvfs.exists(os.path.join(item_dir, self.normalize_filename(params['name']),
                        Severity: Minor
                        Found in resources/lib/sutils.py by pep8

                        Limit all lines to a maximum of 79 characters.

                        There are still many devices around that are limited to 80 character
                        lines; plus, limiting windows to 80 characters makes it possible to
                        have several windows side-by-side.  The default wrapping on such
                        devices looks ugly.  Therefore, please limit all lines to a maximum
                        of 79 characters. For flowing long blocks of text (docstrings or
                        comments), limiting the length to 72 characters is recommended.
                        
                        Reports error E501.

                        Line too long (86 > 79 characters)
                        Open

                                            self.showNotification(params['name'], 'Removed from subscription')
                        Severity: Minor
                        Found in resources/lib/sutils.py by pep8

                        Limit all lines to a maximum of 79 characters.

                        There are still many devices around that are limited to 80 character
                        lines; plus, limiting windows to 80 characters makes it possible to
                        have several windows side-by-side.  The default wrapping on such
                        devices looks ugly.  Therefore, please limit all lines to a maximum
                        of 79 characters. For flowing long blocks of text (docstrings or
                        comments), limiting the length to 72 characters is recommended.
                        
                        Reports error E501.

                        Line too long (80 > 79 characters)
                        Open

                                                                  'disk and memory cache cleared', 1000)
                        Severity: Minor
                        Found in resources/lib/sutils.py by pep8

                        Limit all lines to a maximum of 79 characters.

                        There are still many devices around that are limited to 80 character
                        lines; plus, limiting windows to 80 characters makes it possible to
                        have several windows side-by-side.  The default wrapping on such
                        devices looks ugly.  Therefore, please limit all lines to a maximum
                        of 79 characters. For flowing long blocks of text (docstrings or
                        comments), limiting the length to 72 characters is recommended.
                        
                        Reports error E501.

                        Line too long (85 > 79 characters)
                        Open

                                    mujPlayer = myPlayer.MyPlayer(itemType=pomItemType, itemDBID=pomItemDBID,
                        Severity: Minor
                        Found in resources/lib/sutils.py by pep8

                        Limit all lines to a maximum of 79 characters.

                        There are still many devices around that are limited to 80 character
                        lines; plus, limiting windows to 80 characters makes it possible to
                        have several windows side-by-side.  The default wrapping on such
                        devices looks ugly.  Therefore, please limit all lines to a maximum
                        of 79 characters. For flowing long blocks of text (docstrings or
                        comments), limiting the length to 72 characters is recommended.
                        
                        Reports error E501.

                        Line too long (81 > 79 characters)
                        Open

                                                                  slovnik=pomSlovnik, titulky=pomTitulky)
                        Severity: Minor
                        Found in resources/lib/sutils.py by pep8

                        Limit all lines to a maximum of 79 characters.

                        There are still many devices around that are limited to 80 character
                        lines; plus, limiting windows to 80 characters makes it possible to
                        have several windows side-by-side.  The default wrapping on such
                        devices looks ugly.  Therefore, please limit all lines to a maximum
                        of 79 characters. For flowing long blocks of text (docstrings or
                        comments), limiting the length to 72 characters is recommended.
                        
                        Reports error E501.

                        Line too long (90 > 79 characters)
                        Open

                                    "library-tvshows", xbmc.translatePath(addonPom.getSetting("library-tvshows")))
                        Severity: Minor
                        Found in resources/lib/sutils.py by pep8

                        Limit all lines to a maximum of 79 characters.

                        There are still many devices around that are limited to 80 character
                        lines; plus, limiting windows to 80 characters makes it possible to
                        have several windows side-by-side.  The default wrapping on such
                        devices looks ugly.  Therefore, please limit all lines to a maximum
                        of 79 characters. For flowing long blocks of text (docstrings or
                        comments), limiting the length to 72 characters is recommended.
                        
                        Reports error E501.

                        Line too long (94 > 79 characters)
                        Open

                                    (error, new_items) = self.add_item_to_library(title_pom, item_url, params['type'])
                        Severity: Minor
                        Found in resources/lib/sutils.py by pep8

                        Limit all lines to a maximum of 79 characters.

                        There are still many devices around that are limited to 80 character
                        lines; plus, limiting windows to 80 characters makes it possible to
                        have several windows side-by-side.  The default wrapping on such
                        devices looks ugly.  Therefore, please limit all lines to a maximum
                        of 79 characters. For flowing long blocks of text (docstrings or
                        comments), limiting the length to 72 characters is recommended.
                        
                        Reports error E501.

                        Line too long (94 > 79 characters)
                        Open

                                        item_url = xbmcutil._create_plugin_url(arg, 'plugin://' + self.addon_id + '/')
                        Severity: Minor
                        Found in resources/lib/sutils.py by pep8

                        Limit all lines to a maximum of 79 characters.

                        There are still many devices around that are limited to 80 character
                        lines; plus, limiting windows to 80 characters makes it possible to
                        have several windows side-by-side.  The default wrapping on such
                        devices looks ugly.  Therefore, please limit all lines to a maximum
                        of 79 characters. For flowing long blocks of text (docstrings or
                        comments), limiting the length to 72 characters is recommended.
                        
                        Reports error E501.

                        Line too long (92 > 79 characters)
                        Open

                                            util.error('Failed to create .strm file: ' + item_path + " | " + str(e))
                        Severity: Minor
                        Found in resources/lib/sutils.py by pep8

                        Limit all lines to a maximum of 79 characters.

                        There are still many devices around that are limited to 80 character
                        lines; plus, limiting windows to 80 characters makes it possible to
                        have several windows side-by-side.  The default wrapping on such
                        devices looks ugly.  Therefore, please limit all lines to a maximum
                        of 79 characters. For flowing long blocks of text (docstrings or
                        comments), limiting the length to 72 characters is recommended.
                        
                        Reports error E501.

                        Line too long (85 > 79 characters)
                        Open

                                                    xbmc.log('"film is not in library (playing from Files)"')
                        Severity: Minor
                        Found in resources/lib/sutils.py by pep8

                        Limit all lines to a maximum of 79 characters.

                        There are still many devices around that are limited to 80 character
                        lines; plus, limiting windows to 80 characters makes it possible to
                        have several windows side-by-side.  The default wrapping on such
                        devices looks ugly.  Therefore, please limit all lines to a maximum
                        of 79 characters. For flowing long blocks of text (docstrings or
                        comments), limiting the length to 72 characters is recommended.
                        
                        Reports error E501.

                        Line too long (90 > 79 characters)
                        Open

                                        buggalo.onExceptionRaised({'vstup': '%s' % json.dumps(JSON_req, indent=2),
                        Severity: Minor
                        Found in resources/lib/sutils.py by pep8

                        Limit all lines to a maximum of 79 characters.

                        There are still many devices around that are limited to 80 character
                        lines; plus, limiting windows to 80 characters makes it possible to
                        have several windows side-by-side.  The default wrapping on such
                        devices looks ugly.  Therefore, please limit all lines to a maximum
                        of 79 characters. For flowing long blocks of text (docstrings or
                        comments), limiting the length to 72 characters is recommended.
                        
                        Reports error E501.

                        Invalid escape sequence '\d'
                        Open

                                        nfo = re.search('^(?P<season>\d+)x(?P<episode>\d+)',
                        Severity: Minor
                        Found in resources/lib/sutils.py by pep8

                        Invalid escape sequences are deprecated in Python 3.6.

                        Okay: regex = r'\.png$'
                        W605: regex = '\.png$'

                        Line too long (92 > 79 characters)
                        Open

                                            util.info('"File ' + os.path.basename(item_path) + ' file was updated"')
                        Severity: Minor
                        Found in resources/lib/sutils.py by pep8

                        Limit all lines to a maximum of 79 characters.

                        There are still many devices around that are limited to 80 character
                        lines; plus, limiting windows to 80 characters makes it possible to
                        have several windows side-by-side.  The default wrapping on such
                        devices looks ugly.  Therefore, please limit all lines to a maximum
                        of 79 characters. For flowing long blocks of text (docstrings or
                        comments), limiting the length to 72 characters is recommended.
                        
                        Reports error E501.

                        Line too long (97 > 79 characters)
                        Open

                                text = self.normalize_filename(text, "-_.' %s%s" % (string.ascii_letters, string.digits))
                        Severity: Minor
                        Found in resources/lib/sutils.py by pep8

                        Limit all lines to a maximum of 79 characters.

                        There are still many devices around that are limited to 80 character
                        lines; plus, limiting windows to 80 characters makes it possible to
                        have several windows side-by-side.  The default wrapping on such
                        devices looks ugly.  Therefore, please limit all lines to a maximum
                        of 79 characters. For flowing long blocks of text (docstrings or
                        comments), limiting the length to 72 characters is recommended.
                        
                        Reports error E501.

                        Line too long (94 > 79 characters)
                        Open

                                                              icon=xbmc.translatePath(self.addon_dir() + "/icon.png"),
                        Severity: Minor
                        Found in resources/lib/sutils.py by pep8

                        Limit all lines to a maximum of 79 characters.

                        There are still many devices around that are limited to 80 character
                        lines; plus, limiting windows to 80 characters makes it possible to
                        have several windows side-by-side.  The default wrapping on such
                        devices looks ugly.  Therefore, please limit all lines to a maximum
                        of 79 characters. For flowing long blocks of text (docstrings or
                        comments), limiting the length to 72 characters is recommended.
                        
                        Reports error E501.

                        Line too long (86 > 79 characters)
                        Open

                                item_url = xbmcutil._create_plugin_url(arg, 'plugin://' + self.addon_id + '/')
                        Severity: Minor
                        Found in resources/lib/sutils.py by pep8

                        Limit all lines to a maximum of 79 characters.

                        There are still many devices around that are limited to 80 character
                        lines; plus, limiting windows to 80 characters makes it possible to
                        have several windows side-by-side.  The default wrapping on such
                        devices looks ugly.  Therefore, please limit all lines to a maximum
                        of 79 characters. For flowing long blocks of text (docstrings or
                        comments), limiting the length to 72 characters is recommended.
                        
                        Reports error E501.

                        Line too long (90 > 79 characters)
                        Open

                                                                              "trailer", "tagline", "plotoutline",
                        Severity: Minor
                        Found in resources/lib/sutils.py by pep8

                        Limit all lines to a maximum of 79 characters.

                        There are still many devices around that are limited to 80 character
                        lines; plus, limiting windows to 80 characters makes it possible to
                        have several windows side-by-side.  The default wrapping on such
                        devices looks ugly.  Therefore, please limit all lines to a maximum
                        of 79 characters. For flowing long blocks of text (docstrings or
                        comments), limiting the length to 72 characters is recommended.
                        
                        Reports error E501.

                        Line too long (88 > 79 characters)
                        Open

                                                                              "writer", "streamdetails", "cast",
                        Severity: Minor
                        Found in resources/lib/sutils.py by pep8

                        Limit all lines to a maximum of 79 characters.

                        There are still many devices around that are limited to 80 character
                        lines; plus, limiting windows to 80 characters makes it possible to
                        have several windows side-by-side.  The default wrapping on such
                        devices looks ugly.  Therefore, please limit all lines to a maximum
                        of 79 characters. For flowing long blocks of text (docstrings or
                        comments), limiting the length to 72 characters is recommended.
                        
                        Reports error E501.

                        Line too long (92 > 79 characters)
                        Open

                                                                              "productioncode", "season", "episode",
                        Severity: Minor
                        Found in resources/lib/sutils.py by pep8

                        Limit all lines to a maximum of 79 characters.

                        There are still many devices around that are limited to 80 character
                        lines; plus, limiting windows to 80 characters makes it possible to
                        have several windows side-by-side.  The default wrapping on such
                        devices looks ugly.  Therefore, please limit all lines to a maximum
                        of 79 characters. For flowing long blocks of text (docstrings or
                        comments), limiting the length to 72 characters is recommended.
                        
                        Reports error E501.

                        Line too long (97 > 79 characters)
                        Open

                                                                              "mpaa", "imdbnumber", "sorttitle", "setid",
                        Severity: Minor
                        Found in resources/lib/sutils.py by pep8

                        Limit all lines to a maximum of 79 characters.

                        There are still many devices around that are limited to 80 character
                        lines; plus, limiting windows to 80 characters makes it possible to
                        have several windows side-by-side.  The default wrapping on such
                        devices looks ugly.  Therefore, please limit all lines to a maximum
                        of 79 characters. For flowing long blocks of text (docstrings or
                        comments), limiting the length to 72 characters is recommended.
                        
                        Reports error E501.

                        Line too long (80 > 79 characters)
                        Open

                                        JSON_result['result']['moviedetails']['cast'] = self.adjustCast(
                        Severity: Minor
                        Found in resources/lib/sutils.py by pep8

                        Limit all lines to a maximum of 79 characters.

                        There are still many devices around that are limited to 80 character
                        lines; plus, limiting windows to 80 characters makes it possible to
                        have several windows side-by-side.  The default wrapping on such
                        devices looks ugly.  Therefore, please limit all lines to a maximum
                        of 79 characters. For flowing long blocks of text (docstrings or
                        comments), limiting the length to 72 characters is recommended.
                        
                        Reports error E501.

                        Line too long (95 > 79 characters)
                        Open

                                xbmcprovider.XBMCMultiResolverContentProvider.__init__(self, provider, settings, addon)
                        Severity: Minor
                        Found in resources/lib/sutils.py by pep8

                        Limit all lines to a maximum of 79 characters.

                        There are still many devices around that are limited to 80 character
                        lines; plus, limiting windows to 80 characters makes it possible to
                        have several windows side-by-side.  The default wrapping on such
                        devices looks ugly.  Therefore, please limit all lines to a maximum
                        of 79 characters. For flowing long blocks of text (docstrings or
                        comments), limiting the length to 72 characters is recommended.
                        
                        Reports error E501.

                        Line too long (82 > 79 characters)
                        Open

                                        JSON_result['result']['episodedetails']['cast'] = self.adjustCast(
                        Severity: Minor
                        Found in resources/lib/sutils.py by pep8

                        Limit all lines to a maximum of 79 characters.

                        There are still many devices around that are limited to 80 character
                        lines; plus, limiting windows to 80 characters makes it possible to
                        have several windows side-by-side.  The default wrapping on such
                        devices looks ugly.  Therefore, please limit all lines to a maximum
                        of 79 characters. For flowing long blocks of text (docstrings or
                        comments), limiting the length to 72 characters is recommended.
                        
                        Reports error E501.

                        Line too long (87 > 79 characters)
                        Open

                                                                             self.getSetting('library-movies'))
                        Severity: Minor
                        Found in resources/lib/sutils.py by pep8

                        Limit all lines to a maximum of 79 characters.

                        There are still many devices around that are limited to 80 character
                        lines; plus, limiting windows to 80 characters makes it possible to
                        have several windows side-by-side.  The default wrapping on such
                        devices looks ugly.  Therefore, please limit all lines to a maximum
                        of 79 characters. For flowing long blocks of text (docstrings or
                        comments), limiting the length to 72 characters is recommended.
                        
                        Reports error E501.

                        Line too long (90 > 79 characters)
                        Open

                                xbmcgui.Dialog().notification(self.encode(title), self.encode(message), time=time,
                        Severity: Minor
                        Found in resources/lib/sutils.py by pep8

                        Limit all lines to a maximum of 79 characters.

                        There are still many devices around that are limited to 80 character
                        lines; plus, limiting windows to 80 characters makes it possible to
                        have several windows side-by-side.  The default wrapping on such
                        devices looks ugly.  Therefore, please limit all lines to a maximum
                        of 79 characters. For flowing long blocks of text (docstrings or
                        comments), limiting the length to 72 characters is recommended.
                        
                        Reports error E501.

                        Invalid escape sequence '\d'
                        Open

                                        nfo = re.search('^(?P<season>\d+)x(?P<episode>\d+)',
                        Severity: Minor
                        Found in resources/lib/sutils.py by pep8

                        Invalid escape sequences are deprecated in Python 3.6.

                        Okay: regex = r'\.png$'
                        W605: regex = '\.png$'

                        Invalid escape sequence '\d'
                        Open

                                    tvid = re.search('<id>(\d+)</id>', data).group(1)
                        Severity: Minor
                        Found in resources/lib/sutils.py by pep8

                        Invalid escape sequences are deprecated in Python 3.6.

                        Okay: regex = r'\.png$'
                        W605: regex = '\.png$'

                        Line too long (87 > 79 characters)
                        Open

                                                                   'vystup': json.dumps(JSON_result, indent=2),
                        Severity: Minor
                        Found in resources/lib/sutils.py by pep8

                        Limit all lines to a maximum of 79 characters.

                        There are still many devices around that are limited to 80 character
                        lines; plus, limiting windows to 80 characters makes it possible to
                        have several windows side-by-side.  The default wrapping on such
                        devices looks ugly.  Therefore, please limit all lines to a maximum
                        of 79 characters. For flowing long blocks of text (docstrings or
                        comments), limiting the length to 72 characters is recommended.
                        
                        Reports error E501.

                        Line too long (91 > 79 characters)
                        Open

                                                                              "firstaired", "playcount", "runtime",
                        Severity: Minor
                        Found in resources/lib/sutils.py by pep8

                        Limit all lines to a maximum of 79 characters.

                        There are still many devices around that are limited to 80 character
                        lines; plus, limiting windows to 80 characters makes it possible to
                        have several windows side-by-side.  The default wrapping on such
                        devices looks ugly.  Therefore, please limit all lines to a maximum
                        of 79 characters. For flowing long blocks of text (docstrings or
                        comments), limiting the length to 72 characters is recommended.
                        
                        Reports error E501.

                        Line too long (94 > 79 characters)
                        Open

                                                                              "originaltitle", "lastplayed", "writer",
                        Severity: Minor
                        Found in resources/lib/sutils.py by pep8

                        Limit all lines to a maximum of 79 characters.

                        There are still many devices around that are limited to 80 character
                        lines; plus, limiting windows to 80 characters makes it possible to
                        have several windows side-by-side.  The default wrapping on such
                        devices looks ugly.  Therefore, please limit all lines to a maximum
                        of 79 characters. For flowing long blocks of text (docstrings or
                        comments), limiting the length to 72 characters is recommended.
                        
                        Reports error E501.

                        Line too long (92 > 79 characters)
                        Open

                                            util.error('Failed to create .strm file: ' + item_path + " | " + str(e))
                        Severity: Minor
                        Found in resources/lib/sutils.py by pep8

                        Limit all lines to a maximum of 79 characters.

                        There are still many devices around that are limited to 80 character
                        lines; plus, limiting windows to 80 characters makes it possible to
                        have several windows side-by-side.  The default wrapping on such
                        devices looks ugly.  Therefore, please limit all lines to a maximum
                        of 79 characters. For flowing long blocks of text (docstrings or
                        comments), limiting the length to 72 characters is recommended.
                        
                        Reports error E501.

                        Line too long (97 > 79 characters)
                        Open

                                                                              "originaltitle", "showtitle", "lastplayed",
                        Severity: Minor
                        Found in resources/lib/sutils.py by pep8

                        Limit all lines to a maximum of 79 characters.

                        There are still many devices around that are limited to 80 character
                        lines; plus, limiting windows to 80 characters makes it possible to
                        have several windows side-by-side.  The default wrapping on such
                        devices looks ugly.  Therefore, please limit all lines to a maximum
                        of 79 characters. For flowing long blocks of text (docstrings or
                        comments), limiting the length to 72 characters is recommended.
                        
                        Reports error E501.

                        Line too long (89 > 79 characters)
                        Open

                                                               "properties": ["title", "plot", "votes", "rating",
                        Severity: Minor
                        Found in resources/lib/sutils.py by pep8

                        Limit all lines to a maximum of 79 characters.

                        There are still many devices around that are limited to 80 character
                        lines; plus, limiting windows to 80 characters makes it possible to
                        have several windows side-by-side.  The default wrapping on such
                        devices looks ugly.  Therefore, please limit all lines to a maximum
                        of 79 characters. For flowing long blocks of text (docstrings or
                        comments), limiting the length to 72 characters is recommended.
                        
                        Reports error E501.

                        Line too long (81 > 79 characters)
                        Open

                                validFilenameChars = "-_.() %s%s" % (string.ascii_letters, string.digits)
                        Severity: Minor
                        Found in resources/lib/sutils.py by pep8

                        Limit all lines to a maximum of 79 characters.

                        There are still many devices around that are limited to 80 character
                        lines; plus, limiting windows to 80 characters makes it possible to
                        have several windows side-by-side.  The default wrapping on such
                        devices looks ugly.  Therefore, please limit all lines to a maximum
                        of 79 characters. For flowing long blocks of text (docstrings or
                        comments), limiting the length to 72 characters is recommended.
                        
                        Reports error E501.

                        Line too long (82 > 79 characters)
                        Open

                                                        self.showNotification('Subscription', 'Chcecking')
                        Severity: Minor
                        Found in resources/lib/sutils.py by pep8

                        Limit all lines to a maximum of 79 characters.

                        There are still many devices around that are limited to 80 character
                        lines; plus, limiting windows to 80 characters makes it possible to
                        have several windows side-by-side.  The default wrapping on such
                        devices looks ugly.  Therefore, please limit all lines to a maximum
                        of 79 characters. For flowing long blocks of text (docstrings or
                        comments), limiting the length to 72 characters is recommended.
                        
                        Reports error E501.

                        Line too long (89 > 79 characters)
                        Open

                                                                              "rating", "director", "userrating",
                        Severity: Minor
                        Found in resources/lib/sutils.py by pep8

                        Limit all lines to a maximum of 79 characters.

                        There are still many devices around that are limited to 80 character
                        lines; plus, limiting windows to 80 characters makes it possible to
                        have several windows side-by-side.  The default wrapping on such
                        devices looks ugly.  Therefore, please limit all lines to a maximum
                        of 79 characters. For flowing long blocks of text (docstrings or
                        comments), limiting the length to 72 characters is recommended.
                        
                        Reports error E501.

                        Line too long (97 > 79 characters)
                        Open

                                                                              "dateadded", "uniqueid", "art", "fanart"]},
                        Severity: Minor
                        Found in resources/lib/sutils.py by pep8

                        Limit all lines to a maximum of 79 characters.

                        There are still many devices around that are limited to 80 character
                        lines; plus, limiting windows to 80 characters makes it possible to
                        have several windows side-by-side.  The default wrapping on such
                        devices looks ugly.  Therefore, please limit all lines to a maximum
                        of 79 characters. For flowing long blocks of text (docstrings or
                        comments), limiting the length to 72 characters is recommended.
                        
                        Reports error E501.

                        Line too long (82 > 79 characters)
                        Open

                                    sleep_time = int(self.getSetting("start_sleep_time")) * 1000 * 60 * 60
                        Severity: Minor
                        Found in resources/lib/sutils.py by pep8

                        Limit all lines to a maximum of 79 characters.

                        There are still many devices around that are limited to 80 character
                        lines; plus, limiting windows to 80 characters makes it possible to
                        have several windows side-by-side.  The default wrapping on such
                        devices looks ugly.  Therefore, please limit all lines to a maximum
                        of 79 characters. For flowing long blocks of text (docstrings or
                        comments), limiting the length to 72 characters is recommended.
                        
                        Reports error E501.

                        Line too long (84 > 79 characters)
                        Open

                                if 'title' in item['info'].keys() and xbmcvfs.exists(item['info']['title']):
                        Severity: Minor
                        Found in resources/lib/sutils.py by pep8

                        Limit all lines to a maximum of 79 characters.

                        There are still many devices around that are limited to 80 character
                        lines; plus, limiting windows to 80 characters makes it possible to
                        have several windows side-by-side.  The default wrapping on such
                        devices looks ugly.  Therefore, please limit all lines to a maximum
                        of 79 characters. For flowing long blocks of text (docstrings or
                        comments), limiting the length to 72 characters is recommended.
                        
                        Reports error E501.

                        Line too long (97 > 79 characters)
                        Open

                                                                   'knihovna': xbmc.translatePath('special://database')})
                        Severity: Minor
                        Found in resources/lib/sutils.py by pep8

                        Limit all lines to a maximum of 79 characters.

                        There are still many devices around that are limited to 80 character
                        lines; plus, limiting windows to 80 characters makes it possible to
                        have several windows side-by-side.  The default wrapping on such
                        devices looks ugly.  Therefore, please limit all lines to a maximum
                        of 79 characters. For flowing long blocks of text (docstrings or
                        comments), limiting the length to 72 characters is recommended.
                        
                        Reports error E501.

                        Line too long (82 > 79 characters)
                        Open

                                        JSON_result['result']['moviedetails']['genre'] = self.adjustGenre(
                        Severity: Minor
                        Found in resources/lib/sutils.py by pep8

                        Limit all lines to a maximum of 79 characters.

                        There are still many devices around that are limited to 80 character
                        lines; plus, limiting windows to 80 characters makes it possible to
                        have several windows side-by-side.  The default wrapping on such
                        devices looks ugly.  Therefore, please limit all lines to a maximum
                        of 79 characters. For flowing long blocks of text (docstrings or
                        comments), limiting the length to 72 characters is recommended.
                        
                        Reports error E501.

                        Line too long (88 > 79 characters)
                        Open

                                    "library-movies", xbmc.translatePath(addonPom.getSetting("library-movies")))
                        Severity: Minor
                        Found in resources/lib/sutils.py by pep8

                        Limit all lines to a maximum of 79 characters.

                        There are still many devices around that are limited to 80 character
                        lines; plus, limiting windows to 80 characters makes it possible to
                        have several windows side-by-side.  The default wrapping on such
                        devices looks ugly.  Therefore, please limit all lines to a maximum
                        of 79 characters. For flowing long blocks of text (docstrings or
                        comments), limiting the length to 72 characters is recommended.
                        
                        Reports error E501.

                        There are no issues that match your filters.

                        Category
                        Status