mackstann / mpris-remote

command line tool for interacting with music players that support the mpris spec
http://incise.org/mpris-remote.html
25 stars 10 forks source link

Crash when calling with no arguments #2

Closed mackstann closed 13 years ago

mackstann commented 13 years ago

Copy/paste from "Alexey" who posted this in the comments on the mpris-remote homepage:

$ ./mpris-remote 
Traceback (most recent call last):
File "./mpris-remote", line 169, in <module>
class is_track_num_or_star(object):
File "./mpris-remote", line 170, in is_track_num_or_star
type_desc = is_track_num.type_desc + "\n\nOR a '*' to indicate all tracks"
AttributeError: type object 'is_track_num' has no attribute 'type_desc'

I requested more info from him to make it easier to track down, but I'm guessing it's probably a pretty easy bug to find.

mackstann commented 13 years ago

Presumed fix for crash. Closed by 297291a6f6d642947708edca324fc53c29a408ff.

Also tweaked some nearby stuff a little.