Channels Announce (13-11-11)

For help and support with Universal Media Server
Forum rules
Please make sure you follow the Problem Reporting Guidelines before posting if you want a reply
User avatar
SharkHunter
Developer
Posts: 648
Joined: Fri Jun 01, 2012 9:36 pm

Re: Channels Announce (13-02-27)

Post by SharkHunter »

Hi,

I just uploaded Channels 2.19. It contains a whole bunch of new features and it is ONLY compatible with UMS 2.6+
So an upgrade is needed. On the other hand you get new features. Like support for the new Mega. If your on windows it should be enough to download he new 2.19 jar
and then use the GUI to update all channles/scripts.

For the linux user....you should install:
pycrypto (do apt-get install pycrypto)
requests (do pip install requests)
URLObject (do pip install URLObject)

Other things to note is support for opensubtitles (agian UMS 2.6 needed) and some Channel updates...
We reject: kings, presidents and voting.
We believe in: rough consensus and running code.
umsfan
Posts: 10
Joined: Sat Mar 02, 2013 6:53 am

Re: Channels Announce (13-03-30)

Post by umsfan »

What is the purpose of Pywin.zip on Channels web page? How do you install those python files included with Pywin.zip?
Thanks
UMSFAN
User avatar
SharkHunter
Developer
Posts: 648
Joined: Fri Jun 01, 2012 9:36 pm

Re: Channels Announce (13-03-30)

Post by SharkHunter »

umsfan wrote:What is the purpose of Pywin.zip on Channels web page? How do you install those python files included with Pywin.zip?
Thanks
UMSFAN
That is some new python modules that are needed.
Open up the Channels GUI (from the Plugin Mgmt tab) and press "Install/Update" and it (along with all new channels) should be installed.
For linux users read previous post
We reject: kings, presidents and voting.
We believe in: rough consensus and running code.
User avatar
SubJunk
Lead Developer
Posts: 3707
Joined: Sun May 27, 2012 4:12 pm

Re: Channels Announce (13-03-30)

Post by SubJunk »

It has also been updated in the UMS Plugin Management tab
User avatar
S7eele
Posts: 75
Joined: Thu Jun 07, 2012 8:12 am

Re: Channels Announce (13-03-30)

Post by S7eele »

SH,

You must be getting tired of this but I am still having problems with the GUI installer for Channels. I have yet to experience a successful install. This time around I performed a clean install of UMS 2.6.2. I then installed the MOVIEINFO plugin. It appeared after switching tabs, didn't have to restart, not sure that matters. After that I tried using the UMS GUI for plugin installs to install Channels. I did some looking before exiting and saw very quickly that not all of the directories and channels were there. None of the .ch files downloaded the first two tries (captured in logs attached) and I didn't see the extras folder structure I am used to. This means I saw no bin directory either. I then decided to look at the logs and I saw it errored when downloading PMSEncoder. These are the logs I attached. I then shut UMS down, manually copied PMSencoder into plugin directory, started UMS and opened the Channel plugin dialog box and pressed Install/Update. I still don't see the extra directory structure I am used to or any sign of a bin directory. I will be trying this again later to see if it might just be that there is a problem with git right now. Thought I would attach the logs just so you could check.

Regarding a manual install until this is done:

1) Should I still see a bin directory with rtmpdump.exe, youtube-dl.exe and curl.exe and if so where should it be located (extras\bin)?
2) For the three files listed above (perl and python too?), when I started a long time ago all of these components were installed separately or independently. Is it okay to continue using the standalone versions or is it now required to use what is installed by Channels?
3) Thought of this one after I went to your google code page to download copies of everything. I understand that the real problem here is that the built-in GUI based plug-in installer will not work properly for me when installing Channels. With that said, if I am forced into a manual install should I be grabbing your stuff from git or google? Not real code saavy so hope you get what I am asking.
4) Again, while downloading updated files from your google code page, I came across the pywin.zip file and remembered your answer to the question, what is it? Remaining question though, where does it need to be installed. As I say this I realize I haven't even opened it to see if there is a readme or if it might install to a specific path. Apologies if that is the case, otherwise please explain where the contents of this .zip file should be placed, in other words, what path should be used?

Kind of a general question but how difficult would it be to add some type of install verification routine to the plugin installer? Something to say that it has completed properly.

Thanks and Peace!
Attachments
ums_dbg_2x Channel Install Fail @ PMSEncoder download from GIT.zip
(12.64 KiB) Downloaded 520 times
Peace!
TheRec
Posts: 8
Joined: Sat Apr 27, 2013 10:57 pm

Re: Channels Announce (13-03-30)

Post by TheRec »

It's not possible to install Channels 2.19 from the Plugins tab right now, there seems to be a problem while downloading PMSEncoder, a HTTP 403 error.

Code: Select all

DEBUG 2013-04-27 12:54:01.599 [Thread-23] Installing plugin Channels type 1
DEBUG 2013-04-27 12:54:01.892 [Thread-23] fetch file http://sharkhunter-shb.googlecode.com/files/tv_plug_219.jar
DEBUG 2013-04-27 12:54:01.892 [Thread-23] fetch file http://cloud.github.com/downloads/chocolateboy/pmsencoder/pmsencoder-1.6.3.jar
DEBUG 2013-04-27 12:54:02.061 [Thread-23] An error occurred when trying to install the plugin: Channels
DEBUG 2013-04-27 12:54:02.061 [Thread-23] Full error: java.io.IOException: Server returned HTTP response code: 403 for URL: http://cloud.github.com/downloads/chocolateboy/pmsencoder/pmsencoder-1.6.3.jar
Is there any way to install Channels manually? Every time I installed it with the auto-installer I couldn't get it to work, just like S7eele, it seems broken this way.

Back when there was not this 403 error, the closest I could get to make it work was when all the components were installed and I forced the path to youtube-dl to a path without any space in them (Windows), and updating youtube-dl.exe (because the version provided wouldn't work if I used it manually... and the updated version is working) but at this point, looking at the log and try to use the same command line than the one issued to download the YouTube video I figured that the ID of the video was nowhere to be found so it's not surprising that it would fail... so how exactly am I supposed to install Channels, because clearly the Plugin tab is not working.

One suggestion though for the auto-install, you should list every thing that should be downloaded and tell if it was successfully downloaded or not, and where it should have been downloaded to (local path) so we could download things manually if it ever fails, right now it fails after PMSencoder which is the second one to get downloaded (it seems) and stops right there without trying to download the rest.
TheRec
Posts: 8
Joined: Sat Apr 27, 2013 10:57 pm

Re: Channels Announce (13-03-30)

Post by TheRec »

To follow-up on this, if you download manually PMSEncoder (http://dl.bintray.com/content/chocolate ... jar?direct) and place it in "plugins/", the rest of the components of Channels are downloaded correctly. After this I installed it and every time I tried to start playing a YouTube video I was getting an error telling that "cmd" returned a 255 or 1 code. Until I fixed the path to "youtube-dl.bat" by editing "UMS.conf" and setting "youtube-dl.path" to "scripts\\youtube-dl.bat". Then the error changed and it seems that now it is not able to retieve the video from Youtube, see the log:

Code: Select all

INFO  2013-04-27 16:01:12.792 [New I/O worker #3] Starting transcode/remux of Forgecraft 2 - Episode 6 Smeltery
DEBUG 2013-04-27 16:01:12.794 [New I/O worker #3] Creating pipe \\.\pipe\mencoder1367071272793
DEBUG 2013-04-27 16:01:12.799 [Thread-19] Waiting for pipe connection \\.\pipe\mencoder1367071272793
DEBUG 2013-04-27 16:01:12.849 [mencoder.exe-1] Starting "C:\Program Files (x86)\Universal Media Server\win32\mencoder.exe" http://r1---sn-1gi7zn7s.c.youtube.com/videoplayback?ratebypass=yes&ipbits=8&fexp=918113%2C913571%2C914050%2C916612%2C932000%2C932004%2C906383%2C904479%2C902000%2C901208%2C929903%2C925714%2C929119%2C931202%2C900821%2C900823%2C912518%2C911416%2C904476%2C908529%2C904830%2C930807%2C919373%2C906836%2C929602%2C930101%2C926403%2C900824%2C912711%2C910075&key=yt1&ip=<MY_IP_ADDRESS>&mv=m&source=youtube&newshard=yes&id=e834cd6de0193e44&upn=jMGWLERE9D0&cp=U0hVTFBUU19JU0NONV9ITldFOmVfeGlBelRRQllo&sparams=cp%2Cid%2Cip%2Cipbits%2Citag%2Cratebypass%2Csource%2Cupn%2Cexpire&mt=1367071224&ms=au&sver=3&expire=1367095449&itag=22 -msglevel all=2 -quiet -prefer-ipv4 -cache 16384 -oac lavc -of lavf -lavfopts format=dvd -ovc lavc -lavcopts vcodec=mpeg2video:vbitrate=4096:threads=2:acodec=ac3:abitrate=128 -vf harddup -ofps 25 -o \\.\pipe\mencoder1367071272793
DEBUG 2013-04-27 16:01:12.851 [mencoder.exe-1] Reading pipe: \\.\pipe\mencoder1367071272793
DEBUG 2013-04-27 16:01:12.872 [mencoder.exe-1] Attaching thread: mencoder.exe-1
DEBUG 2013-04-27 16:01:12.872 [Thread-24] MEncoder SB52 (C) 2000-2013 MPlayer Team
DEBUG 2013-04-27 16:01:12.872 [Thread-24] Custom build by SubJunk, http://www.spirton.com
DEBUG 2013-04-27 16:01:12.872 [Thread-24] 
DEBUG 2013-04-27 16:01:12.964 [Thread-21] Server returned 403: Forbidden
DEBUG 2013-04-27 16:01:13.016 [Thread-21] Server returned 403:Forbidden
DEBUG 2013-04-27 16:01:13.016 [Thread-21] Failed to parse header.
DEBUG 2013-04-27 16:01:13.016 [Thread-21] Failed, exiting.
DEBUG 2013-04-27 16:01:13.076 [Thread-21] Server returned 403: Forbidden
DEBUG 2013-04-27 16:01:13.076 [Thread-21] No stream found to handle url http://r1---sn-1gi7zn7s.c.youtube.com/videoplayback?ratebypass=yes&ipbits=8&fexp=918113%2C913571%2C914050%2C916612%2C932000%2C932004%2C906383%2C904479%2C902000%2C901208%2C929903%2C925714%2C929119%2C931202%2C900821%2C900823%2C912518%2C911416%2C904476%2C908529%2C904830%2C930807%2C919373%2C906836%2C929602%2C930101%2C926403%2C900824%2C912711%2C910075&key=yt1&ip=<MY_IP_ADDRESS>&mv=m&source=youtube&newshard=yes&id=e834cd6de0193e44&upn=jMGWLERE9D0&cp=U0hVTFBUU19JU0NONV9ITldFOmVfeGlBelRRQllo&sparams=cp%2Cid%2Cip%2Cipbits%2Citag%2Cratebypass%2Csource%2Cupn%2Cexpire&mt=1367071224&ms=au&sver=3&expire=1367095449&itag=22
DEBUG 2013-04-27 16:01:13.076 [Thread-21] Cannot open file/device.
INFO  2013-04-27 16:01:14.078 [mencoder.exe-1] Process C:\Program Files (x86)\Universal Media Server\win32\mencoder.exe has a return code of 1! Maybe an error occurred... check the log file
DEBUG 2013-04-27 16:01:17.981 [UPNP-AliveMessageSender] Sending ALIVE...
INFO  2013-04-27 16:01:18.928 [StartPlaying Event] Started playing Forgecraft 2 - Episode 6 Smeltery on your Android
DEBUG 2013-04-27 16:01:18.929 [StartPlaying Event] The full filename of which is: http://r1---sn-1gi7zn7s.c.youtube.com/videoplayback?ratebypass=yes&ipbits=8&fexp=918113%2C913571%2C914050%2C916612%2C932000%2C932004%2C906383%2C904479%2C902000%2C901208%2C929903%2C925714%2C929119%2C931202%2C900821%2C900823%2C912518%2C911416%2C904476%2C908529%2C904830%2C930807%2C919373%2C906836%2C929602%2C930101%2C926403%2C900824%2C912711%2C910075&key=yt1&ip=<MY_IP_ADDRESS>&mv=m&source=youtube&newshard=yes&id=e834cd6de0193e44&upn=jMGWLERE9D0&cp=U0hVTFBUU19JU0NONV9ITldFOmVfeGlBelRRQllo&sparams=cp%2Cid%2Cip%2Cipbits%2Citag%2Cratebypass%2Csource%2Cupn%2Cexpire&mt=1367071224&ms=au&sver=3&expire=1367095449&itag=22 and the address of the renderer is: 10.0.0.7
DEBUG 2013-04-27 16:01:21.430 [Buffered IO End Checker] Stopping process: mencoder.exe-1
INFO  2013-04-27 16:01:22.932 [StopPlaying Event] Stopped playing Forgecraft 2 - Episode 6 Smeltery on your Android
DEBUG 2013-04-27 16:01:22.933 [StopPlaying Event] The full filename of which is: http://r1---sn-1gi7zn7s.c.youtube.com/videoplayback?ratebypass=yes&ipbits=8&fexp=918113%2C913571%2C914050%2C916612%2C932000%2C932004%2C906383%2C904479%2C902000%2C901208%2C929903%2C925714%2C929119%2C931202%2C900821%2C900823%2C912518%2C911416%2C904476%2C908529%2C904830%2C930807%2C919373%2C906836%2C929602%2C930101%2C926403%2C900824%2C912711%2C910075&key=yt1&ip=<MY_IP_ADDRESS>&mv=m&source=youtube&newshard=yes&id=e834cd6de0193e44&upn=jMGWLERE9D0&cp=U0hVTFBUU19JU0NONV9ITldFOmVfeGlBelRRQllo&sparams=cp%2Cid%2Cip%2Cipbits%2Citag%2Cratebypass%2Csource%2Cupn%2Cexpire&mt=1367071224&ms=au&sver=3&expire=1367095449&itag=22 and the address of the renderer is: 10.0.0.7
("<MY_IP_ADDESS>" was in fact my real IP which I didn't want to share here in public)
I was using the latest youtube.ch from your Git : https://raw.github.com/SharkHunter/Chan ... youtube.ch

I've also tried other Web encoders with PMSEncoder (Mplayer, FFMpeg, VLC, etc.) they all fail at some point due to a similar 403 error. Trying to access the URL mentioned in the log through a browser also make you end up on a blank page, if you analyze the HTTP headers returned they show the same 403 error, so there must really be a problem with the URL scheme you're using in the youtube.ch.

Note also that I've tried with and without valid credentials for this channels, while I can access my subscribed Youtube channels (they list correctly), the error is the same when I try to watch ANY of the video. I've also tried the "Search" folder and the result is the same.

So how could I make it work now that it seems to be installed correctly?
User avatar
S7eele
Posts: 75
Joined: Thu Jun 07, 2012 8:12 am

Re: Channels Announce (13-03-30)

Post by S7eele »

S7eele wrote:SH,

You must be getting tired of this but I am still having problems with the GUI installer for Channels. I have yet to experience a successful install. This time around I performed a clean install of UMS 2.6.2. I then installed the MOVIEINFO plugin. It appeared after switching tabs, didn't have to restart, not sure that matters. After that I tried using the UMS GUI for plugin installs to install Channels. I did some looking before exiting and saw very quickly that not all of the directories and channels were there. None of the .ch files downloaded the first two tries (captured in logs attached) and I didn't see the extras folder structure I am used to. This means I saw no bin directory either. I then decided to look at the logs and I saw it errored when downloading PMSEncoder. These are the logs I attached. I then shut UMS down, manually copied PMSencoder into plugin directory, started UMS and opened the Channel plugin dialog box and pressed Install/Update. I still don't see the extra directory structure I am used to or any sign of a bin directory. I will be trying this again later to see if it might just be that there is a problem with git right now. Thought I would attach the logs just so you could check.

Regarding a manual install until this is done:

1) Should I still see a bin directory with rtmpdump.exe, youtube-dl.exe and curl.exe and if so where should it be located (extras\bin)?
2) For the three files listed above (perl and python too?), when I started a long time ago all of these components were installed separately or independently. Is it okay to continue using the standalone versions or is it now required to use what is installed by Channels?
3) Thought of this one after I went to your google code page to download copies of everything. I understand that the real problem here is that the built-in GUI based plug-in installer will not work properly for me when installing Channels. With that said, if I am forced into a manual install should I be grabbing your stuff from git or google? Not real code saavy so hope you get what I am asking.
4) Again, while downloading updated files from your google code page, I came across the pywin.zip file and remembered your answer to the question, what is it? Remaining question though, where does it need to be installed. As I say this I realize I haven't even opened it to see if there is a readme or if it might install to a specific path. Apologies if that is the case, otherwise please explain where the contents of this .zip file should be placed, in other words, what path should be used?

Kind of a general question but how difficult would it be to add some type of install verification routine to the plugin installer? Something to say that it has completed properly.

Thanks and Peace!
Hi SH, sorry to pester you but I just did a clean install of 2.6.3 and when using the plugin install gui to install channels it appears to fail during download/install of PMSEncoder. Not sure if anyone, @TheREC, may have tried it as well. Specific debug entries I saw when looking at debug.log are:

DEBUG 2013-05-01 23:11:22.250 [Thread-17] Installing plugin Channels type 1
DEBUG 2013-05-01 23:11:22.484 [Thread-17] fetch file http://sharkhunter-shb.googlecode.com/f ... ug_219.jar
DEBUG 2013-05-01 23:11:22.967 [Thread-17] fetch file http://dl.bintray.com/content/chocolate ... jar?direct
DEBUG 2013-05-01 23:11:23.232 [Thread-17] An error occurred when trying to install the plugin: Channels
DEBUG 2013-05-01 23:11:23.232 [Thread-17] Full error: java.io.FileNotFoundException: plugins\pmsencoder-1.6.3.jar?direct (The filename, directory name, or volume label syntax is incorrect)

I have attached the log files specific to the problem addressed above.

In addition to the above problem I had three or four questions that were not specific to this install problem but were more general. In an attempt to make things easier, I am going to paste a copy of the other questions down here as well:

Regarding a manual install:

1) Should I still see a bin directory with rtmpdump.exe, youtube-dl.exe and curl.exe and if so where should it be located (extras\bin)?
2) For the three files listed above (perl and python too?), when I started a long time ago all of these components were installed separately or independently. Is it okay to continue using the standalone versions or is it now required to use what is installed by Channels?
3) Thought of this one after I went to your google code page to download copies of everything. I understand that the real problem here is that the built-in GUI based plug-in installer will not work properly for me when installing Channels. With that said, if I am forced into a manual install should I be grabbing your stuff from git or google? Not real code saavy so hope you get what I am asking.
4) Again, while downloading updated files from your google code page, I came across the pywin.zip file and remembered your answer to the question, what is it? Remaining question though, where does it need to be installed. As I say this I realize I haven't even opened it to see if there is a readme or if it might install to a specific path. Apologies if that is the case, otherwise please explain where the contents of this .zip file should be placed, in other words, what path should be used?

Kind of a general question but how difficult would it be to add some type of install verification routine to the plugin installer? Something to say that it has completed properly.

Thanks and Peace!

EDIT - Not sure if it is important or not but I just went back to look at the UMS install and noticed that somehom tv_plug_219.jar was there so must have gotten downloaded before the problem with PMSEncoder?
Attachments
Channel_Install_Fails_@PMSENCODER_ums_dbg.zip
Log files captured during problems with PMSEncoder download while using UMS GUI to install Channels.
(17.1 KiB) Downloaded 535 times
Peace!
killershrew
Posts: 3
Joined: Mon May 06, 2013 9:12 pm

Re: Channels Announce (13-03-30)

Post by killershrew »

Trying to get channels to work with my LG BD390, mainly SVT. It installs fine and I can see all channels/programs but i cann not watch them. Screen goes black and player hangs?
killershrew
Posts: 3
Joined: Mon May 06, 2013 9:12 pm

Re: Channels Announce (13-03-30)

Post by killershrew »

I should probably elaborate on my previouse post:

I managed to follow the faq and get the BD 390 recognised by UMS. The problem is that the BD390 doesn´t support WMv video or AC-3 sound wich rulesout all four TranscodeVideo options specified in ps3.conf. What do I do now?

EDIT: Provade med WMV och spelaren säger "can not play this file".
Post Reply