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: Enhancements and Improvements #1238

Open
addy005 opened this issue Oct 4, 2024 · 2 comments
Open

Feature Request: Enhancements and Improvements #1238

addy005 opened this issue Oct 4, 2024 · 2 comments

Comments

@addy005
Copy link

addy005 commented Oct 4, 2024

Hello! First of all, I want to say how much I appreciate your work on this tool. It's incredibly useful, and I’ve been using it as a private streaming service due to its fast performance. I have a few suggestions for potential upgrades that would make the tool even better:

1. URL Upload Reliability

The URL upload feature doesn't work consistently for me. It would be great if you could improve its reliability by incorporating tools like curl, requests, or aria2 as alternative methods for handling the uploads.

2. Copy Link Button with TinyURL Integration

A "Copy Link" button would be really helpful. This would allow users to select multiple files and copy their direct download links to the clipboard. Additionally, implementing a TinyURL shortener would make large links easier to share.

Here’s an example of how the TinyURL functionality could be added:

function shortenURLs(urls, copyToClipboard) {
    const shortUrls = [];
    let completed = 0;
    urls.forEach(url => {
        // TinyURL API request to shorten each URL
        fetch(`https://tinyurl.com/api-create.php?url=${encodeURIComponent(url)}`)
            .then(response => response.text()) // Parse response as text
            .then(shortUrl => {
                shortUrls.push(shortUrl);  // Collect the shortened URL
                completed++;  // Track how many URLs are shortened
                if (completed === urls.length) {  // Check if all URLs are processed
                    if (copyToClipboard) {
                        copyToClipboard(shortUrls.join('\n'));  // Copy all shortened URLs to clipboard
                    } else {
                        const blob = new Blob([shortUrls.join('\n')], { type: 'text/plain' });
                        const link = document.createElement('a');
                        link.href = URL.createObjectURL(blob);  // Create a downloadable text file
                        link.download = 'short-urls.txt';
                        link.click();  // Trigger file download
                    }
                }
            });
    });
}

3. Video Player Upgrades

I've been using the tool primarily for video streaming, but there are a few issues I'd love to see addressed:

  • 4K and Large Video Playback: Many 4K videos and movies larger than 2GB are not playing showing grey screen—some of them are being downloaded instead of streamed.
  • Shareable Stream Links: It would be helpful if we could generate a stream link that allows others to play the video directly without needing to enter login.
  • Improved Format Support: The player currently struggles with certain formats, particularly larger files and formats like MP4,MKV and TS. Tools like Bhadoo Index for Google Drive support files as large as 90GB+, so having similar support would be fantastic. maybe for that it need encdoing or something im not sure but i guess you know about that.
  • Folder Streaming: Could you add the ability to stream entire folders? This would allow me to share a folder link where others can watch all videos in that folder without needing to log in.

Thanks again for your hard work, and I hope these suggestions are helpful! love your work.😊


@prasathmani
Copy link
Owner

Thank you so much for your kind words and detailed suggestions for enhancing the tool. I truly appreciate your feedback and I’m glad to hear that you find the tool helpful.

@addy005
Copy link
Author

addy005 commented Oct 25, 2024

please remind me when you push these updates
also add some options here
image
like (delete) (copy link)
also add add to fav or mark any file button

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

2 participants