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

App request for pipe-viewer - TUI youtube player #2328

Open
4 tasks done
ItsTerm1n4l opened this issue May 16, 2023 · 6 comments
Open
4 tasks done

App request for pipe-viewer - TUI youtube player #2328

ItsTerm1n4l opened this issue May 16, 2023 · 6 comments

Comments

@ItsTerm1n4l
Copy link

What is the name of the app?

pipe-viewer

(Optional) Where is the app hosted?

https://github.com/trizen/pipe-viewer

About the app

pipe-viewer is a command line (and gtk) tool for playing youtube videos, it has playlist, no-video, and queueing support. it uses mpv or vlc to play videos.

pipe-viewer is a great program i have tested raspberry pi 4 and while it is fairly easy to install i think a pi-apps installer would be really helpful and would love to see created.

Thank you for your great work!

Confirmations

@theofficialgman
Copy link
Collaborator

theofficialgman commented May 16, 2023

@ItsTerm1n4l can you please explain what the difference is between the two projects both being updated and seem very similar by trizen.
https://github.com/trizen/youtube-viewer
https://github.com/trizen/pipe-viewer

I don't really understand but trizen states that pipe-viewer is a fork straw-viewer which itself was a fork of youtube-viewer. yet straw-viewer is deprecated (archived on github) and both pipe-viewer and straw-viewer are active

You opened an issue on pi-apps already for trizen's youtube-viewer but it was closed due to needing a youtube api key

#2296
https://github.com/trizen/youtube-viewer

@theofficialgman
Copy link
Collaborator

ah I see. pipe-viewer parses the youtube website for its information
youtube-viewer uses the youtube-api and hence needs a api key

@Botspot
Copy link
Owner

Botspot commented May 16, 2023

@ItsTerm1n4l, you may not know the answer to this question, but is there a way to force a lower resolution when playing the video? I was able to search and play a YT video using pipe-viewer without issue, but the mpv player spends more time loading than it spends playing. It is around 20 seconds of load time for every 5 seconds of playback. For obvious reasons, this is not ideal. Is there a simple way to reduce the video resolution so that it plays smoother?

@ItsTerm1n4l
Copy link
Author

ItsTerm1n4l commented May 16, 2023

Sry for the late response,
@theofficialgman The difference between pipe-viewer and youtube-viewer is that pipe-viewer doesnt need an API key whereas youtube-viewer does.
@Botspot yes you can reduce the video resolution or just play the audio, you can configure this in the config file (I had to add .txt to upload it) if you want to only stream audio you need to use the -n switch
youtube-viewer -n

@ItsTerm1n4l
Copy link
Author

This is interesting though because I have used youtube-viewer with video without a lower resolution with mpv on my Raspberry Pi 4 and not issues.

@ItsTerm1n4l, you may not know the answer to this question, but is there a way to force a lower resolution when playing the video? I was able to search and play a YT video using pipe-viewer without issue, but the mpv player spends more time loading than it spends playing. It is around 20 seconds of load time for every 5 seconds of playback. For obvious reasons, this is not ideal. Is there a simple way to reduce the video resolution so that it plays smoother?

I usually just stream audio in the background which it can do fine because it is so fast and lightweight.

@ItsTerm1n4l
Copy link
Author

what do you guys think?

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

No branches or pull requests

3 participants