AttributeError: 'MusicScreen' object has no attribute 'tab_group'
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Entertainer Media Center |
Triaged
|
Low
|
Unassigned |
Bug Description
I'm using version 0.3 and I've no files associated with entertainer content manager, so music is empty.
TESTCASE:
1- Select menu "Music"
2- Press key "p" and it shows this traceback.
Traceback (most recent call last):
File "/usr/lib/
self.
File "/usr/lib/
if self.current.
File "/usr/lib/
if self.tab_
AttributeError: 'MusicScreen' object has no attribute 'tab_group'
An additional check is needed in the is_interested_ in_play_ action method for when the number of tracks == 0. This should cause a return before the method gets the tab group (which won't be defined unless there are actual tracks, see the init method).