Stories
Slash Boxes
Comments

SoylentNews is people

posted by Fnord666 on Sunday November 24 2019, @03:53PM   Printer-friendly
from the just-play-the-file-already dept.

The project is detailed on github for those who might be interested.


Original Submission

 
This discussion has been archived. No new comments can be posted.
Display Options Threshold/Breakthrough Mark All as Read Mark All as Unread
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
  • (Score: 5, Interesting) by Bot on Sunday November 24 2019, @04:40PM (4 children)

    by Bot (3902) on Sunday November 24 2019, @04:40PM (#924202) Journal

    Mpv installed and a 1 line bash script would do. Unless systemd, in which case the author of a system configuration with a fixed and repeatable outcome deserves a medal.

    --
    Account abandoned.
    Starting Score:    1  point
    Moderation   +3  
       Interesting=2, Informative=1, Total=3
    Extra 'Interesting' Modifier   0  
    Karma-Bonus Modifier   +1  

    Total Score:   5  
  • (Score: 2, Insightful) by Anonymous Coward on Sunday November 24 2019, @05:16PM (1 child)

    by Anonymous Coward on Sunday November 24 2019, @05:16PM (#924209)

    Millennials believe a one line bash script is black magic, so it's no wonder this trivial project is news.

    • (Score: 3, Insightful) by driverless on Sunday November 24 2019, @10:29PM

      by driverless (4770) on Sunday November 24 2019, @10:29PM (#924281)

      My feelings exactly. They, um, took a Pi, put it in a box and, um, plugged it together.

      This is what happens when you hand out trophies to kids for participating.

      If I really wanted something like this I'd just buy one of about umpty bazillion purpose-built media players with vastly more capabilities than the Pi, at about the same price, or less for the really cut-down ones.

  • (Score: 3, Informative) by rigrig on Monday November 25 2019, @12:37AM (1 child)

    by rigrig (5129) <soylentnews@tubul.net> on Monday November 25 2019, @12:37AM (#924343) Homepage

    Maybe you could do it with a one liner, but then how could you save the original $IFS but never restore it, needlessly shuffle the file order, and log to two different files [github.com]? (Also, "it only plays .avi and .mp4 files" is hardly foolproof)

    --
    No one remembers the singer.
    • (Score: 2) by Bot on Monday November 25 2019, @02:31PM

      by Bot (3902) on Monday November 25 2019, @02:31PM (#924517) Journal

      You generate the playlist with find/xargs, and mpv --shuffle play it in loop, logging is done at mpv.conf level, no need to mess with IFS. Double logging I dunno, should look into the reason for it first.

      --
      Account abandoned.