Channel plugin (Updated 12-06-23)

Discuss third party additions, plugins and translations for PS3 Media Server

Re: Channel plugin (Updated 12-03-02)

Postby chocolateboy » Mon Mar 05, 2012 9:28 pm

pezur wrote:
Code: Select all
get-flash-videos.path = /Applications/PS3 Media Server.app/Contents/Resources/Java/scripts
youtube-dl.path = /Applications/PS3 Media Server.app/Contents/Resources/Java/scripts


https://github.com/chocolateboy/pmsenco ... n-settings
chocolateboy
Project Member
 
Posts: 2474
Joined: Wed Sep 16, 2009 10:05 am

Re: Channel plugin (Updated 12-03-02)

Postby pezur » Tue Mar 06, 2012 8:33 am

I've noticed something interesting, when i get the rtmpdump error code2 the buffer level in PMS is starting to move between zero and normal each second (not constant) for a few minutes then as a result the episode exits (pauses). Any settings for this?
pezur
 
Posts: 6
Joined: Thu Feb 16, 2012 9:14 pm

Re: Channel plugin (Updated 12-03-02)

Postby DarkFoxDK » Wed Mar 07, 2012 12:13 am

Here's a .ch for Danmarks Radio's new mobile beta.
The new mobile service uses rtsp (and/or HLS), instead of flash and rtmp, so no need for rtmpdump.

Code: Select all
version=0.15

channel DR NU Mobil {
  # base_url http://www.dr.dk/tjenester/drnu-mobil-beta/
  img=http://www.dr.dk/tjenester/drnu-mobil-beta/assets/img/drnu_logo.png
  format=video
 
  folder {
    name=Alphabetical
    url=http://www.dr.dk/tjenester/drnu-mobil-beta/home/alphabetical
    type=ATZ
    folder {
      # programme folder
      matcher=\"#programserie/([^\"]+)\"\>([^\"]+)\<div
      url=http://www.dr.dk/tjenester/drnu-mobil-beta/api/programserie?slug=
      order=url,name
      macro=drvideo
    }
  }
 
  folder {
    name=Genres - Not working
    url=http://www.dr.dk/tjenester/drnu-mobil-beta/api/genres
    folder {
      # genre folder
      matcher=\"name\": \"(([^\"]+))\"
      url=
      order=url,name
      pre_script=genreprepend
      folder {
        # programme folder
        # "http://www.dr.dk/tjenester/drnu-mobil-beta/api/programseries?label=dokumentar"
        matcher=\"slug\":\"([^\"]+)\","title":\"([^\"]+)\"
        url=http://www.dr.dk/tjenester/drnu-mobil-beta/api/programserie?slug=
        order=url,name
        macro=drvideo
      }
    }
  }
 
  folder {
    name=Most Viewed
    url=http://www.dr.dk/tjenester/drnu-mobil-beta/api/mostviewed
    macro=drvideo
  }
 
  folder {
    name=Newest
    url=http://www.dr.dk/tjenester/drnu-mobil-beta/api/newest
    macro=drvideo
  }
 
  folder {
    name=Highlights
    url=http://www.dr.dk/tjenester/drnu-mobil-beta/api/highlights
    macro=drvideo
  }
 
  folder {
    name=Premiere
    url=http://www.dr.dk/tjenester/drnu-mobil-beta/api/premiere
    macro=drvideo
  }
 
  folder {
    name=Last Chance
    url=http://www.dr.dk/tjenester/drnu-mobil-beta/api/lastchance
    macro=drvideo
  }
}

macrodef drvideo {
  # "http://www.dr.dk/tjenester/drnu-mobil-beta/api/programserie?slug=100-aars-spekulation"
  folder {
    matcher=\"id":(([^\"]+)),\"title\":\"([^\"]+)\"
    url=http://www.dr.dk/tjenester/drnu-mobil-beta/api/videos/
    img=http://www.dr.dk/nu/api/videos/
    order=url,img,name
    append_url=?platform=android
    append_img=/images/240x140.jpg
    media {
      # "http://www.dr.dk/tjenester/drnu-mobil-beta/api/videos/9199?platform=android"
      matcher=\"high\":\"([^\"]+)\"
      order=url
    }
  }
}

scriptdef genreprepend {
  name=s_url
  label='<?=strtolower($_GET['name'])?>
  escape label
  url='http://www.dr.dk/tjenester/drnu-mobil-beta/api/programseries?label=
  concat url label
  play
}


I couldn't get the genres working, as the name needs to be converted to lower case, to get the label.
DarkFoxDK
 
Posts: 4
Joined: Wed Feb 22, 2012 10:16 pm

Re: Channel plugin (Updated 12-03-02)

Postby timeitniear » Sat Mar 10, 2012 3:26 pm

Hi

Been messing with getting this plugin to work for a couple of weeks now. Finally got rtmpdump to load, but now I get "rtmpdump has a return code of 133! Maybe an error occured... check the log file" I have enclosed my log files, but im not sure where the rtmpdump log is located. Hoping this error will look familiar to someone with out that file.

Regards!
Attachments
Logs.zip
(254 KiB) Downloaded 15 times
MacBook Pro
2.2 Ghz Intel Core i7
4GB Ram
OSX 10.8.1
timeitniear
 
Posts: 17
Joined: Thu Feb 23, 2012 9:22 pm

Re: Channel plugin (Updated 12-03-02)

Postby coves » Tue Mar 13, 2012 6:38 pm

iM so sorry to ask this of you guys... youre program looks great... But is there possible to get an step by step installation guide?:) Ive been reading and readin how to set this up and get stuck. :oops: :oops:
coves
 
Posts: 3
Joined: Tue Mar 13, 2012 6:34 pm

Re: Channel plugin (Updated 12-03-02)

Postby SharkHunter » Wed Mar 14, 2012 8:32 pm

Hi party people!

New version which contain some bug fixes and loads of updated channels.

This time we include BBC iPlayer (see here viewtopic.php?f=12&t=4109) I updated it a bit. No need to download flvstreamer etc. only all the scripts found here (called iplayer something) or wait a while until the next SHB is out :)

IceFilms has decided to move away from RapidShare since RS decided to limit the free user download speed. IceFilms instead starts to use 180upload so the IceFilms channel is updated with this. The RapidShare stuff might go away in the future.

coves - read here or download SHB (https://github.com/SharkHunter/Channel/ ... stallation).

timeitniear - looks like you gotten a subtitle version of the show and then somethig is messed up there. Try and view on without subtitles.
SharkHunter
 
Posts: 941
Joined: Tue Jun 01, 2010 8:39 pm

Re: Channel plugin (Updated 12-03-14)

Postby coves » Sun Mar 18, 2012 8:33 pm

hi tnx for the reply sharkhunter. i did install youre latest shb 38. I get the channels in my menu... the only problem is that every series or movie i try to open i get this message. 'the data is corrupted''
btw I use windows 7
latest java
coves
 
Posts: 3
Joined: Tue Mar 13, 2012 6:34 pm

Re: Channel plugin (Updated 12-03-14)

Postby gripped » Tue Mar 20, 2012 1:47 am

Hi

For quite a while I've use the WEB.conf method to watch sopcast streams on TV . I use Linux on my PC

I recently came across your plugin and have been investigating accessing the streams through this, with your Myp2p / Wiziwig channel file.
But from what I can gather it seems that the scripts are calling sopcast as : (from debug log)
[/home/me/bin/sp-sc] DEBUG 23:12:36.793 Starting /home/me/bin/sp-sc sop://broker.sopcast.com:3912/60498

Without the <localport> <playerport> on the end ?

Forgive me if I am mistaken.

This is more of what is in the debug log

[New I/O server worker #1-5] INFO 23:12:36.476 Starting transcode/remux of PLAY
[mkfifo-0] DEBUG 23:12:36.481 Starting mkfifo --mode=777 /tmp/ps3mediaserver-me/pmsencoder_transcoder_out_1332198756478_35
[mkfifo-0] DEBUG 23:12:36.483 Unix process ID (mkfifo): 6111
[/home/me/bin/sp-sc] DEBUG 23:12:36.793 Starting /home/me/bin/sp-sc sop://broker.sopcast.com:3912/60498
[/usr/lib/ps3mediaserver/linux/mencoder] DEBUG 23:12:36.794 Starting /usr/lib/ps3mediaserver/linux/mencoder -msglevel all=2 -quiet -prefer-ipv4 -oac lavc -of lavf -lavfopts format=dvd -ovc lavc -lavcopts vcodec=mpeg2video:vbitrate=4096:threads=6:acodec=ac3:abitrate=128 -ofps 25 -cache 16384 -vf harddup -o /tmp/ps3mediaserver-me/pmsencoder_transcoder_out_1332198756478_35 http://127.0.0.1:8902/stream
[/usr/lib/ps3mediaserver/linux/mencoder] DEBUG 23:12:36.794 Reading pipe: /tmp/ps3mediaserver-me/pmsencoder_transcoder_out_1332198756478_35
[/home/me/bin/sp-sc] INFO 23:12:36.829 Process /home/me/bin/sp-sc has a return code of 11! Maybe an error occured... check the log file


Is the sopcast part of the channel plugin compatible with linux ? Is there a script I need to change ? It says check the logfile, I'm not sure which log file to check ?

I have these scripts in pmsencoder.script.directory = /usr/lib/ps3mediaserver/scripts

me@Upstairs ~ $ ls /usr/lib/ps3mediaserver/scripts/
cuevana.groovy get_flash_videos.groovy putlocker.groovy sopcast.groovy youtube-dl
curl.groovy pplive.groovy rtmpdump.groovy subs.groovy youtube.groovy


I have searched for a solution most of tonight but had no joy.
Any advice appreciated
gripped
 
Posts: 2
Joined: Tue Mar 20, 2012 1:16 am

Re: Channel plugin (Updated 12-03-14)

Postby SharkHunter » Tue Mar 20, 2012 10:42 am

@gripped - last weekend sopcast worked like a char m for me. This weekend nothing worked. Haven't got around to look at it yet. It should work in linux as well as windows. It could be that the mencoder you got doesn't like sopcast (or the other way around). I'll look deeper into when time emerges...
SharkHunter
 
Posts: 941
Joined: Tue Jun 01, 2010 8:39 pm

Re: Channel plugin (Updated 12-03-14)

Postby gusmin » Tue Mar 20, 2012 6:53 pm

Could you please replace Myp2p with Lshunter , as Myp2p has less sopcast links than in the past.
gusmin
 
Posts: 4
Joined: Sat Mar 19, 2011 7:51 pm

PreviousNext

Return to Additions and Plugins

Who is online

Users browsing this forum: No registered users and 10 guests