FreeTube icon indicating copy to clipboard operation
FreeTube copied to clipboard

[Feature Request]: Add dedicated shorts tab

Open ghost opened this issue 2 years ago • 3 comments

Guidelines

  • [X] I have searched the issue tracker for a feature request that matches the one I want to file, without success.
  • [X] I have searched the documentation for information that matches the description of the feature request I want to file, without success.

Problem Description

Since i kinda love youtube shorts, and also since it also owned by google. I dont get to be anonymous watching these youtube shorts since you know its owned by google. I think this could be good for FreeTube if you added this.

Proposed Solution

I dont whats the solution yet, i dont even know programming is. So yeah.

Alternatives Considered

none.

Issue Labels

new feature

Additional Information

No response

ghost avatar Aug 13 '22 03:08 ghost

U can already watch shorts in FreeTube

U can already watch shorts in FreeTube

They probably mean the YouTube Shorts page (ex: https://www.youtube.com/shorts/{videoId} which behaves a lot like a tiktok page with infinite scrolling of short form content only.. image

ChunkyProgrammer avatar Aug 16 '22 01:08 ChunkyProgrammer

Oh didnt know that that was a thing now. Edited the title and will reopen.

This issue is stale because it has been open 28 days with no activity. Remove stale label or comment or this will be closed in 7 days.

github-actions[bot] avatar Oct 07 '22 02:10 github-actions[bot]

This issue is stale because it has been open 28 days with no activity. Remove stale label or comment or this will be closed in 7 days.

github-actions[bot] avatar Nov 05 '22 02:11 github-actions[bot]

Just a thought about the implementation of this. This tab should just be like your subscription tab but with all shorts together from all your subscriptions

It'd also be helpful if a channel can be filtered by Shorts only. I don't care to watch all the videos of a certain channel but I would like to see their Shorts. Either as a new tab or some kind of filter:

Victor239 avatar Nov 12 '22 10:11 Victor239

This issue is stale because it has been open 28 days with no activity. Remove stale label or comment or this will be closed in 7 days.

github-actions[bot] avatar Dec 11 '22 02:12 github-actions[bot]

Bump

Victor239 avatar Dec 11 '22 03:12 Victor239

I've pulled the repo and have been looking at the code & architecture. I would be willing to take a try at creating a dedicated "Shorts" tab on the Channel.vue . I think I can have something presentable early next week.

KarateCowboy avatar Jan 11 '23 20:01 KarateCowboy

@KarateCowboy Some info: yt-channel-info will need to be updated (there hasnt been a new release in a while so you could set the version to a specific commit) I believe the command would be: yarn add git://github.com/freetubeapp/yt-channel-info.git#1e80fc79bdc86355ca48425f03bc8a64d7451133 (This should add getLiveStreams and getShorts to the local api)

Invidious has two new endpoints: /channels/{channelId}/streams for live streams And /channels/{channelId}/shorts for shorts

I believe there are settings to hide shorts and live content too (not 100% sure about hiding shorts) so make sure that it isn't displayed and the code isn't ran if it's disabled 🙂. Let us know if you need any more help

ChunkyProgrammer avatar Jan 11 '23 20:01 ChunkyProgrammer

Great! That will be super helpful. Understanding the general application layout was pretty easy. The next part to grok is those APIs and this will save me time reverse engineering and head scratching.

KarateCowboy avatar Jan 11 '23 20:01 KarateCowboy

I have a basic shorts tab and play view working using the ytch module. Now I will try to make it work with Invidious

KarateCowboy avatar Jan 16 '23 04:01 KarateCowboy

@ChunkyProgrammer

I created a PR for feedback. The basic Shorts tab is implemented. Looking for feedback about localization or any other things I need to know. I am sure there are some loose ends of which I am unaware.

KarateCowboy avatar Jan 18 '23 20:01 KarateCowboy

As a less ideal temporary solution, by RSS the shorts are included as a normal video, and are added by freetube.

ghost avatar Feb 20 '23 08:02 ghost

cool - merge.

wweevv-johndpope avatar Mar 21 '23 02:03 wweevv-johndpope

As for the original requested feature

They probably mean the YouTube Shorts page (ex: https://www.youtube.com/shorts/{videoId} which behaves a lot like a tiktok page with infinite scrolling of short form content only.. image

We wont implement this random tiktok like doomscroller feature. Shorts tab on the channel page is already implemented and is going to be implemented on the subscription page