[tellico] [Bug 384547] New: IMDB rating are sorted incorrectly and not integer rating values are not shown (no stars shown)

2017-09-10 Thread Alessandro Russo
https://bugs.kde.org/show_bug.cgi?id=384547

Bug ID: 384547
   Summary: IMDB rating are sorted incorrectly and not integer
rating values are not shown (no stars shown)
   Product: tellico
   Version: 3.0.2
  Platform: Other
OS: Linux
Status: UNCONFIRMED
  Severity: normal
  Priority: NOR
 Component: general
  Assignee: ro...@periapsis.org
  Reporter: axel...@yahoo.it
  Target Milestone: ---

I've a collection of films, I'm showing in the right table the column "IMDB
Rating". Several rows are missing the stars, if I hover the mouse pointer on
the IMDB cell it show a tooltip with the rating but no stars are shown. This
happens with all not integer ratings (ie 6.5 7.9, this works for all integer
rating 8.0, 7.0).
If I choose to order by IMDB rating by clicking on the cell "IMDB Rating" the
rows are only roughly ordered by the rating.
This is an example:
6
6
5.7
5
5.4
6.4
6
5.8
5
6
5.1
4.7
4.2
7

I think this my be related to the changes made for fixing this
https://bugs.kde.org/show_bug.cgi?id=372560

-- 
You are receiving this mail because:
You are watching all bug changes.

[tellico] [Bug 401894] IMBD Rating not parsed from IMBD website

2018-12-23 Thread Alessandro Russo
https://bugs.kde.org/show_bug.cgi?id=401894

--- Comment #2 from Alessandro Russo  ---
Sorry, I replied to the email but didn't add a comment on bugs.kde.org.
I'll do it now.

Yes, it's set.

I tried to debug a bit the problem.
I wrote the following lines after "bool ok;" (the line 1117 of imdbfetcher.cpp)

  myWarning() << ratingRx.cap(1) <<"\n";
  myWarning() << ratingRx.cap(1).toFloat() <<"\n";

And for the film Mission Impossible Fallot (
https://www.imdb.com/title/tt4912910/?ref_=nv_sr_1 ) I get:

"7,9"
0

I don't know why the number is 7,9 instead of 7.9. When I go directly to the
imdb webpage I see only 7.9
Can this be a locale problem? My locale is set to italian/italy and here the
numbers are written with the comma (7.9 -> 7,9)

For the moment I fixed it with:
  QLocale italian(QLocale::Italian);
  float value = italian.toFloat(ratingRx.cap(1),&ok);

-- 
You are receiving this mail because:
You are watching all bug changes.

[tellico] [Bug 401894] New: IMBD Rating not parsed from IMBD website

2018-12-08 Thread Alessandro Russo
https://bugs.kde.org/show_bug.cgi?id=401894

Bug ID: 401894
   Summary: IMBD Rating not parsed from IMBD website
   Product: tellico
   Version: 3.1.3
  Platform: Other
OS: Linux
Status: REPORTED
  Severity: normal
  Priority: NOR
 Component: general
  Assignee: ro...@periapsis.org
  Reporter: axel...@yahoo.it
  Target Milestone: ---

SUMMARY


STEPS TO REPRODUCE
1. Search a film on IMBD
2. Select one result
3. Add element. In the database the IMDB rating field remains empty

OBSERVED RESULT


EXPECTED RESULT


SOFTWARE/OS VERSIONS
Windows: 
MacOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION

-- 
You are receiving this mail because:
You are watching all bug changes.

[tellico] [Bug 384547] New: IMDB rating are sorted incorrectly and not integer rating values are not shown (no stars shown)

2017-09-10 Thread Alessandro Russo
https://bugs.kde.org/show_bug.cgi?id=384547

Bug ID: 384547
   Summary: IMDB rating are sorted incorrectly and not integer
rating values are not shown (no stars shown)
   Product: tellico
   Version: 3.0.2
  Platform: Other
OS: Linux
Status: UNCONFIRMED
  Severity: normal
  Priority: NOR
 Component: general
  Assignee: ro...@periapsis.org
  Reporter: axel...@yahoo.it
  Target Milestone: ---

I've a collection of films, I'm showing in the right table the column "IMDB
Rating". Several rows are missing the stars, if I hover the mouse pointer on
the IMDB cell it show a tooltip with the rating but no stars are shown. This
happens with all not integer ratings (ie 6.5 7.9, this works for all integer
rating 8.0, 7.0).
If I choose to order by IMDB rating by clicking on the cell "IMDB Rating" the
rows are only roughly ordered by the rating.
This is an example:
6
6
5.7
5
5.4
6.4
6
5.8
5
6
5.1
4.7
4.2
7

I think this my be related to the changes made for fixing this
https://bugs.kde.org/show_bug.cgi?id=372560

-- 
You are receiving this mail because:
You are watching all bug changes.