• 49 Posts
  • 260 Comments
Joined 1 year ago
cake
Cake day: June 24th, 2023

help-circle
  • Thanks for the reply! Stremio-web does not seem to have a docker package, so I should install it outside of docker? (Or create a docker container myself, but I never tried)

    Also, I found [this project](Thanks for the reply! Stremio-web does not seem to have a docker package, so I should install it outside of docker? (Or create a docker container myself, but I never tried)

    Also, I found this project that bundles both together, but the stremio accounts are still managed by the stremio servers, and I’d like to be independent from them instead. I asked the developer and he said that I need to change stremio-web (see issue), but I can’t find any configuration option in the readme.

    Sorry if my question seems confusing, but I’m pretty confused about this



















  • It looks interesting, but more focused on conversions than actual operations it seems:

    octave:37> a.value = 100
    a =
    
      scalar structure containing the fields:
    
        value = 100
        unit = W
    
    octave:38> a.unit = 'W'
    a =
    
      scalar structure containing the fields:
    
        value = 100
        unit = W
    
    octave:39> b.value = 3
    b =
    
      scalar structure containing the fields:
    
        value = 3
        unit = s
    
    octave:40> b.unit = 's'
    b =
    
      scalar structure containing the fields:
    
        value = 3
        unit = s
    
    octave:41> a*b
    error: binary operator '*' not implemented for 'scalar struct' by 'scalar struct' operations
    





  • Other answer seems to suggest that the problem is that the same podcast can be available, depending on where and who is listening to it, with different length due to different ads injected into. Here’s my probably stupid and completely ignorant suggestion: instead of using timestamps for both begin and end of the ads segment, you could use a timestamp for the beginning, and an hash of the first part of “non-ads” segment. I’ll try to explain better:

    |----------------xxxxx--------------------|
                    ^     |___|
    

    The xxx is the ads segment, the ^ is the timestamp of the beginning of the ads, the |___| is a small duration segment (for example, 0.5 seconds) right after the ads segment. The data of that segment is hashed and used as “end ads segment indicator”.

    On the other device, with a different duration of the ads, you should start hashing it to find the corresponding segment.

    Is this doable or did I just said a bunch of idiot things?