Listing of audio in VLAN iPad version

iOS, iPad, iPhone, tvOS specific usage questions
johndoejnr
New Cone
New Cone
Posts: 1
Joined: 20 Jun 2016 07:26

Listing of audio in VLAN iPad version

Postby johndoejnr » 20 Jun 2016 07:31

I needed to list audio pieces in VLAN to make sure they're all in the correct order.

I had them in iCloud as -

1.
2.
3.
4.
etc etc

But then when I imported them into iPad VLAN, they came out as the following -

1.
10.
11.
12.
13.
14.
15.
16.
17.
18.
19.
2.
20.
21.
22.
etc etc

Can you please tell me how to list audio pieces in their correct order so that I can play them one after the other when needed? Cheers

fkuehne
Developer
Developer
Posts: 7264
Joined: 16 Mar 2004 19:37
VLC version: 0.4.6 - present
Operating System: Darwin
Location: Germany
Contact:

Re: Listing of audio in VLAN iPad version

Postby fkuehne » 20 Jun 2016 11:33

Ouch, interesting. Do your audio files include metadata defining the track number or does VLC need to rely on the naming of the files?
VideoLAN
Felix Paul Kühne
Medic. VLC developer for appleOS since before you were born.
Blog: https://www.feepk.net

cinephile
New Cone
New Cone
Posts: 4
Joined: 19 Jun 2016 05:25

Re: Listing of audio in VLAN iPad version

Postby cinephile » 20 Jun 2016 22:08

I had a somewhat similar issue myself, but I just simply imported them one by one in the correct order. I know this sounds tedious, but it's the only help I can offer

ajmas
Big Cone-huna
Big Cone-huna
Posts: 935
Joined: 04 Feb 2006 07:33
VLC version: 3.0.x
Operating System: MacOS X
Location: Montreal, Canada

Re: Listing of audio in VLAN iPad version

Postby ajmas » 21 Jun 2016 20:34

Could try adding zeros in front, such that the numbers are all the same length? What I suspect is happening here is that a alphabetical sort order is done (typical of most sort algorithms), rather than a 'natural sort order'.

For your numbers:

001
002
012
134

Just make sure it is padded according to the largest value.
Providing logs, messages, configuration info (VLC, OS, Hardware) and a clear explanation of the issue always helps the problem solvers help you, even if they don't end up solving the issue. Just think what you would need if you were solving someone else's problem. Additional: Always looking for eager and capable MacOS X developers to join the VLC team - for more information see here.


Return to “VLC for iOS, iPadOS and Apple TV”

Who is online

Users browsing this forum: No registered users and 30 guests