*** empty log message ***
[booh] / bin / booh-backend
index a6525ec75270dc17ac8d295db8fdc2f84a2d6525..2da7fa35c2dda3804a1041814522ab23a31b7b90 100755 (executable)
@@ -423,9 +423,9 @@ def find_next_album(xmldir)
             begin
                 xmldir = xmldir.parent
                 relative_pos += '../'
-            end while xmldir && !xmldir.next_element
+            end while xmldir && !xmldir.next_element_byname('dir')
             if xmldir
-                xmldir = xmldir.next_element
+                xmldir = xmldir.next_element_byname('dir')
                 relative_pos += '../' + xmldir2destdir(xmldir) + '/'
             else
                 return nil