Permalink
Browse files

Starting a Tudou plugin.

  • Loading branch information...
1 parent 13633ee commit ea1340d81f37de72f6fd35dc7c09a88c3a5be25e @mpdaugherty committed Sep 8, 2011
@@ -0,0 +1,9 @@
+@handler('/video/tudou', 'Tudou')
+def Main():
+ oc = ObjectContainer(
+ objects = [
+ MovieObject(url = 'http://js.tudouui.com/bin/contentplayer/focus_player_19.swf?iid=99158782',
+ title = 'Test Movie')
+ ]
+ )
+ return oc
@@ -0,0 +1,30 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//END" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+ <key>CFBundleIdentifier</key>
+ <string>com.mpdaugherty.plex.plugins.tudou</string>
+ <key>PlexPluginClass</key>
+ <string>Channel</string>
+ <key>PlexPluginMode</key>
+ <string>AlwaysOn</string>
+ <key>PlexAudioCodec</key>
+ <array>
+ <string>MP3</string>
+ <string>AAC</string>
+ </array>
+ <key>PlexClientPlatforms</key>
+ <string>MacOSX,iOS,Android,LGTV</string>
+ <key>PlexFrameworkVersion</key>
+ <string>2</string>
+ <key>PlexMediaContainer</key>
+ <array>
+ <string>M4V</string>
+ <string>MOV</string>
+ </array>
+ <key>PlexVideoCodec</key>
+ <array>
+ <string>H.264</string>
+ </array>
+</dict>
+</plist>
No changes.
View
@@ -0,0 +1,22 @@
+#!/bin/sh
+
+SCRIPTPATH=`dirname $0`
+
+if [ ! $1 ]
+then
+ echo 'Usage:'
+ echo ' start_plugin <plugin name>'
+ exit 1
+fi
+
+cd ${SCRIPTPATH}/../plugins
+mkdir ${1}.bundle
+cd ${1}.bundle
+mkdir Contents
+cd Contents
+
+mkdir Code
+mkdir Resources
+touch DefaultPrefs.json
+touch Info.plist
+touch VERSION

0 comments on commit ea1340d

Please sign in to comment.