mirror of
https://github.com/tubearchivist/docs.git
synced 2025-07-12 12:08:16 +00:00
Merge pull request #67 from oblivioncth/man_sub_fix
fix: Country/language code mixup for subtitles
This commit is contained in:
commit
e3ce39c8b3
@ -65,7 +65,7 @@ Clicking the play button on the thumbnail will open the in-place player at the t
|
|||||||
|
|
||||||
Narrow down your search with these secondary keywords:
|
Narrow down your search with these secondary keywords:
|
||||||
|
|
||||||
- `lang`: Search for matches only within a language. Use the same two letter ISO country code as you have set on the settings page.
|
- `lang`: Search for matches only within a language. Use the same two letter ISO 639 language code as you have set on the settings page.
|
||||||
- `source`: Can either be *auto* to search through auto generated subtitles only or *user* to search through user uploaded subtitles only.
|
- `source`: Can either be *auto* to search through auto generated subtitles only or *user* to search through user uploaded subtitles only.
|
||||||
|
|
||||||
**Example**:
|
**Example**:
|
||||||
|
@ -71,7 +71,7 @@ If the video you are trying to import is not available on YouTube any more, **Tu
|
|||||||
|
|
||||||
- The file `<base-name>.info.json` is required to extract the required information.
|
- The file `<base-name>.info.json` is required to extract the required information.
|
||||||
- Add the thumbnail as `<base-name>.<ext>`, where valid file extensions are *.jpg*, *.png* or *.webp*. If there is no thumbnail file, **Tube Archivist** will try to extract the embedded cover from the media file or will fallback to a default thumbnail.
|
- Add the thumbnail as `<base-name>.<ext>`, where valid file extensions are *.jpg*, *.png* or *.webp*. If there is no thumbnail file, **Tube Archivist** will try to extract the embedded cover from the media file or will fallback to a default thumbnail.
|
||||||
- Add subtitles as `<base-name>.<lang>.vtt` where *lang* is the two letter ISO country code. This will archive all subtitle files you add to the import folder, independent from your configurations. Subtitles can be archived and used in the player, but they can't be indexed or made searchable due to the fact, that they have a very different structure than the subtitles as **Tube Archivist** needs them.
|
- Add subtitles as `<base-name>.<lang>.vtt` where *lang* is the appropriate two letter ISO 639 language code. This will archive all subtitle files you add to the import folder, independent from your configurations. Subtitles can be archived and used in the player, but they can't be indexed or made searchable due to the fact, that they have a very different structure than the subtitles as **Tube Archivist** needs them.
|
||||||
- For videos, where the whole channel is not available any more, you can add the `<channel-id>.info.json` file as generated by *youtube-dl/yt-dlp* to get the full metadata. Alternatively **Tube Archivist** will extract as much info as possible from the video info.json file.
|
- For videos, where the whole channel is not available any more, you can add the `<channel-id>.info.json` file as generated by *youtube-dl/yt-dlp* to get the full metadata. Alternatively **Tube Archivist** will extract as much info as possible from the video info.json file.
|
||||||
|
|
||||||
### Some notes:
|
### Some notes:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user