Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request]: Resolve Channel ID for hidden channels #4181

Closed
3 tasks done
LangLangBart opened this issue Oct 18, 2023 · 1 comment · Fixed by #4230
Closed
3 tasks done

[Feature Request]: Resolve Channel ID for hidden channels #4181

LangLangBart opened this issue Oct 18, 2023 · 1 comment · Fixed by #4230

Comments

@LangLangBart
Copy link

Guidelines

  • I have searched the issue tracker for open and closed issues that are similar to the feature request I want to file, without success.
  • I have searched the documentation for information that matches the description of the feature request I want to file, without success.
  • This issue contains only one feature request.

Problem Description


  • the description suggests a complete name match, so I began using only the channel IDs instead of their names to avoid typos or potential name changes
  • however, after adding about ~35 entries, it became difficult to identify the channels

  • currently, the workaround is to run a command to reveal the channel name and then remove the channel I no longer wish to block, which is cumbersome
# macOS
for i in $(jq -r 'select(._id=="channelsHidden").value | fromjson[]' ~/Library/Application\ Support/FreeTube/settings.db); do
	echo "$i"
	curl -s "https://www.youtube.com/feeds/videos.xml?channel_id=$i" |
		sed -n 's|.*<name>\(.*\)</name>.*|\1|p' |
		sed q
done

# UCeeFfhMcJa1kjtfZAGskOCA
# TechLinked
# UCXuqSBlHAE6Xw-yeJA0Tunw
# Linus Tech Tips
# UCVT1tPkR-fUVlO652EcO3ow
# CBS Sunday Morning
# UC4qhj5cnX0MkbwXQ5vlI1NQ
# ...

Proposed Solution

  • when adding a new entry, verify the channel ID
    • if valid, append the channel's name in parentheses after the ID

    • example:

UCeeFfhMcJa1kjtfZAGskOCA (TechLinked)
  • an even fancier approach would be to display the image of the hidden channel
    • this would allow for quicker identification of the channel by its icon, rather than by text

Alternatives Considered

  • hovering over the channel ID displays the name, which is definitely better than the status quo, but hovering over each item takes time

GPT4 what do you suggest?

Note

You could consider implementing a feature that allows for the addition of a channel name or description along with the channel id when adding to the list. This way, you can easily identify the channels. Also, consider adding a search or filter functionality to help find channels quickly.

Another alternative could be to automatically fetch and store the channel name from the channel id when you add it to the list. If this is not possible, you could consider implementing a tagging system where you can add tags to each channel id for easy identification.

Issue Labels

display more information to user, ease of use improvement, improvement to existing feature

Additional Information

Thanks to @petaded for dedicating time to program the original feature, and to the entire FreeTube team for providing such a great overall user experience for video viewing.

@efb4f5ff-1298-471a-8973-3d47447115dc

@Benjababe just wanted to say that i would like to thank you for your much appreciated contributions!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants