filter toevoegen, spotnet stopt ermee!
Moderator: Moderator Team
-
- Berichten: 10
- Lid geworden op: 19 feb 2011, 14:51
filter toevoegen, spotnet stopt ermee!
Als ik een filter probeer toe te voegen, sluit spotnet automtisch af, doe ik iets niet goed?
Re: filter toevoegen, spotnet stopt ermee!
Ligt eraan wat je hebt veranderd in filters.xml, maar daar lijkt het wel op
-
- Berichten: 518
- Lid geworden op: 13 feb 2011, 18:34
- Usenet: LightningUsenet
- Internet: KPN
- Locatie: Snoepjesland
- Leeftijd: 30
-
- Berichten: 10
- Lid geworden op: 19 feb 2011, 14:51
Re: filter toevoegen, spotnet stopt ermee!
Code: Selecteer alles
<Spotnet>
<Filter Name="Beeld" Image="C:\Program Files\Spotnet\Images\beeld-hoofd.ico" Margin="0,0,0,0"><![CDATA[Cat = 0 AND Erotiek = 0]]></Filter>
<Filter Name=" - DivX" Image="C:\Program Files\Spotnet\Images\video2.ico" Margin="0,0,0,0"><![CDATA[ ( Cat='0' AND ( ( SCat = '0' ) AND ( ( Tags LIKE '*d0|*' ) OR ( Tags LIKE '*d29|*' ) OR ( Tags LIKE '*d2|*' ) OR ( Tags LIKE '*d1|*' ) OR ( Tags LIKE '*d3|*' ) OR ( Tags LIKE '*d32|*' ) OR ( Tags LIKE '*d30|*' ) OR ( Tags LIKE '*d31|*' ) OR ( Tags LIKE '*d6|*' ) OR ( Tags LIKE '*d7|*' ) OR ( Tags LIKE '*d8|*' ) OR ( Tags LIKE '*d9|*' ) OR ( Tags LIKE '*d10|*' ) OR ( Tags LIKE '*d12|*' ) OR ( Tags LIKE '*d33|*' ) OR ( Tags LIKE '*d4|*' ) OR ( Tags LIKE '*d19|*' ) OR ( Tags LIKE '*d5|*' ) OR ( Tags LIKE '*d13|*' ) OR ( Tags LIKE '*d14|*' ) OR ( Tags LIKE '*d15|*' ) OR ( Tags LIKE '*d21|*' ) OR ( Tags LIKE '*d16|*' ) OR ( Tags LIKE '*d17|*' ) OR ( Tags LIKE '*d18|*' ) OR ( Tags LIKE '*d20|*' ) OR ( Tags LIKE '*d11|*' ) OR ( Tags LIKE '*d22|*' ) ) ) )]]></Filter>
<Filter Name=" - WMV" Image="C:\Program Files\Spotnet\Images\video2.ico" Margin="0,0,0,0"><![CDATA[ ( Cat='0' AND ( ( SCat = '1' ) AND ( ( Tags LIKE '*d0|*' ) OR ( Tags LIKE '*d29|*' ) OR ( Tags LIKE '*d2|*' ) OR ( Tags LIKE '*d1|*' ) OR ( Tags LIKE '*d3|*' ) OR ( Tags LIKE '*d32|*' ) OR ( Tags LIKE '*d30|*' ) OR ( Tags LIKE '*d31|*' ) OR ( Tags LIKE '*d6|*' ) OR ( Tags LIKE '*d7|*' ) OR ( Tags LIKE '*d8|*' ) OR ( Tags LIKE '*d9|*' ) OR ( Tags LIKE '*d10|*' ) OR ( Tags LIKE '*d12|*' ) OR ( Tags LIKE '*d33|*' ) OR ( Tags LIKE '*d4|*' ) OR ( Tags LIKE '*d19|*' ) OR ( Tags LIKE '*d5|*' ) OR ( Tags LIKE '*d13|*' ) OR ( Tags LIKE '*d14|*' ) OR ( Tags LIKE '*d15|*' ) OR ( Tags LIKE '*d21|*' ) OR ( Tags LIKE '*d16|*' ) OR ( Tags LIKE '*d17|*' ) OR ( Tags LIKE '*d18|*' ) OR ( Tags LIKE '*d20|*' ) OR ( Tags LIKE '*d11|*' ) OR ( Tags LIKE '*d22|*' ) ) ) )]]></Filter>
<Filter Name=" - MPG" Image="C:\Program Files\Spotnet\Images\video2.ico" Margin="0,0,0,0"><![CDATA[ ( Cat='0' AND ( ( SCat = '2' ) AND ( ( Tags LIKE '*d0|*' ) OR ( Tags LIKE '*d29|*' ) OR ( Tags LIKE '*d2|*' ) OR ( Tags LIKE '*d1|*' ) OR ( Tags LIKE '*d3|*' ) OR ( Tags LIKE '*d32|*' ) OR ( Tags LIKE '*d30|*' ) OR ( Tags LIKE '*d31|*' ) OR ( Tags LIKE '*d6|*' ) OR ( Tags LIKE '*d7|*' ) OR ( Tags LIKE '*d8|*' ) OR ( Tags LIKE '*d9|*' ) OR ( Tags LIKE '*d10|*' ) OR ( Tags LIKE '*d12|*' ) OR ( Tags LIKE '*d33|*' ) OR ( Tags LIKE '*d4|*' ) OR ( Tags LIKE '*d19|*' ) OR ( Tags LIKE '*d5|*' ) OR ( Tags LIKE '*d13|*' ) OR ( Tags LIKE '*d14|*' ) OR ( Tags LIKE '*d15|*' ) OR ( Tags LIKE '*d21|*' ) OR ( Tags LIKE '*d16|*' ) OR ( Tags LIKE '*d17|*' ) OR ( Tags LIKE '*d18|*' ) OR ( Tags LIKE '*d20|*' ) OR ( Tags LIKE '*d11|*' ) OR ( Tags LIKE '*d22|*' ) ) ) )]]></Filter>
<Filter Name=" - DVD" Image="C:\Program Files\Spotnet\Images\video2.ico" Margin="0,0,0,0"><![CDATA[ ( Cat='0' AND ( ( ( SCat = '3' ) OR ( SCat = '10' ) ) ) )]]></Filter>
<Filter Name=" - HD" Image="C:\Program Files\Spotnet\Images\video2.ico" Margin="0,0,0,0"><![CDATA[ ( Cat='0' AND ( ( ( SCat = '6' ) OR ( SCat = '7' ) OR ( SCat = '8' ) OR ( SCat = '9' ) OR ( SCat = '4' ) ) ) )]]></Filter>
<Filter Name=" - Series" Image="C:\Program Files\Spotnet\Images\series2.ico" Margin="0,0,0,0"><![CDATA[Cat = 0 AND Erotiek = 0 AND ((Tags LIKE '*b4|*') OR (Tags LIKE '*d11|*')) ]]></Filter>
<Filter Name=" - Boeken" Image="C:\Program Files\Spotnet\Images\books2.ico" Margin="0,0,0,0"><![CDATA[Cat = 0 AND SCat = '5' AND Erotiek = 0]]></Filter>
<Filter Name=" - Erotiek" Image="C:\Program Files\Spotnet\Images\x2.ico" Margin="0,0,0,0"><![CDATA[Erotiek = 1]]></Filter>
<Filter Name="Muziek" Image="C:\Program Files\Spotnet\Images\muziek-hoofd.ico" Margin="0,0,0,0"><![CDATA[Cat = 1]]></Filter>
<Filter Name=" - Compressed" Image="C:\Program Files\Spotnet\Images\audio2.ico" Margin="0,0,0,0"><![CDATA[ ( Cat='1' AND ( ( ( SCat = '0' ) OR ( SCat = '1' ) OR ( SCat = '3' ) OR ( SCat = '5' ) OR ( SCat = '6' ) ) ) )]]></Filter>
<Filter Name=" - Lossless" Image="C:\Program Files\Spotnet\Images\audio2.ico" Margin="0,0,0,0"><![CDATA[ ( Cat='1' AND ( ( ( SCat = '2' ) OR ( SCat = '7' ) OR ( SCat = '8' ) OR ( SCat = '4' ) ) ) )]]></Filter>
<Filter Name="Spellen" Image="C:\Program Files\Spotnet\Images\games-hoofd.ico" Margin="0,0,0,0"><![CDATA[Cat = 2]]></Filter>
<Filter Name=" - Windows" Image="C:\Program Files\Spotnet\Images\games2.ico" Margin="0,0,0,0"><![CDATA[ ( Cat='2' AND ( ( SCat = '0' ) ) )]]></Filter>
<Filter Name=" - Mac / Linux" Image="C:\Program Files\Spotnet\Images\games2.ico" Margin="0,0,0,0"><![CDATA[ ( Cat='2' AND ( ( ( SCat = '2' ) OR ( SCat = '1' ) ) ) )]]></Filter>
<Filter Name=" - Playstation" Image="C:\Program Files\Spotnet\Images\games2.ico" Margin="0,0,0,0"><![CDATA[ ( Cat='2' AND ( ( ( SCat = '3' ) OR ( SCat = '4' ) OR ( SCat = '12' ) OR ( SCat = '5' ) ) ) )]]></Filter>
<Filter Name=" - X-Box" Image="C:\Program Files\Spotnet\Images\games2.ico" Margin="0,0,0,0"><![CDATA[ ( Cat='2' AND ( ( ( SCat = '6' ) OR ( SCat = '7' ) ) ) )]]></Filter>
<Filter Name=" - Nintendo" Image="C:\Program Files\Spotnet\Images\games2.ico" Margin="0,0,0,0"><![CDATA[ ( Cat='2' AND ( ( ( SCat = '8' ) OR ( SCat = '9' ) OR ( SCat = '10' ) OR ( SCat = '11' ) ) ) )]]></Filter>
<Filter Name=" - PDA" Image="C:\Program Files\Spotnet\Images\games2.ico" Margin="0,0,0,0"><![CDATA[ ( Cat='2' AND ( ( ( SCat = '13' ) OR ( SCat = '14' ) OR ( SCat = '15' ) ) ) )]]></Filter>
<Filter Name="Applicaties" Image="C:\Program Files\Spotnet\Images\applications-hoofd.ico" Margin="0,0,0,0"><![CDATA[Cat = 3]]></Filter>
<Filter Name=" - Windows App" Image="C:\Program Files\Spotnet\Images\applications2.ico" Margin="0,0,0,0"><![CDATA[ ( Cat='3' AND ( ( SCat = '0' ) ) )]]></Filter>
<Filter Name=" - Mac / Linux / OS2" Image="C:\Program Files\Spotnet\Images\applications2.ico" Margin="0,0,0,0"><![CDATA[ ( Cat='3' AND ( ( ( SCat = '3' ) OR ( SCat = '2' ) OR ( SCat = '1' ) ) ) )]]></Filter>
<Filter Name=" - PDA / Navigatie" Image="C:\Program Files\Spotnet\Images\applications2.ico" Margin="0,0,0,0"><![CDATA[ ( Cat='3' AND ( ( ( SCat = '5' ) OR ( SCat = '6' ) OR ( SCat = '7' ) OR ( SCat = '4' ) ) ) )]]></Filter>
</Spotnet>
even tussen code tags gezet.
- stroopwafel
Re: filter toevoegen, spotnet stopt ermee!
hier is flink in geknutseld tov origineel - bij welk filter toevoegen/wijzigen ging het verkeerd?
-
- Berichten: 10
- Lid geworden op: 19 feb 2011, 14:51
Re: filter toevoegen, spotnet stopt ermee!
Heb dit kant en klaar van FTD afgehaald, probeerde alleen zelf een eigen filter toe te voegen.
-
- Berichten: 37
- Lid geworden op: 19 feb 2011, 14:02
Re: filter toevoegen, spotnet stopt ermee!
Voor zover ik het kan zien mis je in de eerste drie filters (DivX, WMV en MPG een sluithaakje aan het eind.
Overigens gebruik je veel te veel haakjes. De filters (DivX als voorbeeld) kunnen ook als volgt ingesteld worden:
<Filter Name=" - DivX" Image="C:\Program Files\Spotnet\Images\video2.ico" Margin="0,0,0,0">
<![CDATA[ Cat='0' AND SCat = '0' AND (
Tags LIKE '*d0|*' OR Tags LIKE '*d29|*' OR Tags LIKE '*d2|*' OR Tags LIKE '*d1|*' OR Tags LIKE '*d3|*' OR Tags LIKE '*d32|*'
OR Tags LIKE '*d30|*' OR Tags LIKE '*d31|*' OR Tags LIKE '*d6|*' OR Tags LIKE '*d7|*' OR Tags LIKE '*d8|*' OR Tags LIKE '*d9|*'
OR Tags LIKE '*d10|*' OR Tags LIKE '*d12|*' OR Tags LIKE '*d33|*' OR Tags LIKE '*d4|*' OR Tags LIKE '*d19|*' OR Tags LIKE '*d5|*'
OR Tags LIKE '*d13|*' OR Tags LIKE '*d14|*' OR Tags LIKE '*d15|*' OR Tags LIKE '*d21|*' OR Tags LIKE '*d16|*' OR Tags LIKE '*d17|*'
OR Tags LIKE '*d18|*' OR Tags LIKE '*d20|*' OR Tags LIKE '*d11|*' OR Tags LIKE '*d22|*'
) ]]>
</Filter>
Succes
Overigens gebruik je veel te veel haakjes. De filters (DivX als voorbeeld) kunnen ook als volgt ingesteld worden:
<Filter Name=" - DivX" Image="C:\Program Files\Spotnet\Images\video2.ico" Margin="0,0,0,0">
<![CDATA[ Cat='0' AND SCat = '0' AND (
Tags LIKE '*d0|*' OR Tags LIKE '*d29|*' OR Tags LIKE '*d2|*' OR Tags LIKE '*d1|*' OR Tags LIKE '*d3|*' OR Tags LIKE '*d32|*'
OR Tags LIKE '*d30|*' OR Tags LIKE '*d31|*' OR Tags LIKE '*d6|*' OR Tags LIKE '*d7|*' OR Tags LIKE '*d8|*' OR Tags LIKE '*d9|*'
OR Tags LIKE '*d10|*' OR Tags LIKE '*d12|*' OR Tags LIKE '*d33|*' OR Tags LIKE '*d4|*' OR Tags LIKE '*d19|*' OR Tags LIKE '*d5|*'
OR Tags LIKE '*d13|*' OR Tags LIKE '*d14|*' OR Tags LIKE '*d15|*' OR Tags LIKE '*d21|*' OR Tags LIKE '*d16|*' OR Tags LIKE '*d17|*'
OR Tags LIKE '*d18|*' OR Tags LIKE '*d20|*' OR Tags LIKE '*d11|*' OR Tags LIKE '*d22|*'
) ]]>
</Filter>
Succes
Recht bestaat niet in Nederland, alleen maar kromme regelgeving
-
- Berichten: 25
- Lid geworden op: 20 feb 2011, 09:36
Re: filter toevoegen, spotnet stopt ermee!
ik kan ook geen filters toevoegen. zo ziet het bestand eruit:
<Spotnet>
<Filter Name="Films" Image="C:\Program Files (x86)\Spotnet\Images\video2.ico" Margin="0,0,0,0"><![CDATA[Cat = 0 AND Erotiek = 0]]></Filter>
<Filter Name="Series" Image="C:\Program Files (x86)\Spotnet\Images\series2.ico" Margin="0,0,0,0"><![CDATA[Cat = 0 AND Erotiek = 0 AND ((Tags LIKE '*b4|*') OR (Tags LIKE '*d11|*')) ]]></Filter>
<Filter Name="Boeken" Image="C:\Program Files (x86)\Spotnet\Images\books2.ico" Margin="0,0,0,0"><![CDATA[Cat = 0 AND SCat = '5' AND Erotiek = 0]]></Filter>
<Filter Name="Muziek" Image="C:\Program Files (x86)\Spotnet\Images\audio2.ico" Margin="0,0,0,0"><![CDATA[Cat = 1]]></Filter>
<Filter Name="Spellen" Image="C:\Program Files (x86)\Spotnet\Images\games2.ico" Margin="0,0,0,0"><![CDATA[Cat = 2]]></Filter>
<Filter Name="Applicaties" Image="C:\Program Files (x86)\Spotnet\Images\applications2.ico" Margin="0,0,0,0"><![CDATA[Cat = 3]]></Filter>
<Filter Name="Erotiek" Image="C:\Program Files (x86)\Spotnet\Images\x2.ico" Margin="0,0,0,0"><![CDATA[Erotiek = 1]]></Filter>
</Spotnet>
Groetjes Esmeralda
<Spotnet>
<Filter Name="Films" Image="C:\Program Files (x86)\Spotnet\Images\video2.ico" Margin="0,0,0,0"><![CDATA[Cat = 0 AND Erotiek = 0]]></Filter>
<Filter Name="Series" Image="C:\Program Files (x86)\Spotnet\Images\series2.ico" Margin="0,0,0,0"><![CDATA[Cat = 0 AND Erotiek = 0 AND ((Tags LIKE '*b4|*') OR (Tags LIKE '*d11|*')) ]]></Filter>
<Filter Name="Boeken" Image="C:\Program Files (x86)\Spotnet\Images\books2.ico" Margin="0,0,0,0"><![CDATA[Cat = 0 AND SCat = '5' AND Erotiek = 0]]></Filter>
<Filter Name="Muziek" Image="C:\Program Files (x86)\Spotnet\Images\audio2.ico" Margin="0,0,0,0"><![CDATA[Cat = 1]]></Filter>
<Filter Name="Spellen" Image="C:\Program Files (x86)\Spotnet\Images\games2.ico" Margin="0,0,0,0"><![CDATA[Cat = 2]]></Filter>
<Filter Name="Applicaties" Image="C:\Program Files (x86)\Spotnet\Images\applications2.ico" Margin="0,0,0,0"><![CDATA[Cat = 3]]></Filter>
<Filter Name="Erotiek" Image="C:\Program Files (x86)\Spotnet\Images\x2.ico" Margin="0,0,0,0"><![CDATA[Erotiek = 1]]></Filter>
</Spotnet>
Groetjes Esmeralda
-
- Berichten: 37
- Lid geworden op: 19 feb 2011, 14:02
Re: filter toevoegen, spotnet stopt ermee!
Ik heb geen idee. Het ziet er goed uit. Misschien dat iemand anders de fout ziet.
Recht bestaat niet in Nederland, alleen maar kromme regelgeving
Re: filter toevoegen, spotnet stopt ermee!
nog sterker - dit filters bestand is niets mis mee. Ik heb het even als test in eigen config geladen en ook handmatig filter toegevoegd en geen enkel probleem.
Staat je filters.xml per ongeluk soms op read-only oid en hoe doe jij precies een filter toevoegen?
Staat je filters.xml per ongeluk soms op read-only oid en hoe doe jij precies een filter toevoegen?