[–] [S] 3 points 2 weeks ago (1 child)

That's probably the most straight forward and I could probably add a bit of regex to trim the extension off the name as well.

Now I need to try and remember how to script considering I haven't coded anything for 15 years!

  • source
  • parent
  • context
  • [–] [S] 5 points 2 weeks ago

    The wiki advises a certain naming convention and folder structure (as linked by another user) and it's a useful exercise in giving all my media a consistent structure as managing it personally has become a bit of a nightmare.

  • source
  • parent
  • context
  •  

    I have a rather large library of movies gathered over the years (all entirely legally I assure you officer). I'm in the process of setting up a Jellyfin server so I can stream them on the go.

    Currently it's just one folder full of individual files but Jellyfin wants each movie within it's own folder.

    Is there a command, or set of commands, that would do this all in one go? ie iterate my way through a folder, create a new folder with the same name as a file, move that file into this new folder and repeat a few hundred times.

    I am using Cachy OS (arch) and have Dolphin and yazi as file managers if that helps. I guess a bash script would be the best way to achieve this but my skills are quite rusty.

    [–] 9 points 3 months ago

    Paradox hit a real sweet spot with the Clauswitz engine era, EU3-HOI3-Vic2-CK2-EU4.

    All the games since then have done a much better job at on-boarding new players but they're all lacking something for anyone who played those previous games. That's not to say that HOI4 or Stellaris or CK3 or EU5 don't have good features but I haven't really gelled with any of them apart from perhaps Stellaris.

  • source
  •  

    I'm in the UK so have been forced to watch the Olympic hockey on the BBC so far. Not only do they have a tendency to cut off the first 5 minutes of a period (so they can show highlights from elsewhere) but the commentators are D tier at best and there's no discussion panel between the periods.

    Anyone have any links to where I can get some ahem perfectly fine and legal streams? Preferably Sportsnet (for Bieksa).

     

    Is this the worst managed and owned team in the league? In the whole hockey world? In all of sports history (probably not quite that bad but cut me a little slack here)?

    In 2 years they've gone from one of the most stacked groups in the league, with 6 players going to the all star game to this.

    We're in dead last place and just traded arguably the greatest player in Canucks history, a true generational talent, Calder nominee, 3 time Norris trophy nominee and winner in 2024, Canucks all time leader in points and assists for a defenseman, the team captain, for Rossi, Ohgren, Buium and what might very well turn into a 32nd overall draft pick.

    I'm done emotionally investing in this team and shall now be watching the Wild and my second team the Sharks instead until Aquilini sells the team.

    view more: next ›