It is currently December 7th, 2022, 11:26 pm

Packlist Feed

RSS, ATOM and other feeds, GMail, Stocks, any information retrieved from the internet
Gonazar
Posts: 6
Joined: January 14th, 2014, 12:14 am

Packlist Feed

Post by Gonazar »

If you use IRC and often grab xdcc from Horriblesubs then this convenient packlist feed is for you.

You can pick the serverbot and resolution it will automatically search with.
Displayed packs are clickable and will copy the appropriate /msg command to your clipboard

The display settings are simple, so you can customize it however you want.
However, adding lines is a bit difficult but can be done with the included instructions.

In the attached files: v1.0 is newest packs at the bottom, v1.1 is newest at the top.
The code here is v1.1:

Code: Select all

[Rainmeter]
Author=Gonazar
Update=1000

[Metadata]
Name=HorribleSubsPacklistFeed
Information=HorribleSubs Clickable XDCC Packlist Feed
License=Creative Commons Attribution-Non-Commercial-Share Alike 3.0
Version=Jan 13, 2014

;Modification Instructions:
; 1 - Change botserver and resolution to desired search settings
; 2 - Change NumList to change number of packs displayed, if you are lowering the # just remove #GET# commands. If adding, see next:
;   2.1 - Change line under MeasureWebsitePacks: the number of #GET# should match NumList
;	2.2 - Add corresponding [MeasurePack] and [MeasureEp], just copy paste and increment the numbers
;	2.3 - Add additional [MeterP]s and [MeterEp]s as required, again just follow the pattern
; 3 - Change display settings as desired

[Variables]
botserver="CR-CA|NEW"
resolution="720"
NumList=15
GET=".*n:(.{1,4}),.{10,40}\](.*)\[.*\n"

;[WEBSITE MEASURES]===============================

[MeasureWebsite]
Measure=Plugin
Plugin=WebParser
UpdateRate=900
URL=http://xdcc.horriblesubs.info/search.php?nick=#botserver#&t=#resolution#
RegExp=(?si).*p\.k\[(.{1,4})\]
FinishAction=[!CommandMeasure MeasureWebsitePacks "Update"]

[MeasurePacks]
Measure=Plugin
Plugin=WebParser
Url=[MeasureWebsite]
StringIndex=1

[MeasureReadPacks]
Measure=Calc
Formula=MeasurePacks-#NumList#

[MeasureWebsitePacks]
Measure=Plugin
Plugin=WebParser
UpdateRate=900
URL=http://xdcc.horriblesubs.info/search.php?nick=#botserver#&t=#resolution#
RegExp=(?siU)(?:[^\n]*\n){[MeasureReadPacks]}#GET##GET##GET##GET##GET##GET##GET##GET##GET##GET##GET##GET##GET##GET##GET#
DynamicVariables=1
FinishAction=[!CommandMeasure MeterEp1 "Update"][!CommandMeasure MeterEp2 "Update"][!CommandMeasure MeterEp3 "Update"][!CommandMeasure MeterEp4 "Update"][!CommandMeasure MeterEp5 "Update"][!CommandMeasure MeterEp6 "Update"][!CommandMeasure MeterEp7 "Update"][!CommandMeasure MeterEp8 "Update"][!CommandMeasure MeterEp9 "Update"][!CommandMeasure MeterEp10 "Update"][!CommandMeasure MeterEp11 "Update"][!CommandMeasure MeterEp12 "Update"][!CommandMeasure MeterEp13 "Update"][!CommandMeasure MeterEp14 "Update"][!CommandMeasure MeterEp15 "Update"]

;[Individual Measures]---------------------------- (Pack# and Episode Name alternate)

[MeasurePack1]
Measure=Plugin
Plugin=WebParser
Url=[MeasureWebsitePacks]
StringIndex=1

[MeasureEp1]
Measure=Plugin
Plugin=WebParser
Url=[MeasureWebsitePacks]
StringIndex=2

[MeasurePack2]
Measure=Plugin
Plugin=WebParser
Url=[MeasureWebsitePacks]
StringIndex=3

[MeasureEp2]
Measure=Plugin
Plugin=WebParser
Url=[MeasureWebsitePacks]
StringIndex=4

[MeasurePack3]
Measure=Plugin
Plugin=WebParser
Url=[MeasureWebsitePacks]
StringIndex=5

[MeasureEp3]
Measure=Plugin
Plugin=WebParser
Url=[MeasureWebsitePacks]
StringIndex=6

[MeasurePack4]
Measure=Plugin
Plugin=WebParser
Url=[MeasureWebsitePacks]
StringIndex=7

[MeasureEp4]
Measure=Plugin
Plugin=WebParser
Url=[MeasureWebsitePacks]
StringIndex=8

[MeasurePack5]
Measure=Plugin
Plugin=WebParser
Url=[MeasureWebsitePacks]
StringIndex=9

[MeasureEp5]
Measure=Plugin
Plugin=WebParser
Url=[MeasureWebsitePacks]
StringIndex=10

[MeasurePack6]
Measure=Plugin
Plugin=WebParser
Url=[MeasureWebsitePacks]
StringIndex=11

[MeasureEp6]
Measure=Plugin
Plugin=WebParser
Url=[MeasureWebsitePacks]
StringIndex=12

[MeasurePack7]
Measure=Plugin
Plugin=WebParser
Url=[MeasureWebsitePacks]
StringIndex=13

[MeasureEp7]
Measure=Plugin
Plugin=WebParser
Url=[MeasureWebsitePacks]
StringIndex=14

[MeasurePack8]
Measure=Plugin
Plugin=WebParser
Url=[MeasureWebsitePacks]
StringIndex=15

[MeasureEp8]
Measure=Plugin
Plugin=WebParser
Url=[MeasureWebsitePacks]
StringIndex=16

[MeasurePack9]
Measure=Plugin
Plugin=WebParser
Url=[MeasureWebsitePacks]
StringIndex=17

[MeasureEp9]
Measure=Plugin
Plugin=WebParser
Url=[MeasureWebsitePacks]
StringIndex=18

[MeasurePack10]
Measure=Plugin
Plugin=WebParser
Url=[MeasureWebsitePacks]
StringIndex=19

[MeasureEp10]
Measure=Plugin
Plugin=WebParser
Url=[MeasureWebsitePacks]
StringIndex=20

[MeasurePack11]
Measure=Plugin
Plugin=WebParser
Url=[MeasureWebsitePacks]
StringIndex=21

[MeasureEp11]
Measure=Plugin
Plugin=WebParser
Url=[MeasureWebsitePacks]
StringIndex=22

[MeasurePack12]
Measure=Plugin
Plugin=WebParser
Url=[MeasureWebsitePacks]
StringIndex=23

[MeasureEp12]
Measure=Plugin
Plugin=WebParser
Url=[MeasureWebsitePacks]
StringIndex=24

[MeasurePack13]
Measure=Plugin
Plugin=WebParser
Url=[MeasureWebsitePacks]
StringIndex=25

[MeasureEp13]
Measure=Plugin
Plugin=WebParser
Url=[MeasureWebsitePacks]
StringIndex=26

[MeasurePack14]
Measure=Plugin
Plugin=WebParser
Url=[MeasureWebsitePacks]
StringIndex=27

[MeasureEp14]
Measure=Plugin
Plugin=WebParser
Url=[MeasureWebsitePacks]
StringIndex=28

[MeasurePack15]
Measure=Plugin
Plugin=WebParser
Url=[MeasureWebsitePacks]
StringIndex=29

[MeasureEp15]
Measure=Plugin
Plugin=WebParser
Url=[MeasureWebsitePacks]
StringIndex=30

;[DISPLAY SETTINGS]================================
[MeterBackground]
Meter=IMAGE
X=1
Y=1
H=257
W=340
SolidColor=30,30,30,70
;colors = (r,g,b,alpha)

[TextStyle]
X=2
Y=17r
FontFace=Segoe UI
FontSize=12
FontColor=230,250,247,255
StringStyle=Bold
Antialias=1

;[DISPLAY METERS]================================== (Pack Meters first, Episode Meters in bottom section)

[MeterP15]
MeasureName=MeasurePack15
Meter=String
MeterStyle=TextStyle
Y=2
Text=%1

[MeterP14]
MeasureName=MeasurePack14
Meter=String
MeterStyle=TextStyle
Text=%1

[MeterP13]
MeasureName=MeasurePack13
Meter=String
MeterStyle=TextStyle
Text=%1

[MeterP12]
MeasureName=MeasurePack12
Meter=String
MeterStyle=TextStyle
Text=%1

[MeterP11]
MeasureName=MeasurePack11
Meter=String
MeterStyle=TextStyle
Text=%1

[MeterP10]
MeasureName=MeasurePack10
Meter=String
MeterStyle=TextStyle
Text=%1

[MeterP9]
MeasureName=MeasurePack9
Meter=String
MeterStyle=TextStyle
Text=%1

[MeterP8]
MeasureName=MeasurePack8
Meter=String
MeterStyle=TextStyle
Text=%1

[MeterP7]
MeasureName=MeasurePack7
Meter=String
MeterStyle=TextStyle
Text=%1

[MeterP6]
MeasureName=MeasurePack6
Meter=String
MeterStyle=TextStyle
Text=%1

[MeterP5]
MeasureName=MeasurePack5
Meter=String
MeterStyle=TextStyle
Text=%1

[MeterP4]
MeasureName=MeasurePack4
Meter=String
MeterStyle=TextStyle
Text=%1

[MeterP3]
MeasureName=MeasurePack3
Meter=String
MeterStyle=TextStyle
Text=%1

[MeterP2]
MeasureName=MeasurePack2
Meter=String
MeterStyle=TextStyle
Text=%1

[MeterP1]
MeasureName=MeasurePack1
Meter=String
MeterStyle=TextStyle
Text=%1


-------------------------------------


[MeterEp15]
MeasureName=MeasureEp15
Meter=String
MeterStyle=TextStyle
Y=2
X=50
Text=%1
LeftMouseDownAction=[!SetClip "/msg #botserver# xdcc send [MeasurePack15]"]
DynamicVariables=1

[MeterEp14]
MeasureName=MeasureEp14
Meter=String
MeterStyle=TextStyle
X=50
Text=%1
LeftMouseDownAction=[!SetClip "/msg #botserver# xdcc send [MeasurePack14]"]
DynamicVariables=1

[MeterEp13]
MeasureName=MeasureEp13
Meter=String
MeterStyle=TextStyle
X=50
Text=%1
LeftMouseDownAction=[!SetClip "/msg #botserver# xdcc send [MeasurePack13]"]
DynamicVariables=1

[MeterEp12]
MeasureName=MeasureEp12
Meter=String
MeterStyle=TextStyle
X=50
Text=%1
LeftMouseDownAction=[!SetClip "/msg #botserver# xdcc send [MeasurePack12]"]
DynamicVariables=1

[MeterEp11]
MeasureName=MeasureEp11
Meter=String
MeterStyle=TextStyle
X=50
Text=%1
LeftMouseDownAction=[!SetClip "/msg #botserver# xdcc send [MeasurePack11]"]
DynamicVariables=1

[MeterEp10]
MeasureName=MeasureEp10
Meter=String
MeterStyle=TextStyle
X=50
Text=%1
LeftMouseDownAction=[!SetClip "/msg #botserver# xdcc send [MeasurePack10]"]
DynamicVariables=1

[MeterEp9]
MeasureName=MeasureEp9
Meter=String
MeterStyle=TextStyle
X=50
Text=%1
LeftMouseDownAction=[!SetClip "/msg #botserver# xdcc send [MeasurePack9]"]
DynamicVariables=1

[MeterEp8]
MeasureName=MeasureEp8
Meter=String
MeterStyle=TextStyle
X=50
Text=%1
LeftMouseDownAction=[!SetClip "/msg #botserver# xdcc send [MeasurePack8]"]
DynamicVariables=1

[MeterEp7]
MeasureName=MeasureEp7
Meter=String
MeterStyle=TextStyle
X=50
Text=%1
LeftMouseDownAction=[!SetClip "/msg #botserver# xdcc send [MeasurePack7]"]
DynamicVariables=1

[MeterEp6]
MeasureName=MeasureEp6
Meter=String
MeterStyle=TextStyle
X=50
Text=%1
LeftMouseDownAction=[!SetClip "/msg #botserver# xdcc send [MeasurePack6]"]
DynamicVariables=1

[MeterEp5]
MeasureName=MeasureEp5
Meter=String
MeterStyle=TextStyle
X=50
Text=%1
LeftMouseDownAction=[!SetClip "/msg #botserver# xdcc send [MeasurePack5]"]
DynamicVariables=1

[MeterEp4]
MeasureName=MeasureEp4
Meter=String
MeterStyle=TextStyle
X=50
Text=%1
LeftMouseDownAction=[!SetClip "/msg #botserver# xdcc send [MeasurePack4]"]
DynamicVariables=1

[MeterEp3]
MeasureName=MeasureEp3
Meter=String
MeterStyle=TextStyle
X=50
Text=%1
LeftMouseDownAction=[!SetClip "/msg #botserver# xdcc send [MeasurePack3]"]
DynamicVariables=1

[MeterEp2]
MeasureName=MeasureEp2
Meter=String
MeterStyle=TextStyle
X=50
Text=%1
LeftMouseDownAction=[!SetClip "/msg #botserver# xdcc send [MeasurePack2]"]
DynamicVariables=1

[MeterEp1]
MeasureName=MeasureEp1
Meter=String
MeterStyle=TextStyle
X=50
Text=%1
LeftMouseDownAction=[!SetClip "/msg #botserver# xdcc send [MeasurePack1]"]
DynamicVariables=1
You do not have the required permissions to view the files attached to this post.