generate-identifiers
यह क्या करती है
यह टोरेंट और फ़ाइल नामों को MoviePilot के पहचानने से पहले साफ़ या सुधारने वाले नियम बनाती है, फिर उन्हें आपकी सेटिंग्स में सहेजती है। यह उन MoviePilot उपयोगकर्ताओं के लिए है जिनका मीडिया गलत शीर्षक से मेल खाता है।
कब इस्तेमाल करें
- ✓जब कोई टोरेंट या फ़ाइल नाम गलत फ़िल्म या शो के रूप में पहचाना जाए।
- ✓जब आप MoviePilot में कस्टम पहचानकर्ता नियम जोड़ना चाहते हैं।
- ✓जब आप देखना चाहते हैं कि कोई नया नियम पहले से मौजूद नियम को दोहराता है या नहीं।
Skill का लिंक
https://github.com/jxxghp/MoviePilot/blob/v3/skills/generate-identifiers/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“यह फ़ाइल नाम गलत फ़िल्म से मेल खा गया। क्या आप ऐसा नियम बना सकते हैं ताकि MoviePilot इसे सही पहचाने?”
हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।
यह कैसे काम करती है
AI आपके मौजूदा नियम पढ़ता है, समर्थित प्रारूप में नया नियम लिखता है, दोहराव जाँचता है, और MoviePilot के API से पूरी सूची सहेजता है।
तकनीकी सामग्री (मूल SKILL.md)
लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।
Generate Custom Identifiers (生成自定义识别词)
This skill helps generate custom identifier rules for MoviePilot's media recognition system. Custom identifiers preprocess torrent/file names before the recognition engine runs, correcting naming issues that cause misidentification.
Prerequisites
Use these moviepilot_api operations:
config.identifiers.get- Query all existing custom identifier rulesconfig.identifiers.update- Save the updated identifier list (replaces the full list)media.recognize- Test recognition of a torrent title or file path (optional)
Supported Rule Formats
There are four formats. Operators must have spaces on both sides.
1. Block Word (屏蔽词)
Removes matched text from the title. Supports regex.
SomeUniqueAlias
Use a bare block word only when the token itself is specific enough globally, or when the user explicitly wants a global cleanup rule.
2. Replacement (被替换词 => 替换词)
Regex substitution. The left side is a regex pattern, the right side is the replacement (supports backreferences).
被替换词 => 替换词
Special replacement for direct ID specification:
被替换词 => {[tmdbid=xxx;type=movie/tv;s=xxx;e=xxx]}
被替换词 => {[doubanid=xxx;type=movie/tv;s=xxx;e=xxx]}
Use the source-specific field that matches the target metadata provider:
tmdbid, doubanid, bangumiid, or anilistid. Where s (season) and e
(episode) are optional. For TMDB TV recognition, add g=xxx to specify an
episode group:
被替换词 => {[tmdbid=xxx;type=tv;g=xxx;s=xxx;e=xxx]}
3. Episode Offset (集偏移)
Shifts episode numbers found between the front and back delimiter words. EP is the placeholder for the original episode number.
前定位词 <> 后定位词 >> EP-12
4. Combined Replacement + Episode Offset
First performs replacement; episode offset only runs if replacement succeeded.
被替换词 => 替换词 && 前定位词 <> 后定位词 >> EP-12
Comments
Lines starting with # are comments and will be skipped during processing.
Important Rules for Writing Identifiers
- Regex support: All patterns support regular expressions. Special characters (
. * + ? ^ $ { } [ ] ( ) | \) must be escaped with\when matching literally. - Spaces matter: The operators
=>,<>,>>,&&must have spaces on both sides. - One rule per string: Each element in the identifiers list is one rule.
- EP placeholder: In episode offset expressions,
EPrepresents the original episode number. Common patterns:EP-12means subtract 12EP+5means add 5EP*2means multiply by 2
- Chinese number support: Episode offset handles Chinese numbers (一二三四五六七八九十).
- Empty replacement: Using nothing after
=>is equivalent to a block word.
Global Scope Guardrails
Custom identifiers are global. A new rule affects all future torrent/file recognition, not just the sample provided by the user.
When generating a new rule, default to the narrowest regex that still fixes the user's sample:
- Extract the sample's unique anchors first: wrong title alias, year, season/episode marker, group tag, source, resolution, release tag, file extension, or other distinctive fragments.
- The matching side should usually contain at least two meaningful anchors, and one of them should normally be the title alias or another highly distinctive identifier from the user-provided sample.
- Prefer matching the full wrong alias or a stable unique fragment from the sample, not a short generic substring.
- Avoid generic global rules such as bare
1080p,WEB-DL,中字,国配,REPACK,S01E01, or pure numbers unless the user explicitly wants a global cleanup rule. - If the rule only needs to fix one specific naming pattern, prefer a contextual replacement with capture groups/backreferences over a bare block word.
- For episode offset rules, the
前定位词and后定位词should use sample-specific context so the offset only runs on the intended naming pattern. - For direct media binding, the left side should match the user's specific wrong alias or naming pattern, not a broad season/episode pattern that could hit other media.
Narrow vs Broad Examples
Bad (too broad for a global rule):
REPACK
1080p
S01E01 => {[tmdbid=12345;type=tv;s=1;e=1]}
Better (scoped to the user's sample pattern):
(\[SubGroup\].*?My\.Show.*?2024.*?)REPACK => \1
Some\.Weird\.Name(?:\.2024)?(?:\.S01E\d+)? => {[tmdbid=12345;type=tv;s=1]}
\[Baha\] <> \[1080P\] >> EP-12
Be
अक्सर पूछे जाने वाले सवाल
क्या ये नियम हर चीज़ पर लागू होते हैं?
हाँ, कस्टम पहचानकर्ता वैश्विक होते हैं, इसलिए स्किल दुष्प्रभाव से बचने के लिए नियम विशिष्ट रखने की सलाह देती है।
यह किस तरह के नियम लिख सकती है?
यह शब्द रोकने वाले नियम, प्रतिस्थापन नियम, और ऐसे नियम लिख सकती है जो किसी शीर्षक को विशिष्ट TMDB, Douban, Bangumi या AniList ID से जोड़ें।
क्या सहेजने से मेरे मौजूदा नियम बदल जाते हैं?
सहेजना पूरी सूची बदल देता है, इसलिए स्किल सुनिश्चित करती है कि सहेजते समय आपके मौजूदा नियम शामिल हों।
जानकारी
लेखक का मूल विवरण
Use this skill when a user provides a torrent name or file name and wants to fix recognition issues, or asks to add/manage custom identifiers (自定义识别词). This skill generates identifier rules based on the WordsMatcher preprocessing logic, checks for duplicates against existing rules, and saves them through the structured MoviePilot API gateway. Because custom identifiers are global, generated rules must default to conservative, sample-specific regex patterns instead of broad matches unless the user explicitly wants global cleanup. Applicable scenarios include: 1) A torrent or file name is incorr
repo: jxxghp/MoviePilot
लोकप्रियता
- GitHub स्टार
- 12k
- रैंकिंग में स्थान
- #11484
- लाइसेंस
- GPL-3.0
- अपडेट की गई
- 1/11/2026
कमेंट
- …
इस repository की और skills
anysearch
12kआपके एजेंट को रीयल टाइम में वेब पर खोज करने, वित्त या शैक्षणिक डेटा जैसे विशेष स्रोतों से पूछने और पूरे वेब पेज पढ़ने में मदद करती है।
browser-use
12kआपके एजेंट को वेब पेज खोलने, पढ़ने, बटन क्लिक करने, फ़ॉर्म भरने और नतीजे जाँचने के लिए स्क्रीनशॉट लेने में मदद करती है।
command-dispatch
12kआपके एजेंट को किसी अनुरोध से MoviePilot सिस्टम या प्लगइन कमांड ढूँढकर चलाने में मदद करती है, पहले यह जाँचकर कि कौन-से कमांड मौजूद हैं।
create-moviepilot-plugin
12kआपके एजेंट को MoviePilot प्लगइन बनाने या ठीक करने में मदद करती है, MoviePilot संस्करण के लिए सही फ़ाइल संरचना और सेटअप के साथ।
मिलती-जुलती skills
knowledge-automation
394kयह आपके एजेंट को एक नियमित काम सेट करने देती है जो समय-सारणी पर Knowledge vault में नई सामग्री जोड़ता है, फिर जांचता है कि काम चल रहा है।
knowledge-source-ingest
394kयह आपके एजेंट को चैट चैनल, फ़ीड या मेलबॉक्स से आई नई चीज़ों से Knowledge vault अपडेट रखने देती है, बिना वह दोबारा जोड़े जो पहले से है।
benchmark
280kयह आपके एजेंट को code की speed और performance नापने में मदद करता है। यह पक्का करने और धीमेपन की समस्याएँ ढूँढने में काम आता है।