maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   [Announce ] MovieSchedule - find movies at cinemas near your town (https://talk.maemo.org/showthread.php?t=59339)

gilead 2010-07-28 16:48

[Announce ] MovieSchedule - find movies at cinemas near your town
 
1 Attachment(s)
Hello,

I would like to present MovieSchedule, a browser for movies and cinemas based on Googles movie schedules.

Attachment 12555

(This screenshot uses the german localization. Of course the application uses English at its main language.)

MovieSchedule supports GPS, up to 5 favourite cities, adding a movie to calendar, googling for movies and cinemas and calling cinema by phone. I hope it is of some use for you.

The application can be installed from extras-devel repository only. It has no dependencies to anything that is not already installed in PR 1.2 but all warnings for every software in extras-devel applies.

Kindly regards, Jochen "gilead" Becher

casper27 2010-07-28 17:05

Re: [Announce ] MovieSchedule - find movies at cinemas near your town
 
Sweet just what i've been missing. Will give it a wirl when I eventually get my
N900 back from Nokia. Thanks

festivalnut 2010-07-28 17:05

Re: [Announce ] MovieSchedule - find movies at cinemas near your town
 
had already just installed this before seeing the release, looks quite good and is fast, however search seems very buggy. if i search for carlisle it seems to return hits for several us towns rather than carlisle, uk. fair enough, i search for carlisle, uk and it returns correct results for today but reverts to us listing from tomorrow on. and perhaps a search within 'n' miles of city would be useful also?

however still very good first impressions! :)

gilead 2010-07-28 17:19

Re: [Announce ] MovieSchedule - find movies at cinemas near your town
 
Quote:

Originally Posted by festivalnut (Post 768025)
had already just installed this before seeing the release, looks quite good and is fast, however search seems very buggy. if i search for carlisle it seems to return hits for several us towns rather than carlisle, uk. fair enough, i search for carlisle, uk and it returns correct results for today but reverts to us listing from tomorrow on. and perhaps a search within 'n' miles of city would be useful also?

however still very good first impressions! :)

Of course "carlisle" may be the name of several cities in the world. Searching for movies is totally based on Googles movie service. I have no control (or at least I do not know yet) about the exact city that is used when you just enter a city name.

In future I hope I find a way to a) present a list of possible cities that match the searched city name and b) make Google to return a list for that exact selected city. Some more research needed I assume...

I will see why it fails for the other days if you enter "Carlisle, UK".

This "n" mile thing is not easy AFAIK. I don't know about any possibility to tell Google about a maximum distance. I have not added routing or anything like this (so the software is already prepared for it but it seems there is no standard API for this yet). If I could calculate the distance between a cinema (from its address) and your current location I could implement that max. distance feature myself.

Regards, gilead

festivalnut 2010-07-28 17:37

Re: [Announce ] MovieSchedule - find movies at cinemas near your town
 
ahhh thanks! didn't mean to criticize as such, merely suggest improvements, i am extremely impressed with the speed of results returned, and since you've let me know some of the problems are down to google (i find google search in english almost always favours us cities, and since almost every scottish city has a us counterpart named after it i see it often!) i shall try to tweak my searches accordingl!

thanks again! :)

gilead 2010-07-28 17:41

Re: [Announce ] MovieSchedule - find movies at cinemas near your town
 
Hi festivalnut,

what happens if you try "Search Near"? The GPS coordinates are translated into a city name using Googles reverse geo mapping. I hope the returned city names are consistent with the city names the movie service expects (this works for Freiburg, my home town. But I didn't travel since I implemented that feature a few days ago so I didn't have much chance to try other locations).

hqh 2010-07-28 17:47

Re: [Announce ] MovieSchedule - find movies at cinemas near your town
 
seems to be working well here, thanks

gilead 2010-07-28 18:05

Re: [Announce ] MovieSchedule - find movies at cinemas near your town
 
Hi festivalnut,

I had a quick look on how your "Carlisle, UK" location behaves: The first page of schedules (for "Today") contains links to "Tomorrow" and the following week days. Those links contain "Carlisle" as location. So you are back in USA (Carlisle, PA).

I will note a TODO that I should try to interpret those links and replace the location given by Goggle with the location selected by the user. Hope that helps.

Regards, gilead

Edsal 2010-07-28 18:19

Re: [Announce ] MovieSchedule - find movies at cinemas near your town
 
i can't wait for it to go into the extras !

zombiepig 2010-07-28 23:00

Re: [Announce ] MovieSchedule - find movies at cinemas near your town
 
I was playing with this yesterday and it seems fantastic - I really like the extra touches like being able to directly call the cinema and add events to the calender. Thanks for a great app!

Here's a couple of suggestions I've got:
- Is it possible to add events to the main n900 calender rather then the private calender? I've got my main calender all synced up so it'd be great if movieschedule could play nicely with this.
- I can't work out how to see movies for a day other than today... is there a way of seeing what's on later in the week?

Apart from those two little things I'm loving it :)

hawaii 2010-07-29 03:26

Re: [Announce ] MovieSchedule - find movies at cinemas near your town
 
I wrote up a small post when I saw it his the repositories yesterday :D Awesome work. Dialing out isn't working for me, however.

http://www.knownokia.ca/2010/07/apps...-schedule.html

shepo73 2010-07-29 04:06

Re: [Announce ] MovieSchedule - find movies at cinemas near your town
 
Just tried it for the first time,everything seems to be working fine including dialling the cinema directly.Liked the idea of searching near town you input.Excellent app thanks gilead.

gilead 2010-07-29 06:18

Re: [Announce ] MovieSchedule - find movies at cinemas near your town
 
Quote:

Originally Posted by zombiepig (Post 768484)
I was playing with this yesterday and it seems fantastic - I really like the extra touches like being able to directly call the cinema and add events to the calender. Thanks for a great app!

Here's a couple of suggestions I've got:
- Is it possible to add events to the main n900 calender rather then the private calender? I've got my main calender all synced up so it'd be great if movieschedule could play nicely with this.
- I can't work out how to see movies for a day other than today... is there a way of seeing what's on later in the week?

Apart from those two little things I'm loving it :)

Currently there is no possibility to choose the calendar. I will add a TODO to add some configuirabilty for it.

All data directly comes from the Google movie service and the software tires to present all data from it. But for some reason I do not know the information differes for different countries and cities. Usually up to 4 days are shown for each theater or movie. But this may be different for your location. Which city where you searching for? I will have a look what Google returns for it.

Regards, Jochen

gilead 2010-07-29 06:23

Re: [Announce ] MovieSchedule - find movies at cinemas near your town
 
Quote:

Originally Posted by hawaii (Post 768644)
I wrote up a small post when I saw it his the repositories yesterday :D Awesome work. Dialing out isn't working for me, however.

http://www.knownokia.ca/2010/07/apps...-schedule.html

Thank you for that post.

One reason why a phone call may fail could be that my code translating a phone number from the google results into one that can be used by N900 is not fully correct. Did you try with different locations and theaters? Please send me your location and theater name. I will try myself.

Regards, gilead

zombiepig 2010-07-29 07:54

Re: [Announce ] MovieSchedule - find movies at cinemas near your town
 
Quote:

Originally Posted by gilead (Post 768748)
All data directly comes from the Google movie service and the software tires to present all data from it. But for some reason I do not know the information differes for different countries and cities. Usually up to 4 days are shown for each theater or movie. But this may be different for your location. Which city where you searching for? I will have a look what Google returns for it.

I'm not sure what was happening now. I had a look on the google service for my city (Melbourne, Australia), and saw it returned 4 days of results. Then I tried MovieSchedule again and it's correctly pulling all 4 days in. :rolleyes: I wouldn't worry about this, it was probably a connection problem or something.

hawaii 2010-07-29 17:10

Re: [Announce ] MovieSchedule - find movies at cinemas near your town
 
@gilead; doesn't seems to work with any location and any theater I put in. What's the call you're using to initiate an outgoing dial?

gilead 2010-07-29 18:01

Re: [Announce ] MovieSchedule - find movies at cinemas near your town
 
Quote:

Originally Posted by hawaii (Post 769411)
@gilead; doesn't seems to work with any location and any theater I put in. What's the call you're using to initiate an outgoing dial?

I use:


if (!QDBusConnection::systemBus().isConnected()) {
ShowError(tr("Unable to call theater by phone: communication bus not available."));
return;
}
QDBusInterface iface("com.nokia.csd.Call", "/com/nokia/csd/call", "com.nokia.csd.Call", QDBusConnection::systemBus());
if (!iface.isValid()) {
ShowError(tr("Unable to call theater by phone: phone service not available."));
return;
}
QString phone_number = TrimPhoneNumber(cinema.GetTelephone());
QDBusReply<QDBusObjectPath> reply = iface.call("CreateWith", phone_number, 0);
if (!reply.isValid()) {
std::cout << qPrintable(reply.error().message()) << ": <" << qPrintable(phone_number) << ">" << std::endl;
ShowError(tr("Unable to call theater by phone: call failed."));
return;
}

The last call (iface.call) is failing for you. I don't know why - I assume TrimPhoneNumber() does not the right thing. Please send me some locations and theater names you tried. I would like to see if the phone numbers are correctly trimmed.

Regards, Jochen

gilead 2010-07-29 18:12

Re: [Announce ] MovieSchedule - find movies at cinemas near your town
 
@hawaii: you may also start the application from the terminal. Then send me a quote of the console output - failing phone calls should print some error message and the trimmed phone number (as you see I do not trust this feature yet, so I left this debugging output for now).

bioman 2010-07-29 18:45

Re: [Announce ] MovieSchedule - find movies at cinemas near your town
 
Great app!!!

I can't call a theater (fyi: I am based in Toronto - Canada): I get the error message "Unable to call theater by phone: call failed".

One very minor issue: how to delete misspelled locations in the location list. E.g. I have now "Toro" and "Toronto" in the list. How to delete "Toro"?

DaSilva 2010-07-29 19:14

Re: [Announce ] MovieSchedule - find movies at cinemas near your town
 
Great application so far!
I have already added one feature request to the Garage: https://garage.maemo.org/tracker/ind...1781&atid=6213
Is it possible to add this?

gilead 2010-07-29 20:45

Re: [Announce ] MovieSchedule - find movies at cinemas near your town
 
Quote:

Originally Posted by bioman (Post 769488)
Great app!!!

I can't call a theater (fyi: I am based in Toronto - Canada): I get the error message "Unable to call theater by phone: call failed".

One very minor issue: how to delete misspelled locations in the location list. E.g. I have now "Toro" and "Toronto" in the list. How to delete "Toro"?

OK, this phone call feature really seems to have some problems still. Did you try some Cinemas from Toronto, Canada which fails?

Sorry, you cannot delete cities from the list. You always see the last 5 cities you searched for. So one day "Toro" may vanish from the list because you searched for other countries. This is not a perfect way to select favourites but it is very easy for the user. I tried to avoid having a complex settings dialog here...

Regards, Jochen

gilead 2010-07-29 20:50

Re: [Announce ] MovieSchedule - find movies at cinemas near your town
 
Quote:

Originally Posted by DaSilva (Post 769528)
Great application so far!
I have already added one feature request to the Garage: https://garage.maemo.org/tracker/ind...1781&atid=6213
Is it possible to add this?

Of course I can add the end-time of the cinema (duration is already displayed).

IMDb is more difficult. Google's movie database does not have that many information about the movies. Sometimes there is a link to a trailer on youtube; I will provide some use of that in the future.

Maybe I will add more search possibilities (currently it searchs in google.com only) like IMDb. I have to see how stable that works.

DaSilva 2010-07-29 21:13

Re: [Announce ] MovieSchedule - find movies at cinemas near your town
 
Maybe some of the following links are helpful for that!?

http://www.imdb.com/interfaces
http://projects.izzysoft.de/trac/imdbphp
http://code.google.com/p/imdb-api/
http://www.pedrocorreia.net/mySnippe...alled-IMDB-API

bioman 2010-07-30 00:16

Re: [Announce ] MovieSchedule - find movies at cinemas near your town
 
Quote:

Originally Posted by gilead (Post 769631)
OK, this phone call feature really seems to have some problems still. Did you try some Cinemas from Toronto, Canada which fails?

Thanks for the very fast reply!!

yeah, I tried to call several cinemas in & around the so-called Greater Toronto Area, but none works.

gilead 2010-07-30 06:50

Re: [Announce ] MovieSchedule - find movies at cinemas near your town
 
Quote:

Originally Posted by bioman (Post 769754)
Thanks for the very fast reply!!

yeah, I tried to call several cinemas in & around the so-called Greater Toronto Area, but none works.

As I assumed there is a bug in trimming phone numbers: hyphens were not removed from the phone number. I fixed this and the next release should work.

hawaii 2010-08-10 00:41

Re: [Announce ] MovieSchedule - find movies at cinemas near your town
 
New package works. Is it possible for you to automagically add +1 to the string before dialing? It'll complete a long distance call without a prompt - if it's long distance, and if it's not, it's a local call and no charges are applicable on most carriers.

Thanks.

NokiaRocks 2010-08-10 00:57

Re: [Announce ] MovieSchedule - find movies at cinemas near your town
 
Very cool and useful app.
Keep up the good work !

gilead 2010-08-10 06:46

Re: [Announce ] MovieSchedule - find movies at cinemas near your town
 
Quote:

Originally Posted by hawaii (Post 780965)
New package works. Is it possible for you to automagically add +1 to the string before dialing? It'll complete a long distance call without a prompt - if it's long distance, and if it's not, it's a local call and no charges are applicable on most carriers.

Thanks.

I will track it as an software improvement - this is one of the requests that definitely need some configurability (as this +1 is not correct or the same for all countries) and I have not yet decided how to handle this. I would like to keep this app very simple.

hawaii 2010-08-10 13:42

Re: [Announce ] MovieSchedule - find movies at cinemas near your town
 
Quote:

Originally Posted by gilead (Post 781165)
I will track it as an software improvement - this is one of the requests that definitely need some configurability (as this +1 is not correct or the same for all countries) and I have not yet decided how to handle this. I would like to keep this app very simple.

Ah yes, this is true. It's only North America that uses that prefix. Thanks for considering. Possibly dependent on the location being used/searched, it can be prefixed accordingly.

hschmitt 2010-08-11 18:51

Re: [Announce ] MovieSchedule - find movies at cinemas near your town
 
Hi the bugtracker link for your package is wrong. I had to vote it down although the app is really nice.

traysh 2010-08-18 21:32

Re: [Announce ] MovieSchedule - find movies at cinemas near your town
 
1 Attachment(s)
hey Gilead,
nice app, congrats!

I'd like to suggest rotation support, take a look at the attached picture.

gilead 2010-08-19 06:13

Re: [Announce ] MovieSchedule - find movies at cinemas near your town
 
Hi traysh,

how did you manage to rotate it? From tests with Qt Simulator I know the layout more or less works in portrait also but I have not implement any code to rotate it. As you see the city name ("Sao paolo") should be moved a little bit more to the right.

What are all these "(0" at the end of the the cinema's addresses. Truncated telephone numbers? Is this from Google's data, a bug in my parsing code or from rotating the screen? I will have a look...

Regards, Jochen

traysh 2010-08-19 16:26

Re: [Announce ] MovieSchedule - find movies at cinemas near your town
 
Quote:

Originally Posted by gilead (Post 791375)
Hi traysh,

how did you manage to rotate it? From tests with Qt Simulator I know the layout more or less works in portrait also but I have not implement any code to rotate it. As you see the city name ("Sao paolo") should be moved a little bit more to the right.

What are all these "(0" at the end of the the cinema's addresses. Truncated telephone numbers? Is this from Google's data, a bug in my parsing code or from rotating the screen? I will have a look...

Regards, Jochen

I used the rotate shortcut present in PR1.2, it rotates any application: ctrl + shift + r -> close de keyboard. Then the program will autodetect the orientation.

The 0s are the phone numbers, if I try to "Call Theater By Phone" it will dial 0. Not sure it's a problem in the code, might Google doesn't know the right numbers.

Is your app open source? If so, how do I download the code? Is it possible to localize it? Might I will translate it to pt_BR.

gilead 2010-08-19 19:53

Re: [Announce ] MovieSchedule - find movies at cinemas near your town
 
The software is licensed under GPL3 (as you see in the About dialog). You find the source in Maemo Garage (project MovieSchedule with git repository).

You can use the QtTranslator to translate all strings. A german translation is already present. You may copy your translation to /opt/maemo/usr/share/movie-schedule/translations/ on your N900 to test it. If you send me the translation I will add it to the next release (How can I release new translations without going through this testing process again and again?)

I used the rotation shortcut, thanks for the tip. If I add support for rotation I need to fix the calculation of the vertical texts and the layout of the About dialog.

hawaii 2010-08-19 20:16

Re: [Announce ] MovieSchedule - find movies at cinemas near your town
 
Autorotation would be schweet.

Nice work here. Keep up the good work!

johnny_knoe 2010-09-02 07:46

Re: [Announce ] MovieSchedule - find movies at cinemas near your town
 
MovieSchedule is really great. What about another project called TVSchedule? :)

xtian 2010-09-02 07:51

Re: [Announce ] MovieSchedule - find movies at cinemas near your town
 
Love this app. I just deleted Yahoo! Movies from my bookmark :P


All times are GMT. The time now is 13:16.

vBulletin® Version 3.8.8