-
|
Is it possible to play the contents of a directory by the file name numbering? I tried it with 3 digit numbering system and stripped out all the meta data just to be sure for testing purposes and it doesn't seem to work .I do have shuffle off. I thought it was playing on a patent so I renumbered just 1 to 20 And it played them in this pattern. 11, 13, 14, 15, 16, 19, 7, 1,10, 12, 17, 18, 2, 20, 3, 4, 5, 6, 8, 9, And then it started the pattern again. I then letted them from A onwards and it repeated the same type of pattern. I know I'm probably missing something obvious. Does it keep a database maybe? |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 2 replies
-
|
Hi @estaman42, guess you have to add a leading 0 to the one digit filenames.
|
Beta Was this translation helpful? Give feedback.
-
|
That's odd, def query_cache(self, where_clause, sort_clause="fname ASC", params=None):
...
if not self.__portrait_pairs:
sql = f"SELECT file_id FROM all_data {where_clause} ORDER BY {sort_clause}"
return cursor.execute(sql, params or []).fetchall()
..Based on the code, the list should be sorted by filename in ascending order. @jgodfrey any ideas? |
Beta Was this translation helpful? Give feedback.
-
|
Agree it seems odd. The only thing I can think of would be weird characters that looked like numbers but from an obscure font. But as you did the renumbering that's not a possibility!! I think @helgeerbe is/has changed the sort shuffle functionality from SQL to python so that might reduce the scope for inexplicable behaviour. Paddy |
Beta Was this translation helpful? Give feedback.
-
|
Hi guys! Thanks to everyone for the input. I found a solution or maybe a workaround. If I name the files in the format of? space character like image_01 or image-01 it works fine. It's only if I just have a number or just have a letter that it goes into the other behaviour. I'll leave it up to smarter minds and mine to reason why. But this works and will keep my wife happy! Thanks everyone again |
Beta Was this translation helpful? Give feedback.
Hi guys! Thanks to everyone for the input. I found a solution or maybe a workaround. If I name the files in the format of? space character like image_01 or image-01 it works fine. It's only if I just have a number or just have a letter that it goes into the other behaviour. I'll leave it up to smarter minds and mine to reason why. But this works and will keep my wife happy! Thanks everyone again