Rockbox.org home
Downloads
Release release
Dev builds dev builds
Extras extras
themes themes
Documentation
Manual manual
Wiki wiki
Device Status device status
Support
Forums forums
Mailing lists mailing lists
IRC IRC
Development
Bugs bugs
Patches patches
Dev Guide dev guide
Search



Donate

Rockbox Technical Forums


Login with username, password and session length
Home Help Search Staff List Login Register
News:

Thank You for your continued support and contributions!

+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Audio Playback, Database and Playlists
| | |-+  Play files walking directory tree - unexpected repeating
« previous next »
  • Print
Pages: [1]

Author Topic: Play files walking directory tree - unexpected repeating  (Read 1759 times)

Offline markh1289

  • Member
  • *
  • Posts: 7
Play files walking directory tree - unexpected repeating
« on: April 23, 2013, 05:56:39 AM »
Sansa Clip+
Rockbox version = 3.12
Shuffle = no.
Repeat = off.
Set a directory 'fred' as "Start file browser here".
Auto-change directory = yes.

It plays all the files in directories under fred but when it's finished it starts the same thing over again.
I expected it to just stop playing.

Is this expected behavior?
Logged

Offline AlexP

  • Global Moderator
  • Member
  • *
  • Posts: 3688
  • ex-BigBambi
Re: Play files walking directory tree - unexpected repeating
« Reply #1 on: April 23, 2013, 04:57:15 PM »
Does it do this if you turn auto change directory off?
Logged
H140, F60, S120, e260, c240, Clip, Fuze v2, Connect, MP170, Meizu M3, Nano 1G, Android

Offline saratoga

  • Developer
  • Member
  • *
  • Posts: 8974
Re: Play files walking directory tree - unexpected repeating
« Reply #2 on: April 24, 2013, 01:09:34 AM »
Quote
Constrain Auto-Change

If enabled and you have set Start File Browser Here to a directory other than root, Auto-Change Directory will be constrained to the directory you have chosen and those below it. See section 4.1.2.

Do you have this setting enabled?
Logged

Offline markh1289

  • Member
  • *
  • Posts: 7
Re: Play files walking directory tree - unexpected repeating
« Reply #3 on: April 24, 2013, 08:53:06 PM »
Constrain Auto-Change
- yes it is enabled (I should have said at the start :))

Does it do this if you turn auto change directory off?
- it plays all the files in that directory then stops - as expected
Logged

Offline AlexP

  • Global Moderator
  • Member
  • *
  • Posts: 3688
  • ex-BigBambi
Re: Play files walking directory tree - unexpected repeating
« Reply #4 on: April 25, 2013, 04:47:21 PM »
Case closed then.
Logged
H140, F60, S120, e260, c240, Clip, Fuze v2, Connect, MP170, Meizu M3, Nano 1G, Android

Offline markh1289

  • Member
  • *
  • Posts: 7
Re: Play files walking directory tree - unexpected repeating
« Reply #5 on: April 25, 2013, 04:59:51 PM »
Don't see why "Case closed then".
Doesn't auto change directory have to be on to play all the files in directories under a chosen directory?
Logged

Offline markh1289

  • Member
  • *
  • Posts: 7
Re: Play files walking directory tree - unexpected repeating
« Reply #6 on: April 25, 2013, 05:23:07 PM »
So Alex are you saying this is a case of user error?

I have a directory fred. Under it are directories,
- larry with 6 mp3 files in it
- tom with 5 mp3 files in it.

I start playing the first file in directory larry.
I want all files in larry to play then automatically go & play all files in directory tom then stop.

Shuffle = no.
Repeat = off.
Set a directory 'fred' as "Start file browser here".
Auto-change directory = yes.
Constrain Auto-Change = yes.

If this is wrong setting for desired behaviour please tell me which setting to change & how it should be set.
Logged

Offline gevaerts

  • Administrator
  • Member
  • *
  • Posts: 1053
Re: Play files walking directory tree - unexpected repeating
« Reply #7 on: April 25, 2013, 06:02:20 PM »
From my understanding of the source code, auto change directory will always repeat. That's mostly because it's not really nicely integrated with the playlist system everything else uses (another effect of that is that auto-change directory will not use the audio buffer optimally, leading to reduced battery runtime, especially on HD devices).

If you don't use random folder advance, why don't you just add all files to the regular playlist?
Logged

Offline saratoga

  • Developer
  • Member
  • *
  • Posts: 8974
Re: Play files walking directory tree - unexpected repeating
« Reply #8 on: April 25, 2013, 08:19:15 PM »
Quote from: markh1289 on April 25, 2013, 05:23:07 PM
Constrain Auto-Change = yes.

If this is wrong setting for desired behaviour please tell me which setting to change & how it should be set.

Why did you enable that setting if you don't want it?
Logged

Offline markh1289

  • Member
  • *
  • Posts: 7
Re: Play files walking directory tree - unexpected repeating
« Reply #9 on: April 26, 2013, 05:05:22 AM »
Dear gevaerts - thanks for your kind efforts to assist me. I don't like playlists and never use them. I just want it to play on a directory basis.

What with
AlexP "Case closed then."
and
saratoga "Why did you enable that setting if you don't want it?"
which didn't engage with my detailed scenario posted,
April 25, 2013, 04:23:07 PM ยป
and were terse, unfriendly, suppressive of discussion and useless ... I won't bother posting here again.
The software is awsome, the support horrible and useless.
Logged

Offline AlexP

  • Global Moderator
  • Member
  • *
  • Posts: 3688
  • ex-BigBambi
Re: Play files walking directory tree - unexpected repeating
« Reply #10 on: April 26, 2013, 02:57:29 PM »
You've turned auto change directory on which will automatically change directories ad infinitum, and you've turned on constrain directory which will keep auto change directory in the one directory.  Hence it will forever repeat that directory.  It is doing what you told it to.  Therefore, case closed.

Quote from: markh1289 on April 26, 2013, 05:05:22 AM
Dear gevaerts - thanks for your kind efforts to assist me. I don't like playlists and never use them. I just want it to play on a directory basis.

What with
AlexP "Case closed then."

and were terse, unfriendly, suppressive of discussion and useless ... I won't bother posting here again.
The software is awsome, the support horrible and useless.

I thought you had understood what those options did, and therefore understood the issue.  My mistake.  I'm also very sorry that I have to work and didn't reply to you again quickly enough.
« Last Edit: April 26, 2013, 03:10:04 PM by AlexP »
Logged
H140, F60, S120, e260, c240, Clip, Fuze v2, Connect, MP170, Meizu M3, Nano 1G, Android

Offline saratoga

  • Developer
  • Member
  • *
  • Posts: 8974
Re: Play files walking directory tree - unexpected repeating
« Reply #11 on: April 27, 2013, 02:32:55 AM »
I am so confused by this thread.
Logged

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Audio Playback, Database and Playlists
| | |-+  Play files walking directory tree - unexpected repeating
 

  • SMF 2.0.17 | SMF © 2019, Simple Machines
  • Rockbox Privacy Policy
  • XHTML
  • RSS
  • WAP2

Page created in 0.084 seconds with 14 queries.