תמיכת The Movie Database

We are having problems in XBMC/Kodi that the API returns additional garbage to Actors names.

http://api.tmdb.org/3/movie/3170/casts?api_key=57983e31fb435df4df77afb854740ea9

See: {"credit_id":"52fe438cc3a36847f805caf3","department":"Writing","id":148822,"job":"Storyboard","name":"Ralph Wright\t","profile_path":null},

"Ralph Wright\t"

The extra \t causes a tab being doing in the text field. We have found this case but there may be more.

Regards, Martijn Team-Kodi

4 תגובות (בדף 1 מתוך 1)

Jump to last post

Hi Martijn,

Thanks for pointing this out. I'll make sure we're properly sanitizing these inputs. It's likely that we are now but on older records like this, we possibly weren't years ago when they were originally added.

Thanks!

Is there a possibility of fixing the current data?

I just tested name: "Ralph Wright ", and it is indeed still a tab at the end.

EDIT: maybe this http://lists.mysql.com/mysql/195303

We don't use MySQL, but yes, it's possible to do a bulk cleanup. It will be part of the fix for this ticket.

I'm unlikely to find time this week for this, but I have created a ticket for this and will look into it when I get some time.

thx. Let me know when you did the clean up. We'll do an additional cleanup on user's side for existing installations.

.לא מצאת סרט או סדרה? היכנס כדי ליצור אותם

עולמי

s התמקד בשורת החיפוש
p פתח תפריט פרופיל
esc סגור חלון פתוח
? פתח חלון קיצורי דרך של מקלדת

בדפי מדיה

b לך חזרה (או אל הורה אם ישים)
e לך אל דף עריכה

בדפי עונות

(חץ ימני) לך אל העונה הבאה
(חץ שמאלי) לך אל העונה הקודמת

בדפי סדרות

(חץ ימני) לך אל הפרק הבא
(חץ שמאלי) לך אל הפרק הקודם

בכל דפי תמונה

a פתח חלון הוספת תמונה

בכל דפי עריכה

t פתח בוחר תרגום
ctrl+ s הגש טופס

בדפי דיון

n צור דיון חדש
w עורר מעמד צפייה
p עורר ציבורי/פרטי
c עורר סגירה/פתיחה
a פתח פעילות
r השב אל דיון
l לך אל תשובה אחרונה
ctrl+ enter הגש את הודעתך
(חץ ימני) הדף הבא
(חץ שמאלי) הדף הקודם

הגדרות

?רוצה לדרג או להוסיף פריט אל רשימה

היכנס