Skip to content

Commit

Permalink
Url Service fix
Browse files Browse the repository at this point in the history
  • Loading branch information
coder-alpha committed Nov 8, 2015
1 parent bff7ec7 commit 4f23fb7
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion Contents/Code/__init__.py
Expand Up @@ -1024,7 +1024,7 @@ def CreateVideoClipObject(url, title, thumb, summary, inc_container = False):
)
elif '.mp4' in url and '.m3u8' not in url:
vco = VideoClipObject(
url = url + '&&&' + title,
url = url + 'cCloudVid' + title,
title = title,
thumb = thumb,
summary = summary
Expand Down
2 changes: 1 addition & 1 deletion Contents/Code/common.py
@@ -1,6 +1,6 @@
################################################################################
TITLE = "cCloud TV BETA | Popcorntime for LIVE TV"
VERSION = '0.16' # Release notation (x.y - where x is major and y is minor)
VERSION = '0.17' # Release notation (x.y - where x is major and y is minor)
GITHUB_REPOSITORY = 'coder-alpha/CcloudTv.bundle'
PREFIX = "/video/ccloudtv"
################################################################################
Expand Down
2 changes: 1 addition & 1 deletion Contents/Services/ServiceInfo.plist
Expand Up @@ -8,7 +8,7 @@
<dict>
<key>URLPatterns</key>
<array>
<string>^[0-9]{10}.*mp4*^</string>
<string>.*mp4cCloudVid*.</string>
</array>
</dict>
</dict>
Expand Down
4 changes: 2 additions & 2 deletions Contents/Services/URL/Ccloud/ServiceCode.pys
Expand Up @@ -8,7 +8,7 @@ def NormalizeURL(url):
####################################################################################################
def MetadataObjectForURL(url):

splitContent = url.split('&&&')
splitContent = url.split('cCloudVid')
title = splitContent[1]
#json = JSON.ObjectFromURL(IMDB_URL + title)

Expand All @@ -19,7 +19,7 @@ def MetadataObjectForURL(url):
####################################################################################################
def MediaObjectsForURL(url):

splitContent = url.split('&&&')
splitContent = url.split('cCloudVid')
url = splitContent[0]

return [
Expand Down
4 changes: 2 additions & 2 deletions README.md
Expand Up @@ -28,9 +28,9 @@ How To Install
- Delete any previous versions of this bundle
- Copy CcloudTv.bundle into the PMS plugins directory under your user account:
- Windows 7, Vista, or Server 2008:
C:\Users\[Your Username]\AppData\Local\Plex Media Server\Plug-ins
C:\Users\\[Your Username]\AppData\Local\Plex Media Server\Plug-ins
- Windows XP, Server 2003, or Home Server:
C:\Documents and Settings\[Your Username]\Local Settings\Application Data\Plex Media Server\Plug-ins
C:\Documents and Settings\\[Your Username]\Local Settings\Application Data\Plex Media Server\Plug-ins
- Mac/Linux:
~/Library/Application Support/Plex Media Server/Plug-ins
- Restart PMS
Expand Down

0 comments on commit 4f23fb7

Please sign in to comment.