Giter Club home page Giter Club logo

Comments (6)

DickManhard avatar DickManhard commented on June 9, 2024 1

OK, that makes sense. I'll try to mod the dates and re-scan.
Thank you for your time.

from dir2cast.

DickManhard avatar DickManhard commented on June 9, 2024 1

Works fine with the touch program to modify audiobook chapters in reverse order.

from dir2cast.

ben-xo avatar ben-xo commented on June 9, 2024

Hi @DickManhard ,

The ordering in the feed is based on the dates the files were added to the folder. You should upload the files in the order you wish them to appear in the feed, newest last. (This corresponds to the original intended use-case, which is for publishing episodes one at a time).

If you have an entire series ready to go in one go, I appreciate that this might be a little trickier to set up. If you're not comfortable using tools such as touch to fake the "modification" dates one by one, then other ways to do it include:

  • copying the files to a new folder one by one, in the order you want them to appear
  • deleting them and re-uploading them one by one, in the order you want them to appear
  • editing the metadata / tags on the files one by one, in the order you want them to appear

If for some reason none of these are possible them I apologise that your use case isn't yet supported. Whilst I'd be interested to know why this isn't possible, I could add a new configuration setting to allow a different method of publishing.

However, please be aware that Dir2cast is quite reliant on file modification dates to determine if it needs to refresh the feed, and to determine if it needs to re-scan the contents of the files. (If you accidentally do any of the above on pre-existing files, it will bump them to to the top of the podcast).

from dir2cast.

ben-xo avatar ben-xo commented on June 9, 2024

@DickManhard if this solves your problem (or, if it does not), either way I would appreciate you leaving feedback here so we can close the issue. :) thanks!

from dir2cast.

ben-xo avatar ben-xo commented on June 9, 2024

Works fine with the touch program to modify audiobook chapters in reverse order.

I appreciate you confirming the outcome!

from dir2cast.

stirtingale avatar stirtingale commented on June 9, 2024

I realise this is closed but I found it fairly annoying to have to loop through a big library of content and manually update each folder

This is a simple recursive script that will loop through every sub-folder in a directory ( i.e. /audiobooks ) and will updated the modification times using touch

https://gist.github.com/stirtingale/2d66ec6a0557267a2238e59f455efd59

It will respect numeric ordering ( i.e. if it is 001.mp3, 099.mp3, 100.mp3 ).

Hopefully helpful to anyone who has found this thread by Googling how to sort by filename!

from dir2cast.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.