View Single Post
Posts: 373 | Thanked: 56 times | Joined on Dec 2005 @ Ottawa, ON
#90
Hi Handful,

I have been meaning to track down the cause (so I can give you some meaningful feedback besides "It doesn't work, fix it!" ;]) of a bug that has been plaguing me for quite some time and I finally have.

It appears that if you have a "#" in the filename of a digital music file, it will not play in Canola if it is the first file that you start playing in an album. If you press the next track button until you get to a song that doesn't have a # in the filename, that song will start playing. Strangely enough, if you then press the previous track button, the songs that wouldn't play before, will play fine.

I duplicated this problem with another file by simply renaming the first track of an album to have a # at the end of the filename (but before the .extension) but I think that it is a problem no matter where the # is.

I also have the python traceback error that burps out if you run canola in the terminal with a -vvv flag (included some lines before and after for context):

Code:
1211841068.5427 DEBUG manager:136:get_classes_by_regexp() looking for classes with filter matching regexp 'Model/Options/Action/Player/Audio/[^/]*$'
1211841068.5978 DBG_W model:288:load() Model's do_load() is too slow: 55ms (AudioPlayerOptionsModel)
1211841070.4939 DBG_E controller:188:_error_handler() org.freedesktop.DBus.Python.atabake.lib.errors.GetMediaDetailsError: Traceback (most recent call last):
File "/usr/lib/python2.5/site-packages/dbus/service.py", line 696, in _message_cb
retval = candidate_method(self, *args, **keywords)
File "atabake/lib/player_session.py", line 435, in set_uri
File "atabake/lib/player_session.py", line 126, in create_player
File "atabake/players/oms_backend.py", line 59, in __init__
File "atabake/players/oms_backend.py", line 229, in set_uri
File "atabake/players/oms_backend.py", line 182, in get_media_details
GetMediaDetailsError: failed while getting media details: () @ File "atabake/players/oms_backend.py", line 179, in get_media_details
1211841071.7698 DBG_E controller:520:update_trackbar() Duration invalid
 

The Following User Says Thank You to mwiktowy For This Useful Post: