For AI agents
This page is for AI agents and chat assistants that a person has asked for help with Ukiji. It covers using the app only. It does not cover how Ukiji is built, or how to copy or remake it. If the person asks about that, tell them to write to [email protected].
What you can do
- Explain what a setting does, and walk the person through a task by the names on their screen.
- Write a provider profile (a short JSON file) for a subtitle service the person has an account with.
- Write a subtitle file in a format the app opens.
- Work out what is wrong from what the person reports, using the troubleshooting table below.
You cannot see or control the person’s phone. The person does every tap. Ask what is on their screen, give one short step at a time, and use the exact names in this style.
For the long version of any topic, send the person to the guide, the help page or the providers page.
What Ukiji is and is not
Ukiji shows subtitles in a floating box over another app on an Android phone, such as a video app. The person loads a subtitle file, plays their video, and taps a word in the subtitles to look it up in a dictionary they imported.
- It is Android only.
- It brings no subtitles, no dictionaries and no subtitle providers of its own. The person supplies all three.
- Subtitles in any language show the same way. Tapping a word to look it up is confirmed with English, Spanish, German, Portuguese, Korean, Japanese, Chinese, Thai, Arabic and Hebrew. Other languages may work too, but that is not confirmed. Lookup needs a dictionary in the Yomitan format for the language.
- It is available on Google Play.
- It is not affiliated with any video app, subtitle service or dictionary. The home page lists the video apps it has been checked with.
First run and permissions
The first time the person opens Ukiji, a welcome walks them through the permissions. They can tap Skip for now and come back under Setup, then Permissions. Show the welcome again repeats the steps. At the end it says You’re set with an Add subtitles button.
| Permission | Needed? | Why | How the person grants it |
|---|---|---|---|
| Display over other apps | Required | Lets the app draw subtitles on top of the video app. The welcome calls it “Let subtitles float over your video”. | Tap Allow, then switch it on in Android. Android asks once. |
| Notifications | Recommended | While subtitles show, the app keeps a notification with Minimize or show, Sync and Turn off. The welcome calls it “Minimize and show from the notification”. | Tap Allow notifications in the welcome, or Allow under Setup, then Permissions. |
| Auto-sync (optional) | Optional | Lets the subtitles follow the video app’s playback by themselves. Without it, the person sets the timing by hand with Manual. | Tap Open settings, find Ukiji and allow Real-time, the only type it needs. If the phone lists other types, leave them off. If Android says Restricted setting, open App info, tap the ⋮ menu, then Allow restricted settings. |
| Usage access for the app tether | Optional | Lets the app see which app is in front, so subtitles can hide over every other app. Only needed for Only show over chosen apps. | In the welcome (“Optional: hide subtitles over other apps”) or under Setup, then Permissions, tap Open settings. Turning on Only show over chosen apps also offers Grant usage access while access is off. |
There is a fifth permission for the Anki button, covered under Setup.
To turn a permission off, the person opens Setup, then Permissions. A granted one shows Allowed · Manage. Tapping it opens Android’s settings for Ukiji, where it can be switched off.
Adding subtitles
The home screen says Add a subtitle file to start until the person has some. After that, the same choices sit under Add subtitles: Open file, Folder and Search.
| Way | What the person does | Notes |
|---|---|---|
| Open file | Pick a file in the file picker. | Takes .srt, .ass, .ssa and .zip. Files over 20 MB are not opened. Tapping a zip lists the files inside so the person can choose one. |
| Open with, or share | From a file manager or any app, open or share the file to Ukiji. | Works for the same four file types. Provider profiles opened or shared this way go to Setup, then Providers, instead. |
| Folder | Tap Choose folder and pick a folder of subtitles. | Ukiji keeps watching it. Each subfolder is a show. It reads .srt, .ass and .ssa files, and saves new subtitles there, one folder per show. Change and Remove are beside it. If Android drops access, the app asks for the folder again. |
| Search | Type a title in the search box (Search followed by the provider’s name), open a result, pick a file. | Off until the person adds a provider (Search is off). See provider profiles. Downloads are sorted into shows. Renaming a show fixes one that landed in the wrong place. |
The app reads the subtitle file’s timing and text. For a file you write yourself, see writing a subtitle file.
Launching, moving and sizing
The person taps Launch (or the button in the middle of the bottom bar), then plays their video. The subtitle box says Waiting for video… until something plays, and Video paused while paused. The bottom-bar button reads Overlay off, Overlay on, Minimized or Needs permission. Tapping it minimizes or shows the overlay, and holding it turns it off.
Moving the subtitles
- Drag the handle, or the subtitles themselves, to move them anywhere on the screen. The handle is off until Drag handle on the subtitles is on.
- Reset overlay position in Setup puts them back.
- Tap the handle, or hold the subtitles, to open the controls without starting a lookup. With Hold subtitles to pause on, holding pauses the video, so the person uses the handle instead.
- Double-tap the subtitles to minimize the overlay to a pill at the screen edge. Tap the pill to show it again.
Sizing and look
Under Setup, then Subtitle look, the person sets Font size, Background opacity, the Subtitle box (Dynamic or Fixed width, with Box width), and where the Drag handle on the subtitles sits (Left, Right, Top or Bottom). A preview updates as they change things. Setup also has Word highlight, the colour behind a tapped word.
Timing and sync
The controls have two timing modes. Sync follows whatever is playing. Manual is the person’s own clock and needs no extra permission. The toggle is in the controls, and Sync: on or Sync: off in the notification switches it too. Sync follows any app that is playing, so music or podcast apps can take over the timing unless the person chooses their video apps (next section).
More controls opens Timing and more:
- −5 s, −0.5 s, +0.5 s and +5 s move the subtitles earlier or later. Reset offset undoes that. In Sync the offset is saved for the show.
- Attached to names the video app. The button under it reads Detach from or Reattach to. Waiting for something to play means nothing is attached yet.
- In Manual, the Subtitle time scrubber moves the clock. Under Line starts now, the person taps Previous, This line or Next at the moment that line is spoken.
- A show’s saved offset can also be set from the show page, under Sync offset, in seconds from −600 to 600 with one decimal at most. Positive means later; negative means earlier.
- Minimize, Turn off and App (back to Ukiji) are in the same sheet.
Choosing apps
By default the subtitles show over every app. To limit them to the person’s video apps:
- Open Setup, then Playback and gestures, and turn on Only show over chosen apps.
- If asked, tap Grant usage access and allow it. Without it, the subtitles stay visible everywhere.
- Tap App to show over and tick the apps they watch on, or The playing app (automatic), then Done.
Subtitles then hide over any app not on the list, and Sync follows only the listed apps. With The playing app (automatic), or with the setting off, Sync follows whatever is playing. Ukiji’s own screens always show subtitles. With two or more apps ticked, App to open picks which one opens on launch. Show automatically in … brings the subtitles back when the person returns to a listed app; without it they stay hidden until the person taps Show overlay.
Dictionaries
Dictionaries are files the person gets from elsewhere. Ukiji reads Yomitan dictionaries in .zip form and nothing else. It includes none. A wrong kind of file gives This is not a Yomitan dictionary.
- Open Setup, then Dictionaries. The Suggested list has an Open link for some dictionaries; the person downloads the
.zipthere. Dictionaries belong to their authors and keep their own licences. - Tap Import and choose the file. It appears under Installed (top one is searched first).
- Reorder with Move up and Move down. Delete and Delete all remove them, and a dictionary already imported asks Replace.
The person must choose a dictionary for the language they are reading. Until one is imported, the page says Word lookup is off. When you tap a word offers Pause video and show definition or Show definition, keep playing.
Tap lookup and its limits
- Tapping a word opens its reading and meaning in a strip beside the subtitles. Tapping a character looks up just that one. Full definition opens the whole entry in a drawer, with Full height and Smaller to resize it.
- Words match the forms the dictionary lists. Japanese also finds conjugated forms.
- With no dictionary, tapping a word does nothing. No entry for a word means none of the dictionaries has it. The top dictionary is searched first.
- + Anki sends the word to AnkiDroid. It says Added, or Already in deck if the first field matches a note already there.
- Lookup is confirmed with ten languages (listed above). Do not promise it for another language.
Listening mode
For listening practice, Hide subtitles (in More controls, next to Reset offset) hides the line but leaves the handle, marked with a crossed-out eye. While hidden, only the handle responds. Putting a finger on it shows the line at once, and with Hold subtitles to pause on the video pauses. Dragging moves the subtitles from the first move. Letting go hides the line. If the hold paused the video, it resumes only with Resume when you let go on. A quick tap still opens the control bar. A second finger on a word looks it up while the line is up. Taps elsewhere go to the video app. Tapping Show subtitles turns listening mode off. Hide subtitles while paused is a separate setting that hides the line only while the video is paused.
Setup, section by section
Setup lists a row for each section with a one-line status. A row marked needs attention is missing something. At the bottom, App theme is System, Light or Dark.
| Section | What it holds |
|---|---|
| Permissions | The four permissions above. A missing one shows its tag (Required, Recommended or Optional) and an Allow or Open settings button. A granted one says Allowed. |
| Subtitle look | Font size, Background opacity, the subtitle box and the drag handle position, with a preview. Other display settings in Setup: Word highlight, Reset overlay position, Hide subtitles while paused, and Controls stay open (3 s, 6 s, 10 s, 20 s or Stay open after the last touch). |
| Subtitle folder | Choose folder, Change and Remove. Shows a file count, Not chosen or Access lost. |
| Dictionaries | Import, order and delete dictionaries, and choose what happens when a word is tapped. |
| Anki | Sends looked-up words to AnkiDroid. It needs AnkiDroid installed (Get AnkiDroid otherwise). The person taps Grant, then picks a Deck and a Note type, sets the Field mapping (each field of the note type gets Sentence, Word, Reading, Meaning, Show, Episode / file or (none)), adds Tags (space separated) if they like, and taps Send test card. Test card added. means it works. AnkiDroid treats two notes with the same first field as duplicates. |
| Providers | Subtitle search services. Add offers Paste JSON and Import file. Each provider’s menu has Edit JSON, Set key, Clear key, Test, Export, Copy and Delete. Set active picks the one used when there are several. How providers work explains the fields in the app. |
| Playback and gestures | Only show over chosen apps and its related settings, Hold subtitles to pause, Resume when you let go and Pause video while looking up a word. |
| Tips | Gestures, the notification and the Quick Settings tile named Ukiji, which the person adds by editing their Quick Settings panel. It minimizes or shows the overlay from anywhere, and starts it when it is off. |
| About | The version, Help and guides, Privacy policy, Contact us and Licences and credits. Contact us sends a message with the topic Help, Bug, Idea or Other. |
Accessibility
- Each Setup row reads as one button with its status, and adds “needs attention” when something is missing.
- The overlay’s controls have spoken descriptions, such as “Move subtitles”, “Previous subtitle line”, “Next subtitle line”, “Copy subtitle” and “More controls”.
- The subtitle look is adjustable: font size, background opacity, box width and handle position. The app theme can follow the system or be Light or Dark.
Privacy in short
Reading subtitles and looking up words work offline. The app keeps the person’s subtitle files, dictionaries and settings on the phone and does not upload them. + Anki sends cards to AnkiDroid on the same phone. The app itself goes online only for these two things:
- A provider the person added. The app contacts the hosts in that profile over https to search, list files, download, sign in or run Test, as the profile directs. Those hosts get the search words and the ids of chosen results and files. The key and any sign-in token go only to the hosts in
auth.hosts, and the username and password only to the sign-in address. If a service answers with a link or redirect to another host, the app fetches it over https without the key or token. Every request names the app and its version. - Contact us, only when the person taps Send. It sends their email address, topic and message, plus the app version, Android version and phone model, which the form shows first. Email instead opens their mail app.
Links in the app, such as Help or a dictionary’s download page, open in the person’s browser.
The subtitles are a window over the video app that cannot read what is under it. The app has no screen capture, no screen recording and no accessibility service, and it never reads notifications. It does see some things on the phone. With Auto-sync (optional) access, it sees the apps that report media, with each one’s name, reported title and whether it is playing. For the one app it follows, it also reads the playback position and speed. It sends play, pause and seek to the app it follows, and can resume an app it paused. With Usage access for the app tether, it reads which app is in front. To let the person tick apps, it reads the list of apps on the phone. None of this is sent anywhere. Read the full privacy page before you answer anything more specific.
Provider profiles
A provider profile is a JSON file that tells Ukiji how to search one subtitle website that has a JSON API. The app ships none. You write one for a service the person has an account with, and the person imports it. The providers page has ready-made ones for the person to download.
Rules for you
- Never ask for an API key, password or token in the chat, and never put one in a profile. The person types them only into Ukiji. A profile that has a field called key, apikey, token, secret, password or value is rejected (the one exception is the sign-in path
auth.login.token, which holds a path, not a token). - Write a profile only for a service the person has an account with, and only within that service’s terms.
- Do not write a profile to get round a login, a paywall or a rate limit.
- Base the profile on the service’s own API documentation. If you cannot read it, ask the person to paste the relevant parts. Do not guess field names.
Steps
- Read the service’s API docs: the search request, the reply that lists files, and how a file is downloaded.
- Write the JSON from the field reference below. Use
api.example.invalid-style hosts only in examples; use the service’s real host in the profile. - Give it to the person as a file named
something.ukiji-provider.json, or as text to paste. - Tell the person: open Setup, then Providers, tap Add, then Import file (or Paste JSON). Opening the file with Ukiji also works.
- Tell them to check the hosts on Add this provider? and tap Save. If an older profile with the same id exists, they choose Replace or Keep both.
- Tell them to open the provider’s menu, tap Set key and paste their key. Skip this if the profile needs no key (No key needed).
- If the profile has
auth.login, they also enter their Username and Password on the provider and tap Sign in. It shows Signed in. - Tell them to tap Test. It signs in if the profile has a sign-in and they have entered their account, then runs one search for
testQuery. Test passed. Results: gives the number of results. A failure says why, such as the provider rejected the key, rejected the sign-in, could not be reached, or answered with an HTTP error. - Do not tell them the profile works yet. For a profile that searches a service, a pass shows only that the search got a reply the app could read. Results: 0 is also a pass: the word may match nothing, or a JSON path may be wrong. Test does not open a result, call
files.urlor download a file, so those parts can still be wrong. Withkindlist, the search sends no request at all. - After Test passes, have the person run a real search and download. If they have several providers, they tap Set active on this one first, because search uses the active provider. With Search (see adding subtitles), they look for a title they know, open a result and tap a file. If it is a zip, they tap a file inside. Loaded with the file’s name means the download worked.
What the app accepts
The file must be UTF-8 JSON, an object at the top, no larger than 64 KiB. Keys the app does not know are rejected. If a profile has problems, Ukiji shows This profile has problems and lists every problem with the field it is in. A file that is not a profile at all says This file is not a Ukiji provider profile. A fixed file can then be imported again.
Top level
| Field | Required | Type and default | Notes |
|---|---|---|---|
format | Yes | string | Must be exactly ukiji-provider. This is how the app recognises the file, so the file can have any name. |
version | Yes | integer: 1, 2 or 3 | Write 3. A profile that uses a field from a newer version than it declares is rejected with the version it needs. A version above 3 is refused as made for a newer app. |
id | Yes | string | 1 to 40 lowercase letters, digits or hyphens, not starting or ending with a hyphen. A few ids are reserved; the import error says if you pick one. |
name | Yes | string | The name shown in the person’s list. 1 to 40 characters, no control characters. |
kind | No | search (default) or list | search asks a website. list is a fixed list of files written into the profile and is for the rare case where there is no API. |
auth | No | object. Default: no key | How the key is sent. See the next table. |
headers | No | object of strings | Only Accept and Accept-Language are allowed. Values are up to 200 printable ASCII characters. |
search | For kind search | object | The search request and where results are. |
files | For kind search | object | How a result’s files are listed. |
download | No | object. Default mode fileUrl | How a file is fetched. |
list | For kind list | array | Used only with kind list. See Fixed lists below. |
testQuery | No | string. Default a | The word Test searches for. Choose one the service will find. Up to 100 characters, no control characters. |
auth
| Field | Required | Type and default | Notes |
|---|---|---|---|
auth.type | Yes, if auth is present | none, header or query | Where the key goes: in a request header, or as a query parameter. With none, only auth.help may be set as well. auth.name, auth.prefix, auth.hosts and auth.login are rejected. |
auth.name | For header and query | string | The header or parameter that carries the key. A header name must be a valid header name and cannot be one the app reserves (Host, Cookie, Content-Type, Origin, Referer and similar). A query name is 1 to 64 letters, digits, _, . or -. |
auth.prefix | No | string. Default empty | Header only. Text put before the key, such as Bearer . Up to 16 printable ASCII characters. |
auth.hosts | Usually | array of 1 to 4 host names | The only hosts the key is ever sent to. Each must be the host of a URL in the profile. For a search profile with a key, it defaults to the host of search.url. A list profile with a key must give it. With auth.type none it is rejected. |
auth.help | No | string | A hint shown to the person, up to 200 characters, plain text. Say where to find the key. |
auth.login | No | object | Needs version 2 or 3. For services that give a short-lived token for a username and password. The app posts the username and password as JSON to login.url, reads the token at login.token in the reply, and sends it as Authorization: Bearer to the auth hosts. So auth.name cannot be Authorization when a login is used. |
auth.login.url | Yes | https URL, no placeholders | Its host must be in auth.hosts. |
auth.login.token | Yes | JSON path | Where the token is in the sign-in reply. |
auth.login.userField | No | string. Default username | The name the service expects for the username. Letters, digits and underscore, up to 32. |
auth.login.passField | No | string. Default password | The name the service expects for the password. Must differ from userField. |
search
| Field | Required | Type and default | Notes |
|---|---|---|---|
search.url | Yes | https URL template | Must contain {query} once, after the host. The person’s search words go there, encoded for you. |
search.results | No | JSON path. Default $ (the whole reply) | Where the list of results is. It may end in [*] to mean every item of an array. |
search.entry.id | Yes | JSON path | Inside one result: its id. |
search.entry.name | Yes | JSON path | Inside one result: its title. |
search.entry.altName | No | JSON path | A second title, such as a native-language title. |
search.entry.show | No | JSON path, or an array of up to 8 paths | Needs version 3. The series name. The first path that gives a non-blank text wins. Used to sort downloads into shows. |
search.entry.extra | No | object of up to 8 paths | Extra values to keep from a result. Keys start with a letter and use letters, digits and underscore, up to 32. |
files
| Field | Required | Type and default | Notes |
|---|---|---|---|
files.url | One of url or inline | https URL template | Lists a result’s files. Must contain {id} once, after the host: the chosen result’s id. Not allowed together with inline. |
files.inline | One of url or inline | JSON path | Needs version 2 or 3. Use when the search reply already lists each result’s files. The path is relative to each result and selects an array. Then leave out files.url, and do not set files.results. |
files.results | No | JSON path. Default $ | Where the list of files is in the files.url reply. May end in [*]. |
files.file.name | Yes | JSON path | Inside one file: its name. |
files.file.id | No | JSON path | Inside one file: its id, used as {fileId}. Set it when a download address or request needs it; if it is missing, the app uses a fallback. |
files.file.size | No | JSON path | Inside one file: its size in bytes. |
files.file.url | When download.mode is fileUrl | JSON path | Inside one file: its download address (an https URL). With files.inline, it is rejected in any other download mode. |
download
| Mode | What it does | Fields it needs |
|---|---|---|
fileUrl | The default. Each file in the list has its own https address, and the app fetches it. | files.file.url. Do not set download.url, download.body or download.link. |
template | The download address is built from a template. | download.url, an https template with {fileId} once, and optionally {entryId} (the result’s id). Not body or link. |
request | Two steps. The app sends a request to a download address, and the reply holds the real link. Needs version 2 or 3. | download.url ({fileId} and {entryId} allowed, neither required), download.body, an object of 1 to 8 fields sent as a JSON body, and download.link, the JSON path of the https link in the reply. In the profile, write each body value as a string of up to 100 characters, and make one value exactly {fileId}. A value that is exactly {fileId} or {entryId} is replaced. An id of 1 to 18 digits is sent as a JSON number, and any other id as a string, so check that the service accepts that type. Any other value is sent as a string, as written. Body field names use letters, digits and underscore, and cannot end in key, token, secret, password or passwd. |
URLs, placeholders and JSON paths
| Topic | Rule |
|---|---|
| URLs | Every address starts with https://, is at most 2048 characters, has no spaces, and has a path starting with / after the host. No port, no user name or password, no # fragment. The host is a plain DNS name of ASCII letters, digits, - and ., not an IP address and not a local name (such as .local or .lan). |
| Placeholders | In a URL, placeholders go in the path or query, never the host, and each appears at most once. {query} belongs to search.url, {id} to files.url, and {fileId} and {entryId} to download.url. auth.login.url and the file addresses in a fixed list take none. Any other name in a URL is rejected. Write {{ or }} for a literal brace in a URL. download.body is different. Several fields may each be exactly {fileId} or {entryId}. No other body value is treated as a placeholder or rejected for looking like one, so {unknown}, prefix-{fileId} and {{ import without a problem and reach the service unchanged. |
| JSON paths | Dotted names such as data.items or series.title, optional leading $, array indexes such as files[0], and quoted keys such as ["odd key"]. A name starts with a letter or underscore and then uses letters, digits, _ and -. [*] (every item of an array) is allowed only in search.results and files.results, and as the last step of files.inline, once per path. A path that finds nothing is treated as missing, not an error. |
| Limits at run time | The app reads up to 100 results and 500 files per search. A reply over 2 MB, or a download over 25 MB, is refused. The app follows up to 5 redirects. |
Fixed lists (kind list)
With "kind": "list", leave out search, files and download, and give list: an array of 1 to 500 entries. Each entry needs name (up to 200 characters) and files (at least one). Its optional fields are id (default: its position, up to 64 characters, no duplicates), altName (up to 200 characters) and show (version 3, plain text, up to 200 characters). Each file needs name (up to 255 characters) and url (an https address). Its optional field is size (a whole number of bytes, not negative). The list holds at most 2000 files. Use it only when the person has addresses to fixed files; it is rarely what they need.
Worked example 1: a header key and a file address in the reply
This is the example on the providers page. The key goes in the Authorization header, search returns a list, a second request lists the files, and each file has its own address.
{
"format": "ukiji-provider",
"version": 3,
"id": "example-subs",
"name": "Example Subs",
"auth": {
"type": "header",
"name": "Authorization",
"hosts": ["api.example.invalid"],
"help": "Key from your account page"
},
"search": {
"url": "https://api.example.invalid/v1/search?q={query}",
"results": "data.items",
"entry": {
"id": "id",
"name": "title",
"altName": "titles.native",
"show": "series.title"
}
},
"files": {
"url": "https://api.example.invalid/v1/items/{id}/files",
"file": {
"name": "name",
"size": "size",
"url": "url"
}
},
"download": {
"mode": "fileUrl"
},
"testQuery": "test"
}Worked example 2: sign-in, files inside the search reply, and a two-step download
Here the service gives a token for a username and password, the search reply already lists each result’s files, and a download needs a request first. The key goes in an Api-Key header, because Authorization is taken by the sign-in token. api.example.invalid is a made-up host.
{
"format": "ukiji-provider",
"version": 3,
"id": "example-login",
"name": "Example Login",
"auth": {
"type": "header",
"name": "Api-Key",
"hosts": ["api.example.invalid"],
"help": "Key from your account page",
"login": {
"url": "https://api.example.invalid/v1/login",
"token": "token",
"userField": "username",
"passField": "password"
}
},
"headers": {
"Accept": "application/json"
},
"search": {
"url": "https://api.example.invalid/v1/subtitles?query={query}",
"results": "data[*]",
"entry": {
"id": "id",
"name": "attributes.title",
"show": ["attributes.series", "attributes.title"]
}
},
"files": {
"inline": "attributes.files",
"file": {
"id": "file_id",
"name": "file_name",
"size": "size"
}
},
"download": {
"mode": "request",
"url": "https://api.example.invalid/v1/download",
"body": {
"file_id": "{fileId}"
},
"link": "link"
},
"testQuery": "test"
}Writing a subtitle file
You can write a subtitle file for the person if they give you the lines and the times. Write .srt for plain text, or .ass if they want colour, bold, italic or top placement. They save it to their phone and open it with Open file, or put it in their subtitle folder. Files over 20 MB are not opened.
.srt
Cues are a number, a time range in HH:MM:SS,mmm --> HH:MM:SS,mmm form (a comma or a dot before the milliseconds), then one or more text lines, then a blank line. A cue whose end is before its start is rejected. Styling tags such as <i>, <b>, <u> and <font> are removed, not shown, so do not rely on them in .srt.
1
00:00:01,000 --> 00:00:03,500
First line of the subtitles.
2
00:00:04,000 --> 00:00:06,250
Second line,
on two rows..ass
The app reads the [V4+ Styles] and [Events] sections. A Format line in [Events] is optional. Without one, each Dialogue line must use the field order in the example below. If you write one, put it before the Dialogue lines. It must include Start, End and Text, or the file is rejected. Write times as H:MM:SS.cc. These are kept:
- Bold, italic, underline and the primary colour, from the line’s style and from the override tags
\b,\i,\u,\cand\1c.\rresets to a style. - Top placement, from
\an7,\an8or\an9in the line, or a style with alignment 7, 8 or 9. Everything else is bottom. - Line breaks from
\Nand\n, and\has a space.
Everything else is dropped: fonts and sizes, outlines and shadows, positions, animation and karaoke. A line that draws shapes (\p1 or higher) is skipped. White text stays the app’s own default colour. Write .ass rather than .ssa, because styles are read from [V4+ Styles].
[Script Info]
ScriptType: v4.00+
[V4+ Styles]
Format: Name, Fontname, Fontsize, PrimaryColour, SecondaryColour, OutlineColour, BackColour, Bold, Italic, Underline, StrikeOut, ScaleX, ScaleY, Spacing, Angle, BorderStyle, Outline, Shadow, Alignment, MarginL, MarginR, MarginV, Encoding
Style: Default,Arial,20,&H00FFFFFF,&H000000FF,&H00000000,&H00000000,0,0,0,0,100,100,0,0,1,2,0,2,10,10,10,1
Style: Sign,Arial,20,&H0000FFFF,&H000000FF,&H00000000,&H00000000,-1,0,0,0,100,100,0,0,1,2,0,8,10,10,10,1
[Events]
Format: Layer, Start, End, Style, Name, MarginL, MarginR, MarginV, Effect, Text
Dialogue: 0,0:00:01.00,0:00:03.50,Default,,0,0,0,,First line, with {\i1}italic{\i0} words.
Dialogue: 0,0:00:04.00,0:00:06.25,Sign,,0,0,0,,A bold yellow line at the top.Troubleshooting
| Symptom | Likely cause | What to tell the person |
|---|---|---|
| Subtitles don’t appear over the video | Display over other apps is not allowed, or the overlay is minimized. | Open Setup, then Permissions, tap Allow next to Display over other apps. If the bottom button says Needs permission, it is still missing. If it says Minimized, tap it, or tap Show overlay in the notification. |
| Out of sync | The timing is off, or Sync is following another app. | Tap the handle, then More controls, and use −5 s, −0.5 s, +0.5 s or +5 s. Pause music or podcast apps, or choose video apps with Only show over chosen apps. If it still drifts, switch to Manual and tap This line under Line starts now when they hear that line. |
| Sync says it’s Waiting for video… and never starts | Auto-sync access is off, or nothing is playing in a listed app. | Setup, then Permissions, Auto-sync (optional), Open settings, and allow Real-time, the only type it needs (leave any others off). If Android says Restricted setting, open App info, the ⋮ menu, then Allow restricted settings (the item appears only after Android has shown the dialog once). Or use Manual. |
| Subtitles show over other apps, or don’t come back | Only show over chosen apps is off, or Usage access is missing. | Setup, then Playback and gestures: turn on Only show over chosen apps, tick the apps, and tap Grant usage access when asked. If they stay hidden on return, turn on Show automatically in … or tap Show overlay in the notification. |
| Tapping a word does nothing | No dictionary is imported (Word lookup is off). | Setup, then Dictionaries, Import a Yomitan .zip. This is not a Yomitan dictionary. means the file is the wrong kind. To move the subtitles without a lookup, drag the subtitles, or the handle if it is on. |
| No entry for a word | None of the dictionaries has that word form. | Try another dictionary for the language. The top one is searched first, so Move up and Move down reorder them. |
| A subtitle file won’t open | The file type isn’t supported, it’s too big, or the zip is damaged. | Only .srt, .ass, .ssa and .zip open, up to 20 MB. is not a subtitle file means the wrong type, is larger than 20 MB means too big, and That zip could not be opened means the archive is damaged. Try sharing the file to Ukiji instead, or put it in the subtitle folder. |
| Search is off | No provider is added. | Add a provider profile under Setup, then Providers. Then set its key, tap Test, and run a real search and download. |
| This profile has problems | The profile breaks a rule in the table above. | Read the listed fields, fix them in the JSON, and import again. Common causes: a missing format or version, a host in auth.hosts that no URL uses, a missing {query}, an address that is not https, or a field name the app doesn’t know. |
| Test fails: the provider rejected the key, or the sign-in | The key or sign-in is wrong, or the profile sends it the wrong way. | Check the key under Set key, and the username and password if there is a sign-in. Compare auth.type, auth.name and auth.prefix with the service’s docs. Never ask for the key in the chat. |
| Test fails: set a key first, could not reach the provider, or too many requests | No key saved, no connection, or the service is limiting requests. | Set the key, check the network, or wait and try again. The service decides its own limits, and a sign-in may raise them. |
| Test passes, but search finds nothing or the wrong things, no files are listed, or a download fails | Test runs only one search, so a JSON path, the files section or the download section can still be wrong. | Ask the person which step failed and what it says, and to paste a short sample reply from the service’s docs (with no key in it). Then correct search.results and the entry paths for search, files for the file list, or download and files.file.url for the download. |
| Already in deck or Anki add failed: | A note with that first field exists, or AnkiDroid isn’t set up. | Already in deck means a note with the same first field is there. For a failure, open Setup, then Anki, tap Grant, choose the note type again, and tap Send test card. |
Where to read more
- How to use Ukiji: the full walkthrough with screenshots.
- Help: answers to common questions and fixes.
- Providers: ready-made profiles to download, and the field reference.
- Privacy: exactly what the app does with data.
For anything not covered here, the person can write to [email protected].