Code Monkey home page Code Monkey logo

youcast's Introduction

YouCast

All Releases Release License

YouCast allows you to subscribe to channels and playlists on YouTube as video and audio podcasts in any standard podcast app (e.g. Overcast, iTunes, BeyondPod, etc.).

Screenshot

Features

  • Subscribe to any channel's public video uploads.
  • Subscribe to any public playlist on YouTube.
  • Get audio-only feeds (for faster downloads).
  • Sort the videos by popularity (awesome for huge channels, like TED Talks)
  • Run YouCast at home and access it from everywhere on the internet, not just your home network.
  • Limit the amount of videos in any feed (helps with users with thousands of videos).
  • Use YouCast from any device in your network: iPhone, Android, Tablet. (Just open the incoming port 22703 on your firewall and paste the URL in your podcast app)

Usage

To get a URL for a podcast:

  1. Open YouCast
  2. Enter a YouTube channel's username or playlist ID.
  3. Choose audio or video quality (the better the quality the bigger the file).
  4. Generate and copy the podcast URL.
  5. Paste the URL in your favorite podcast app.
  6. While your app is updating podcasts YouCast must be running.

Setting your own API Key

Google restricts the amount of requests you can make per day with each API key. In order to circumvent this limit, you can set your own API key.

  1. Go to the Google Developers Console.
  2. Make a new application. It can take a couple of minutes for the application to be generated by Google.
  3. Assign the Youtube Data API v3 to the application.
  4. Generate an API key for Youtube Data API v3.
  5. Add the Application name and API key in the YouCast program, then click on save.

Known Issues

  1. Explicit/restricted videos can't be downloaded (they require YouCast to login with a user)
  2. Audio feed episodes on iOS are 2X in length (second half is silent)

youcast's People

Contributors

dawidcieszynski avatar dirkschut avatar i3arnon avatar jamesqo avatar jparkerweb avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

youcast's Issues

Error Transferring?

This is the error I'm getting. I'm pretty much a novice at this, so if anyone has any ideas, I'd appreciate it.

YouCast QuiteRss snip 2

Cloud service isn't working

I don't know how to fix this issue (or if it even can be fixed) and don't have the time to invest in it.
You can still use YouCast in your local network.
Sorry.

How do you install this?

So yeah, I'm kinda clueless as to how I can install/compile the code? Could someone tell me what to do?

Getting error 400 on certain YouTube channels.

I'm getting the "bad syntax error" on some of my podcast links. My YouTube api quota is only about 2,000 requests per day, well below the 10,000 allowed. I have tried deleting and readding the feed to my podcast app as well. Any other suggestions?
Screenshot_20200514-103203_Podcast Addict

Incorrect Content-Type header

Current value is Content-Type: text/html; charset=UTF-8 which causes problems when opening links with browser. Based on other podcasts, for example ones from audioboom, the correct header must be Content-Type: application/rss+xml; charset=utf-8.

What could be wrong - WebException......

Getting an error when downloading the podcasts.
I am using version 2.11. The error for all the youtube playlists/users.

Error: "reason to fail: WebException - Unable to connect to remote Web Server! Http status code: 400 (Bad request)"

Change license to MIT

i like to user YouCast but in my project, but it is difficult to use opensource software which is under GPL 2.0. I like to kindly ask if it's possible to change the license to MIT? This would save me some trouble with bureaucracy regarding copyleft.

Regards,
Stephan

v2.2 hangs at UAC

Wanted to try the new version, but it just hangs when I try to run it, even as Administrator. Doesn't seem to want to trigger the UAC. I tried turning off UAC, but it still won't load. Any ideas?

GetUserFeed request stopped working

Running latest, v2.8
Several days ago accessing URL FeedService/GetUserFeed?userId=.... stopped working, returns an HTTP error 400 with message:

The server encountered an error processing the request. See server logs for more details.

At the same time URL FeedService/Video.mp4?videoId=... etc. works fine.

Is it only for me or another YouTube change? There is new YoutubeExplode release and the change seems channel list related, although seems minor.

Can somebody please help

I have had this software a while but still dont get the cloud service thing I want to run the rss feed from anywhere and alot of them for a project im trying to get running .
I have digital ocean server but I dont understand what im doing to get this to work.
Do i need a windows server and when the instructions say open port does that mean open a port on the firewall?
Thanks for any any help

v2.6 does not work for me as v2.1 drop in replacement.

I've been running v2.1 for several years with no issues besides #11. But v2.6 on the same Windows 7 system with same parameters results in "episode temporary unavailable" like message on an iPhone for every episode. Episodes list is updated correctly.
Testing podcast feed and episodes using wget didn't reveal anything abnormal.
Reverted back to v2.1 for now.

build instructions

Dear @i3arnon ,
I attempted to import source into a dev studio and recompile. However there is an Azure cloud service code which is not immediately recognized by dev studio and most likely not used for a stand alone application.
Would you mind providing basic rebuild instructions?
Thanks in advance.

youcast died suddenly

Hello,

hope this is still under development in some way as it's really a great utility - I've not been able to find any other way of downloading videos, which seems an intuitive thing you'd want to do for Youtube.

but - I was managing to download absolutely perfectly to beyondpod until about 6 weeks ago. despite the ip matching on my router+on YC settings+BP URLs, it seems something else changed elsewhere and since then none of my subscriptions respond to download requests.

could upload a feed update log from beyondpod i guess - or is there something else i could try pls?

Tom

Error 403

I have been running this fine for months on a local windows machine but in the last 2 days all my feeds are showing 403 errors. The feed shows new videos as they are release but i can't view or download them without a 403 error.
Anything i can look at to resolve?

Error 403

I've just switched to v2.2 and have transitioned all my subscriptions to use the youcast.cloudapp.net address. All but one throws an error 403. However, the error 403 does not occur when I use my internal Youcast server.

Not sure if you want me to post the username/xml file here for the youtube channel this fails on or I should PM it to you.

Mac Port

How difficult would it be to create a mac version for OSX in the form of a .dmg? Thanks!

Podcast managers reject the link generated for playlists

The Apple podcast player [goo.gl] and Overcast [goo.gl] reject the link generated for playlists. The generated link was http://192.168.1.219:22703/FeedService/GetUserFeed?userId=PLsjYkd6fRiB6ay7ycFVZ6VNiyrwgdFiu-&encoding=MP4_720p&maxLength=10&isPopular=False. This is the playlist I'm using as an example, it's public [All Sports. One video, each sport - youtube.com]. However, all other playlists I've tried don't work either

Creating podcasts for channel uploads works fine; it's only playlists with the problem

How can I get the systeme error logs

Hello
how can I get the application log? Indeed, in same cases, I receive the error : The server encountered an error while processing the request. See the server logs for more information.
(see picture below)
Capture

Web or Linux version?

What a great piece of software!

I am on Linux. Is there any chance to get a web or Linux version?

Thanks!

Request Error for youtube channel

Hi,
i got some weird error for one specific youtube channel.
It just throws a request error in chrome and doesnt really show anything in any error logs or event logs for me.
And idea what it could be?
The youtube channel is Gronkh
The url im using

*/FeedService/GetUserFeed?userId=Gronkh&encoding=MP4_720p&maxLength=201&isPopular=False

Without any limit it crashes, and by today. If i set a limit less than 200 its fine. If i set the limit to 201 i get a request error.
Can you help me on this?

Other channels have been working flawless. Thumbs up for the great work :)

kind regards
Yu

"unable to open its ChannelListener

Im getting the following error when changing the api key to my own.
image

it seems like its communicating because im getting counts on the api key.
image

M4A feed - 128kbps : OK / 192kbps : Error

Great Thanks to i3aron.
YOUCAST is Great Application for me.
......

Some Video has Error on M4A feed.

See this Link.
https://goo.gl/6SDbDo
(This capture is windows explorer screen capture about downloaded youtube MP4 and M4a files.)

[LIST]

  • Video ID - File Name - Audio Bitrate - M4a Feed OK
  • y-49TXhDFmQ - A01.mp4 - 125kbps - O
  • xWNx0jgbKoM - A02.mp4 - 192kbps - X
  • gCH70s0hXGw - A03.mp4 - 191kbps - X
  • SY5cGxG0qnk - A04.mp4 - 125kbps - O
  • ME8pdL6mi5g - A05.mp4 - 125kbps - O
  • DWYI6K5Hkog - A06.mp4 - 125kbps - O
  • P-J_Qc3pzbQ - A07.mp4 - 125kbps - O
  • 5A73ZpjFhik - A08.mp4 - 191kbps - X
  • MVpTpPh-uDo - A09.mp4 - 125kbps - O
  • oVgiA0XgrYg - A10.mp4 - 125kbps - O
  • 44r7a-oziQc - B01.mp4 - 192kbps - X
  • b6TZRywav_M - B02.mp4 - 191kbps - X
  • drJYN88q4uk - B03.mp4 - 125kbps - O
  • bCv1tmlZfRE - B04.mp4 - 125kbps - O
  • MLrJquCv4To - B05.mp4 - 125kbps - O

[FEED]
A01 : OK
youcast.cloudapp.net/FeedService/Audio.m4a?videoId=y-49TXhDFmQ

A02 : Error
youcast.cloudapp.net/FeedService/Audio.m4a?videoId=xWNx0jgbKoM
.
.
.

  • MP4 with 128kbps audio : M4A Feed is OK.
  • MP4 with 192kbps audio : M4A Feed has Error.

I think there are some differeces between 128kbps and 192kbps..

...

anyway, Thanks about this application.
Best regards..

Failed Downloads

I have noticed that any youtube videos that are blocked for various reasons such as potentially offensive just error out in the podcasts download. I use YouCast with MusicBee to manage my youtube podcasts. It always says failed and when I look up the video in question it gives me the confirm you wish to continue screen. I noticed it changes the youtube url to end with "&has_verified=1" without quotations. Only problem with just adding that I see is these videos always say sign in to unblock and adding &has_verified=1 to the end wont bypass it if you are not logged in. I am not sure there is an easy way around this issue that wouldn't involve adding login to youtube support. Anyway keep up the great work it is a highly useful program!

Update:
I did notice that going to www.TubeOffline.com and entering the video in question with &has_verified=1 at the end it can be downloaded from there without issues. Perhaps its possible to just add that to blocked videos or all videos to get rid of the errors?

Provided server not working

The provided server doesn't with for me anymore. It used to work just fine but suddenly it stopped working a couple of days ago. This is both when visiting a feed page in the browser and with my podcast app.

Support for individual video thumbnails

I have noticed that some podcast feeds apply different thumbnails to each individual episode.
While not a necesary feature, it would be really useful to have the individual thumbnails of the videos in order to distinguish the videos from a glance.

Links with access denied

I created an audio feed for this channel and subscribed using Pocket Casts app. For some reason, the app cannot download some links (videos with length greater than 40 minutes), because it is forbidden. For example:

<item>
<guid isPermaLink="false">374SgPGPtjo</guid>
<link>http://www.youtube.com/watch?v=374SgPGPtjo</link>
<title>Decrépitos AO VIVO - Vortando das Férias</title>
<description>
Bom memento, país muito louco da América do Sul (Brasil). No ar mais um AO VIVO do popcast mais coisado da podosfera brasileira!! Pra participar pelo Twitter basta usar a hash hash #VivaldãoDaMassa http://decrepitos.com Montagem por @Yanyys_ - http://twitter.com/Yanyys_
</description>
<pubDate>Sat, 21 Jan 2017 00:38:41 Z</pubDate>
<a10:content type="text"/>
<enclosure type="audio/mp4" url="http://youcast.cloudapp.net:80/FeedService/Audio.m4a?videoId=374SgPGPtjo"/>
</item>

I tried to access http://youcast.cloudapp.net:80/FeedService/Audio.m4a?videoId=374SgPGPtjo using Chrome and it says

You don't have authorization to view this page.

The server encountered an error processing the request. See server logs for more details.

I get this error every once in a while when my podcast catcher application (Downcast) tries to download a new "episode" on some of my feeds.

How does one enable logging to see what is really going on and possibly troubleshoot?
I don't see any log files in the application directory and the config file doesn't have anything in it that screams turn me on for logging.

Thanks.

App crashes when creating an feed

I installed your app to get an audio podcast feed from an YouTube channel. I extracted it and ran it as admin but it always crashes when I try to generate the feed. It doesn't matter if I try it with the name or an playlist id. It also doesn't matter which quality I choose or if I set an max item number. I noticed that there was a wrong server ip, I guess it should be the ip of the machine it is running which is 192.168.2.109. I changed this but it still crashes. It is running on Windows 7 with all updates and .NET 4.x is installed.

Any ideas what's wrong? Do you need further informations? If yes, just tell me what and where I can find it.

Linux support

Dear @i3arnon,

Thank you for this promising tool!

Do you have any plans of supporting Linux?

Thankfully,

~Robert

Cloud service not working (Azure issue?)

Update (7/13/19): Seems to be working now.
Update 2 (7/19/19): After a day or two of working, it stopped working again, My last successful feed update was on the 16th, and my last successful download was on the 13th or 14th.
The message seems to have changed: This time, PodcastAddict says "UnknownHostException - Unable to resolve host "youcast.cloudapp.net": No address associated with hostname."

First, thanks for the great program. I've been using it for a while, and it's been really useful (especially when I know I'm going to be traveling or otherwise have limited/no internet connection for a while, but know in advance so I can download videos).

For the past couple of weeks, I've been getting errors when trying to use the cloud service URLs. I've had similar issues temporarily before, and in one of the closed issues, I see that you mentioned Azure problems. Is that the cause this time? Is it a temporary issue, or is the cloud service no longer going to be an option? I can switch over to using my own computer as the server, if needed, but I didn't want to bother with that if this issue is only temporary.

Error messages I get:

  • PodcastAddict: ConnectException - Failed to connect to youcast.cloudapp.net/0.0.0.0:80
  • Firefox: Hmm. We’re having trouble finding that site. We can’t connect to the server at youcast.cloudapp.net.
  • Chrome: This site can’t be reached youcast.cloudapp.net’s server IP address could not be found.
    ERR_NAME_NOT_RESOLVED
  • IE: Can’t reach this page...
    • More information
      • There was a temporary DNS error. Try refreshing the page.
      • Error Code: INET_E_RESOURCE_NOT_FOUND

Due to the mention of the DNS error, I tried specifying different DNS settings in Windows (Cloudflare, Google, and just the automatic settings), but that didn't seem to make a difference.

Unable to download in v2.6

I was unable to get any episodes of any channel to download. Kept returning "file not found". Switched back to v2.5 for now.

App closes when minimizing the window

Hey, just tested out your app and it's really great! For some reason though, it closes whenever I try minimizing the window; I can see it's still alive in Task Manager but its icon disappears from the taskbar. Could you look into it?

-James

Self-hosting?

Is there any chance I could self-host this wonderful app? What is your own cloud setup?

some videos can't be downloaded by youcast but youtube-dl has no problems.

wget -S 'http://my-youcast-pc:22703/FeedService/Video.mp4?videoId=xxxxxxxxx&encoding=MP4_360'
HTTP request sent, awaiting response... 
  HTTP/1.1 400 Bad Request
  Content-Length: 1647
  Content-Type: text/html
  Server: Microsoft-HTTPAPI/2.0
  Date: Mon, 30 Dec 2019 04:32:26 GMT
2019-12-29 23:32:26 ERROR 400: Bad Request.

There are no logs or reasons for a "Bad Request". How to debug the error? Sometimes youtube makes video available for youcast later, sometimes it is permanently not available.
Youtube-dl is always able to download the same video.

$ youtube-dl -f 18 xxxxxxxxx
[youtube] xxxxxxxxx: Downloading webpage
[youtube] xxxxxxxxx: Downloading video info webpage
[download] Destination: video_name-xxxxxxxxx.mp4
[download] 100% of 11.33MiB in 00:00
$

Random(?) videos not downloading

I am also experiencing what seems to be random videos which fail to download.

Without logs I am having trouble seeing what the errors are.
But I have some information and examples for you.

I am seeing this issue in YouCast 2.2 - 2.7. On feeds that have previously worked. I am using iTunes to watch videos. Although I can replicate the errors using a web browers pointing to the url, pointing to my local YouCast which I have running on 192.168.86.33.

YouTube videos: https://www.youtube.com/channel/UC8fg8L4X7qpQdHJgxpM4qxw/videos
A working video from the channel above through YouCast:
http://192.168.86.33:22703/FeedService/Video.mp4?videoId=tOVOwOoUdxg&encoding=MP4_720
A non-working video from the channel above through YouCast:
http://192.168.86.33:22703/FeedService/Video.mp4?videoId=MXhviKutyRY&encoding=MP4_720

From a browser, if I use the working and non-working links above -
working - the link is redirected to the YouTube video as: https://r6---sn-5uaezn6r.googlevideo.com/videoplayback?expire=1578002309&ei=JRMOXuXpHIyPzLUPiLGLoA4&ip=47.4.194.96&id=o-ALtqOLbESLGIoz75cbZUDWxzI8Q0pDSFcCIuvFUmM_ls&itag=22&source=youtube&requiressl=yes&mm=31%2C26&mn=sn-5uaezn6r%2Csn-p5qs7ner&ms=au%2Conr&mv=m&mvi=5&pl=20&initcwndbps=2116250&mime=video%2Fmp4&ratebypass=yes&dur=225.814&lmt=1574722275592927&mt=1577980618&fvip=6&fexp=23842630%2C23860862&c=WEB&txp=2316222&sparams=expire%2Cei%2Cip%2Cid%2Citag%2Csource%2Crequiressl%2Cmime%2Cratebypass%2Cdur%2Clmt&sig=ALgxI2wwRQIhAJHTfGOHrIClL1UDTcdu_XHX-cFTvf6h16tFNCqJbgmeAiBcixfsQHkMwsYkRQdbcirQssUkv4V_hJwBBnbOzI0xqQ%3D%3D&lsparams=mm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Cinitcwndbps&lsig=AHylml4wRAIgHYVqWhJAKvBZDiUo3s1kS10iZgVjNh3RH6k_N4e4kw0CIDVwTDM1vxG9QRXkja7haE4cTNigBqhVwJeSaoE7Dt0z

non-working:
I do not get the redirected link and only see the following output.
This 192.168.86.33 page can’t be foundNo webpage was found for the web address: http://192.168.86.33:22703/FeedService/Video.mp4?videoId=MXhviKutyRY&encoding=MP4_720

As I cannot see the logs any further, I cannot see if there are problems in generating the links properly, or if YouTube is blocking the content somehow, or something else.

Install for version 2.11

I can see version 2.11 has been recently posted here. I can only see the source code as available for download, I can't see the installer?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.