▲ 1 r/print

What print shop would be a good option for printing my own personal backup DVD/game covers?

I recently burned a custom DVD copy of the PC version of the first Sonic Adventure game, with the Dreamcast conversion mods preinstalled. The disc itself came out pretty well, I tested it out on my own computer and also had it tested out on another computer to see if it would work there as well. Keep in mind that I'm only doing this for myself and my family, and I'm not selling it at all. Currently, the case for the disc is completely blank with no cover art, so I'd like to design and print my own custom cover art for it. I don't already have a color printer at home, and probably won't get one anytime soon, because of how expensive it is, so that won't be an option here. I have a staples store pretty close to where I live, but I'm worried that they won't accept something of this nature, even if I tell the employees there that I'm purely doing this for myself and aren't selling it anywhere. Therefore, if you guys have any other options that you'd recommend for something like this, whether physical or online, I'd love to see it! Bonus points if they offer the option to cut out the extra space around the paper to get it to properly fit in a DVD case.

reddit.com
u/SMB_Fan2010 — 3 days ago
▲ 2 r/tunarr

How to disable flex time for a specific slot and replace it with mid-roll filler?

I've tried setting up some mid-roll filler for certain shows in my Tunarr channel, but because flex time is being auto-generated, the mid-roll filler gets ignored. Is it possible to disable flex time for certain slots so that midroll filler can show up? And if so, how do you do that?

reddit.com
u/SMB_Fan2010 — 13 days ago
▲ 1 r/tunarr

How to fill up a single 30 minute slot with multiple 5-minute or 11-minute episodes?

I'm currently setting up a custom TV channel with Tunarr with various shows included. One of the shows included in the channel's rotation is the classic seasons of Thomas & Friends. However, those episodes are normally only 4 and a half minutes long (5 and a half minutes or 5 minutes and 45 seconds with the intro and end credits included). What I want to do is to have each of the 30 minute slots containing Thomas episodes is to have 4 episodes each for a total of 23 minutes without filler. However, what Tunarr is currently trying to do is to have 24 minutes of filler. Is it possible to change this behavior to fill up certain slots with a specific number of episodes from a show, and have the rest of the time be filler such as ad breaks? And if so, how do you do that?

reddit.com
u/SMB_Fan2010 — 14 days ago

GWR 5700 pannier tank!

The same class as Duck from Thomas & Friends, if you didn't already know

u/SMB_Fan2010 — 1 month ago

How to properly reverse string while respecting positions of Unicode accents, characters, and ZWJ emojis?

I'm currently writing a tool to reverse strings with JavaScript. However, I want it to properly handle Unicode accents, Unicode characters, and emojis with zero width joiners. Most of the examples that I found are either the simple string.split('').reverse().join('') or some other simple method that doesn't properly handle those cases. I also found the Esrever library, which does properly handle accents and certain Unicode characters, but doesn't properly handle certain emojis with ZWJs.

Here's the results that I'm expecting:
Input string: foo 𝌆 bar
Expected result: rab 𝌆 oof

Input string: mañana mañana
Expected result: anañam anañam
Current result: anãnam anañam

Input string: 🏄🏼‍♂️
Expected result: 🏄🏼‍♂️
Current result: ️♂‍🏼🏄

UPDATE

As recommended by u/azhder and u/milan-pilan, the best solution to this problem is using Intl.Segmenter with the granularity set to grapheme. If anyone is coming across this post now, the code for reversing a string using this method would go something like this:

function reverseString(string) {
    const segmenter = new Intl.Segmenter("en", { granularity: "grapheme"});
    const graphemeSegments = segmenter.segment(string);
    let stringArray = [];
    for (let segment of graphemeSegments) {
        stringArray.unshift(segment.segment);
    }
    
    return stringArray.join("");
}

With an input string of foo 𝌆 bar mañana mañana 🏄🏼‍♂️, it should return a result of 🏄🏼‍♂️ anañam anañam rab 𝌆 oof, properly handling accents, Unicode characters, and ZWJ emojis.

EDIT 2: Replaced var with let and const and updated function logic to use Array.unshift() as suggested by u/Lumethys

reddit.com
u/SMB_Fan2010 — 1 month ago
▲ 1 r/VLC

I just found out that VLC can actually play BRSTM music files (for GameCube/Wii games), but I'm trying to figure out how to get them to loop properly. Normally, they have specific looping points embedded within them (as opposed to simply looping from the beginning every time), but enabling the looping option within VLC doesn't seem to respect these looping points. Is it possible to properly loop these files with VLC, and if so, how?

reddit.com
u/SMB_Fan2010 — 2 months ago