~vcs-imports/listen/trunk

« back to all changes in this revision

Viewing changes to src/source/local.py

  • Committer: theli
  • Date: 2009-05-04 07:16:43 UTC
  • Revision ID: vcs-imports@canonical.com-20090504071643-19hbhwzkgyb5fw11
Fixes mispelling, fixes #898

Show diffs side-by-side

added added

removed removed

Lines of Context:
129
129
        if config.getboolean("library","startup_added"):
130
130
            dir = config.get("library","location", get_xdg_music_dir())
131
131
            dir = os.path.expanduser(dir)
132
 
            library_path = vfs.get_rui_from_path(dir)
 
132
            library_path = vfs.get_uri_from_path(dir)
133
133
            gobject.timeout_add(int(START_DIRECTORY_MONITOR * 1.5), self.__import_folder_real, [library_path])
134
134
 
135
135
    def __check_db(self):
271
271
    ReloadDBJob()
272
272
    dir = config.get("library","location", get_xdg_music_dir())
273
273
    dir = os.path.expanduser(dir)
274
 
    monitored_folder = vfs.get_rui_from_path(dir)
 
274
    monitored_folder = vfs.get_uri_from_path(dir)
275
275
    if monitored_folder:
276
276
        ImportFolderJob([monitored_folder])
277
277