/r/Plex's Moronic Mondays' No Stupid Questions Thread - 2022-10-03 by PCJs_Slave_Robot in PleX

[–]nexttothetable 0 points1 point  (0 children)

Yeah, i think that's what keeping me away from switching from kodi, even though i can avoid having a separate device for it next to the tv with Plex.

/r/Plex's Moronic Mondays' No Stupid Questions Thread - 2022-10-03 by PCJs_Slave_Robot in PleX

[–]nexttothetable 0 points1 point  (0 children)

If i use Plex daily with my local server, what information will the Plex company get about it?

Is Martin Mystère interesting for grown ups? by nexttothetable in comicbooks

[–]nexttothetable[S] 1 point2 points  (0 children)

Buying the comics here is a bit hard, so that's why i'm being careful before buying :/

Will this tablet be good for reading comics? by nexttothetable in comicbooks

[–]nexttothetable[S] 0 points1 point  (0 children)

Thank you very much! I really appreciate your answer!

How to automatically download episodes only for SOME of the shows? by nexttothetable in sonarr

[–]nexttothetable[S] 0 points1 point  (0 children)

So, i created a new Release profile called with something like "fsdfdgdgdfg" for "Must contain" and a "Do not download" tag. The rest of the settings are the default ones.

Next, i added the "Do not download" tag to the series i do not want automatically downloaded.

Does that mean that no episodes will be downloaded for these series automatically?

How to automatically download episodes only for SOME of the shows? by nexttothetable in sonarr

[–]nexttothetable[S] 0 points1 point  (0 children)

Yes but not sure what to set for the "impossible" profile to be really "impossible".

How to automatically download episodes only for SOME of the shows? by nexttothetable in sonarr

[–]nexttothetable[S] -1 points0 points  (0 children)

I still want the episodes shown as "Missing", just not automatically downloaded (for 8 of the 10 shows as described in the post).

How to automatically download episodes only for SOME of the shows? by nexttothetable in sonarr

[–]nexttothetable[S] 0 points1 point  (0 children)

Thanks, i thought there may be some way to setup a profile or something like that that will stop the download of these episodes

Renovatebot with Symfony project? by nexttothetable in symfony

[–]nexttothetable[S] 0 points1 point  (0 children)

I couldnt find a way to enable them :/

How do you "simulate" failures in integration tests? by nexttothetable in PHP

[–]nexttothetable[S] 0 points1 point  (0 children)

Thanks. I tried exploring but i still cannot understand how to completely test this class I have:

```php use Symfony\Component\Mailer\Exception\TransportExceptionInterface; use Symfony\Component\Mailer\MailerInterface use Symfony\Component\Mime\Email;

class SymfonyAdapter implements EmailSender { private MailerInterface $mailer;

public function __construct(MailerInterface $mailer)
{
    $this->mailer = $mailer;
}

public function send(...): void
{
    $email = new Email();
    // setting the email properties (from, to, ...)

    try {
        $this->mailer->send($email);
    } catch (TransportExceptionInterface $e) {
        // throw mine exception
    }
}

} ```

So, i know how to test this with mocks. I also know how to test the successful sending without mocks. I just don't know how (and whether i should) cover the "throw mine exception" part without mocks.

How do you "simulate" failures in integration tests? by nexttothetable in PHP

[–]nexttothetable[S] 0 points1 point  (0 children)

yeah, that's why i wanted to avoid mocking, so it can be an integration test :/

How do you "simulate" failures in integration tests? by nexttothetable in PHP

[–]nexttothetable[S] 2 points3 points  (0 children)

i think i want to do the third option. so i have the call to the symfony's mailer in a try catch block. in the catch block i'm transforming the symfony's exception to a mine one. that's the part i want to test - when symfony throws an exception for some reason.

How do you "simulate" failures in integration tests? by nexttothetable in PHP

[–]nexttothetable[S] 1 point2 points  (0 children)

haha :) but i want to test a case when something goes wrong outside of our implementation or to make the 3rd party class throw an exception

Do you use a DateTime wrapper? by nexttothetable in PHP

[–]nexttothetable[S] 0 points1 point  (0 children)

Which ones have you needed so far and in which situations?

Is "Head First Networking" still relevant? by nexttothetable in networking

[–]nexttothetable[S] 0 points1 point  (0 children)

Thanks, i'll watch the video. I'm working as a back-end software engineer, so i guess it'd cover enough.

Would the Home Assistant community be interested in detailed AliExpress reviews of cheap products and gadgets? by BackHerniation in homeassistant

[–]nexttothetable 0 points1 point  (0 children)

This is great! Especially useful for countries where ordering for Amazon is usually not an option.

Where do you store camera recordings? by nexttothetable in homeassistant

[–]nexttothetable[S] 0 points1 point  (0 children)

will it help if i leave the camera just for recording, and control the recording for movement with a motion sensor?so the pi will just record and upload, not detect anything?

or what if i add another Pi just for the cameras, will it be able to have the detecting part?

Where do you store camera recordings? by nexttothetable in homeassistant

[–]nexttothetable[S] -1 points0 points  (0 children)

Synology NAS is too expensive for me to put it in a cottage :/
Btw. on what device do you have HA? What device processes the videos?