Code Monkey home page Code Monkey logo

Comments (3)

chapmanjacobd avatar chapmanjacobd commented on May 17, 2024 1

I added this to my program Library. Here is an example of how you can use it:

$ pip install xklb
$ lb tubeadd test.db --extra --subs 'https://www.youtube.com/watch?v=dnp9baEtdFk'
Importing playlist-less media https://www.youtube.com/watch?v=dnp9baEtdFk

[https://www.youtube.com/watch?v=dnp9baEtdFk]: Getting extra metadata     

You can search like this:

$ lb search test.db dashi 
12 captions
https://www.youtube.com/watch?v=dnp9baEtdFk
   00:04 and today I'm going to share how to make dashi, what's dashi? you may ask. japanese soup stock dashi is typically made from fish such as dried bonito flakes or anchovies. using kombu and dried shiitake mushrooms we
         use dashi in many japanese recipes. how to make five most standard types of dashi. kombu dashi which is made with kelp and it's vegan. katsuo dashi made with shaved dried bonito flake called katsuobushis. awasa
         dashi which is the combination of kombu and katsuobushi. iriko dashi made with anchovies. and lastly shiitake dashi may with driedshiitake mushrooms and this is another vegan dashi. in this video I'll show you how
         to make dashi from scratch
   01:25 for those of you who prefer to save time I also show you how to use dashi powder and dashi packet. kombu dashi. do not wash or wipe off white powdery substance mannitol it contributes to the umami flavor in dashi.
         option 1. cold brew kombu dashi
   02:00 option 2. stovetop kombu dashi
   02:12 meanwhile, clean the dashi by skimming the surface. just before the dashi starts boiling gently, remove kombu from the pot. awase dashi. start with kombudashi
   02:43 once the dashi is boiling, reduce the heat, simmer for just 30 seconds, and turn off the heat. strain the dashi through a fine-mesh sieve over a bowl or measuring cup. awase dashi is ready to use. katsuo dashi
   03:22 once the dashi is boiling, reduce the heat, simmer for just 30 seconds, and turn off the heat. strain the dashi through a fine-mesh sieve over a bowl or measuring cup. katsuo dashi is ready to use. iriko dashi
   04:29 remove from the heat and drain into a fine-mesh sieve over a bowl or measuring cup iriko dashi is ready to use. shiitake dashi
   05:08 option 2 . make shiitake dashi
   05:43 dashi packet
   05:56 in a medium saucepan, add 2 cups water and one dashi packet
   06:17 discard the packet and dashi is ready to use. dashi powder
   06:34 once boiling, add 1 tsp dashi powder. stir well and turn off the heat, dashi is ready to use

There is even a feature to open mpv to the video at the timestamp of all the relevant captions:

$ lb search test.db shiitake --open

And it should work for local files also. But the command to scan locally is different:

lb fsadd movies.db --scan-subtitles './My Videos/'

from yt-fts.

NotJoeMartinez avatar NotJoeMartinez commented on May 17, 2024

I've added this in Search individual videos #39

the syntax:

yt-fts search "SEARCH_TEXT" --video [VIDEO_ID]

from yt-fts.

abe-101 avatar abe-101 commented on May 17, 2024

Thanks!
Will take a look

from yt-fts.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.