mopidy / mopidy-local

Mopidy extension for playing music from your local music archive
https://mopidy.com/ext/local/
Apache License 2.0
61 stars 26 forks source link

[commands] check if result.duration is None #37

Closed arthurlutz closed 4 years ago

arthurlutz commented 4 years ago

Fixes #36

arthurlutz commented 4 years ago

Should a specific elseif condition be done for when result.duration is None ?

codecov[bot] commented 4 years ago

Codecov Report

Merging #37 into master will not change coverage. The diff coverage is 0%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master      #37   +/-   ##
=======================================
  Coverage   50.52%   50.52%           
=======================================
  Files           9        9           
  Lines         762      762           
=======================================
  Hits          385      385           
  Misses        377      377
Impacted Files Coverage Δ
mopidy_local/commands.py 0% <0%> (ø) :arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 0720824...1585e12. Read the comment docs.

arthurlutz commented 4 years ago

Sorry for the noise, just found #35 which is a much better contribution.